There is an endpoint - Binance API Documentation - is there a nodejs example for this using Binance connector - GitHub - binance/binance-connector-node: A simple connector to Binance Public API
Solution - /**
- Query Isolated Margin Account Info (USER_DATA)
- GET /sapi/v1/margin/isolated/account
- {@link Binance API Documentation}
- @param {object} [options]
- @param {string} [options.symbols] - Max 5 symbols can be sent; separated by “,”. e.g. “BTCUSDT,BNBUSDT,ADAUSDT”
-
@param {number} [options.recvWindow] - No more than 60000
*/
isolatedMarginAccountInfo (options = {}) {
return this.signRequest(
‘GET’,
‘/sapi/v1/margin/isolated/account’,
options
)
}
binance-connector-node/margin.js at master · binance/binance-connector-node · GitHub