Response
Field Name | Simplified Format (format: SIMPLE) | Description | Type | Value | |
---|---|---|---|---|---|
type | ty | Type | String | myTrade | |
code | cd | Market code (ex. KRW-BTC) | String | ||
ask_bid | ab | Order type | String | ASK BID | |
price | p | Traded price | Double | ||
volume | v | Traded volume | Double | ||
order_uuid | ouid | Unique ID of the order | String | ||
order_type | ot | Type of the order | String | limit : Limit order price : Market buy order market : Market sell price | |
trade_uuid | tuid | Unique ID of the transaction | String | ||
trade_timestamp | ttms | Transaction timestamp (millisecond) | Long | ||
stream_type | st | Stream | String | REALTIME |
Example
Request
ex 1. To get all market information (not specify codes
field)
[
{
"ticket": "test"
},
{
"type": "myTrade"
}
]
ex 2. To get all market information (empty array in codes
)
[
{
"ticket": "test"
},
{
"type": "myTrade",
"codes": []
}
]
ex 3. To get specific market information
[
{
"ticket": "test"
},
{
"type": "myTrade",
"codes": ["KRW-BTC"]
}
]
Response
{
"type": "myTrade",
"code": "KRW-BTC",
"ask_bid": "BID",
"price": 55660000,
"volume": 0.5389867,
"order_uuid": "e5cec6f9-6a15-4c95-ae76-6d7dcb3a00e0",
"order_type": "price",
"trade_uuid": "cd955522-c9d8-4f06-b86d-54a09a25e707",
"trade_timestamp": 1677487182655,
"stream_type": "REALTIME"
}