Query Position History

Query historical position records.

When startTime is empty, it defaults to 7 days before the current time.

startTime cannot be earlier than 90 days ago and cannot be later than the current time.

When endTime is empty, it defaults to 7 days after startTime.

endTime cannot be earlier than startTime, and the interval between startTime and endTime cannot exceed 7 days.

endTime cannot be later than the current time.

Default 50 items, max 100 items.

Query Params
string

Trading pair

boolean

Whether to use isolated margin

int64

Start time. When empty, defaults to 7 days before current time, cannot be earlier than 90 days ago

int64

End time. When empty, defaults to 7 days after startTime, interval with startTime not exceeding 7 days

int64

Returns executions prior to this posId.

integer

Number of results to return, default 50, max 100

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json