public interface FillAPI
| 限定符和类型 | 方法和说明 |
|---|---|
Pagination<TradeResponse> |
listFills(String symbol,
String orderId,
String side,
String type,
String tradeType,
Long startAt,
Long endAt,
int pageSize,
int currentPage)
Get a list of recent fills.
|
HFTradeResponse |
queryHFTrades(String symbol,
String orderId,
String side,
String type,
Long startAt,
Long endAt,
Long lastId,
Integer limit)
This endpoint can be used to obtain a list of the latest HF transaction details.
|
List<TradeResponse> |
queryLimitFillsList()
Request via this endpoint to get a list of 1000 fills in the last 24 hours.
|
Pagination<TradeResponse> |
queryLimitFillsPageList(int pageSize,
int currentPage)
已过时。
|
Pagination<TradeResponse> listFills(String symbol, String orderId, String side, String type, String tradeType, Long startAt, Long endAt, int pageSize, int currentPage) throws IOException
symbol - [optional] Limit list of fills to this orderIdorderId - [optional] Limit list of fills to this orderIdside - [optional] buy or selltype - [optional] limit, market, limit_stop or market_stoptradeType - TRADE, MARGIN_TRADEstartAt - [optional] Start time. unix timestamp calculated in milliseconds, the creation time queried shall posterior to the start time.endAt - [optional] End time. unix timestamp calculated in milliseconds, the creation time queried shall prior to the end time.pageSize - currentPage - IOException@Deprecated Pagination<TradeResponse> queryLimitFillsPageList(int pageSize, int currentPage) throws IOException
pageSize - currentPage - IOExceptionList<TradeResponse> queryLimitFillsList() throws IOException
IOExceptionHFTradeResponse queryHFTrades(String symbol, String orderId, String side, String type, Long startAt, Long endAt, Long lastId, Integer limit) throws IOException
symbol - Only returns order information for the specified trading pairorderId - [optional] Look up the transaction details pertaining to the order id(IforderId is specified,please ignore the other query parameters)side - [optional] buy(Buy) or sell(Sell)type - [optional] Order type: limit(limit order), market(market order)startAt - [optional] Start time(ms),puts a restriction on the transaction(creation) time for the transaction recordsendAt - [optional] End time(ms),puts a restriction on the transaction(creation) time of the transaction recordslastId - [optional] The id of the last data item from the previous batch, defaults to obtaining the latest datalimit - [optional] Default100,maximum 200IOExceptionCopyright © 2023. All rights reserved.