Response

필드명
축약형 (format: SIMPLE)
내용
타입
typety타입StringmyTrade : 내 체결
codecd마켓 코드 (ex. KRW-BTC)String
ask_bidab매수/매도 구분StringASK : 매도
BID : 매수
pricep체결 가격Double
volumev체결량Double
order_uuidouid주문의 고유 아이디String
order_typeot주문 타입String
trade_uuidtuid체결의 고유 아이디String
trade_timestampttms체결 타임스탬프 (millisecond)Long
stream_typest스트림 타입StringREALTIME : 실시간

Example

Request

예제 1. 모든 마켓 정보 수신 (codes 필드 제외)

[
  {
    "ticket": "test"
  },
  {
    "type": "myTrade"
  }
]

예제 2. 모든 마켓 정보 수신 (codes 에 빈 배열)

[
  {
    "ticket": "test"
  },
  {
    "type": "myTrade",
    "codes": []
  }
]

예제 3. 특정 마켓 정보 수신

[
  {
    "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"
}