API Reference

Create History Data Export

Request

Field nameTypeNecessaryRemarks
exportTypeIntYExport type(1-History Order,3-History Position)
startTimeStringYExport data start time(millisecond timestamp)
endTimeStringYExport data end time(millisecond timestamp)
exchangeTypeStringNDefault export all exchange data, the string supports multiple exchanges, separated by commas.Like "BINANCE,OKX"
businessTypeStringNDefault export all business data, the string supports multiple businessTypes, separated by commas.Like "SPOT,MARGIN,PERP"
isFilterCancelIntN0-All Data, 1-Filtering orders with no quantity filled, Effective only when exporting order data. Default export all orders.

Response


FieldTypeRemark
exportIdIntHistory Data Export ID
portfolioIdStringPortfolio ID
exportTypeStringExport type(1-History Order,3-History Position)
exchangeTypeStringExchange type(BINANCE,OKX)
businessTypeStringBusiness type(SPOT,MARGIN,PERP)
orderStateStringPlease see ENUM Definitions for supported values.
startTimeLongExport data start time(millisecond timestamp)
endTimeLongExport data start time(millisecond timestamp)
isFilterCancelInt0-All Data, 1-Filtering orders with no quantity filled, Effective only when exporting order data. Default export all orders.
downloadUrlStringdownload url
statusInt
createAtLongCreate data time(millisecond timestamp)
updateAtLongUpdate data time(millisecond timestamp)
Language
Credentials
OAuth2