본문 바로가기
카테고리 없음

암호화폐 . 게이트아이오 . API . 현물 . 체결 데이터 확보

by i.got.it 2022. 8. 7.

 

 

요청주소 

 

 

GET /spot/trades

 

 

full url :  https://api.gateio.ws/api/v4/spot/trades

 

 

BTC_USDT 최신 체결데이터 요청  예. 

- 인자 limit 지정하지 않으면 최신 30개 반환됨. limit 에 지정가능한 최대 수량 1000 

https://api.gateio.ws/api/v4/spot/trades?currency_pair=BTC_USDT 

 

BTC_USDT 요청 최신체결데이터 1개 요청 예.

https://api.gateio.ws/api/v4/spot/trades?currency_pair=BTC_USDT&limit=1

 

 

요청인자

 

Name In Type Required Description
currency_pair query string true Currency pair
limit query integer false Maximum number of records to be returned in a single list
last_id query string false Specify list staring point using the id of last record in previous list-query results
reverse query boolean false Whether the id of records to be retrieved should be less than the last_id specified. Default to false.
from query integer
(int64)
false Start timestamp of the query
to query integer
(int64)
false Time range ending, default to current time
page query integer false Page number

 

 

 

응답데이터

 


[
  {
    "id": "1232893232",
    "create_time": "1548000000",
    "create_time_ms": "1548000000123.456",// 실제 수신데이터는 소수점이하 6자리 1548000000123.456000 마지막 3개는 항상 0
    "order_id": "4128442423",
    "side": "buy",
    "role": "maker",
    "amount": "0.15",
    "price": "0.03",
    "fee": "0.0005",
    "fee_currency": "ETH",
    "point_fee": "0",
    "gt_fee": "0"
  }
]

 

 

 

 

상위 정리 

 

 

암호화폐. gate.io API 활용모음

API 주소정리 암호화폐 . 게이트아이오. API . 개요 . 주소 정리. 예제소스 게이트아이오 API 개요. - 암호화폐 거래소 게이트아이오 (gate.io) 에서 제공하는 API - 게이트아이오 거래소의 전체 종목(아

igotit.tistory.com

 


첫 등록 : 2022.08.07

최종 수정 : 2022.08.17

단축 주소 : https://igotit.tistory.com/3736


 

댓글



 

비트코인




암호화폐       외환/나스닥/골드       암호화폐/외환/나스닥/골드 암호화폐/외환/나스닥/골드   암호화폐/외환/나스닥/골드
     
현물 |선물 인버스 |선물 USDT       전략매니저(카피트레이딩)     롤오버 이자 없는 스왑프리계좌
( 스왑프리 암호화폐도 거래 가능 )    
MT4, MT5 , cTrader 모두 지원     FTMO 계좌 매매운용. MT4,MT5