I am using binance-api-node javascript library for binance api to trade on isolated margin account.
When I call “marginOpenOrders” function, it always returns open orders of cross margin account.
How can I get open orders(Limit orders) of isolated margin account?
https://binance-docs.github.io/apidocs/spot/en/#query-margin-account-39-s-open-orders-user_data
Take note that there is a isIsolated
field to indicate the margin type. Check the source code of this library and see if there is a default value for it if it is not set.