I think I moved to next step. I’m getting used to spot orders. But now working on getting used to margin trading.
So I was using ‘python-binance’ library but there isn’t any specifically described about margin trading like spot trading. Can anyone guide me how could I use ‘python-binance’ for margin trading.
Here’s the link of documentation of 'python-binance’library : https://python-binance.readthedocs.io/en/latest/margin.html
That’s just a limit order, can’t I place OCO. And there isn’t any option to retrieve margin wallet balance of specific coin. And one more thing is, can’t I ‘borrow funds’ at the time of order execution or I’ve to do it separately ?
Margin OCO is not support from API yet.
it’s only allowed to get one symbol balance for isolated margin, for cross margin, it only returns all assets.
You can borrow during placing margin order, sideEffectType=MARGIN_BUY