Closed morakispapk closed 8 months ago
changeMarginType.js example file (https://github.com/binance/binance-futures-connector-node/blob/main/examples/um_futures/account/changeMarginType.js)
function changeMarginType() should be used
function changeInitialLeverage() is used instead
https://github.com/binance/binance-futures-connector-node/blob/main/examples/um_futures/account/changeMarginType.js
Issue subject
changeMarginType.js example file (https://github.com/binance/binance-futures-connector-node/blob/main/examples/um_futures/account/changeMarginType.js)
Expected behaviour
function changeMarginType() should be used
Actual behaviour
function changeInitialLeverage() is used instead
Steps to reproduce
https://github.com/binance/binance-futures-connector-node/blob/main/examples/um_futures/account/changeMarginType.js
Environment