Open ioogle opened 3 years ago
We have listFuturesLiquidates API to retrieve liquidation history. Don't know if this works for you.
It should work, but not so straightforward. Here is my solution:
Another problem is that it's hard to get all of the liquidations since there is no paging mechanism in Retrieve liquidation history API. In the case that we don't get all liquidations, some records in the user account book won't be converted to "liquidation".
In the API Query account book the liquidation records are count as "pnl" type, is it possible to add a type named "liquidation"?