跳到主要内容

Historical Data

危险

Poloniex Futures v2 API It will gradually go offline later, and you can access the V3 API to provide you with a better trading experience.

Transaction History

List the last 100 trades for a symbol.

HTTP Request

GET https://futures-api.poloniex.com/api/v1/trade/history

Example

GET https://futures-api.poloniex.com/api/v1/trade/history?symbol=BTCUSDTPERP

Parameters

ParamTypeDescription
symbolStringSymbol of the contract

Description

SIDE The trade side indicates the taker order side. A taker order is the order that was matched with orders opened on the order book.

Example:
  {
"code": "200000",
"data": {
"sequence": 102, //Sequence number
"tradeId": "5cbd7377a6ffab0c7ba98b26", //Transaction ID
"takerOrderId": "5cbd7377a6ffab0c7ba98b27", //Taker order ID
"makerOrderId": "5cbd7377a6ffab0c7ba98b28", //Maker order ID
"price": "7000.0", //Filled price
"size": 1, //Filled quantity
"side": "buy", //Side-taker "ts": 1545904567062140823 //Filled time - nanosecond
}
}