I’m trying to fetch a number of cross and iso margin data, e.g. trades, borrows, interests.
I’m aiming to fetch all data in these categores, i.e. I don’t have specific assets/symbols.
I have no trouble with cross margin.
For some endpoints I pass asset
to fetch cross data. That’s fine, I can iterate over an array of assets. However, most of the endpoints require assets AND isolatedSymbol
for iso data.
It’s a string, I suppose in this format: ‘BTCUSDT’ but how does that relate to the asset
param I’m already passing?
How can I fetch all iso margin borrow and repay history for example?
This is the endpoints I’m using:
/sapi/v1/margin/loan
/sapi/v1/margin/repay