List closed positions history

GET

Get all positions owned by current user

Query parameters

cursorstringOptional

Returns the ‘next’ paginated page.

end_atintegerOptional

End Time (unix time millisecond)

marketstringOptional
page_sizeintegerOptional>=1<=5000Defaults to 100

Limit the number of responses in the page

sideenumOptional
Allowed values: LONGSHORT
start_atintegerOptional

Start Time (unix time millisecond)

Response

OK

nextstringOptional

The pointer to fetch next set of records (null if there are no records left)

prevstringOptional

The pointer to fetch previous set of records (null if there are no records left)

resultslist of objectsOptional
Built with