A few questions for margin…
- Whats the real meaning of the margin user stream? Where can it be used ? For the spot user stream you use the listenkey to subscribe on data updates like orderUpdate, accountBalanceUpdate etc.
- Lets say I want to open a crossed margin sell position, margin account has zero balance and I want to avoid calling the api to transfer money. Can I send the order with sideEffect = marginBuy ? If e.g. quoteQty ise 5k then it will auto borrow 5k ? And what will be the leverage or those 5k will be the actual leverage ?
- Lets say I opened the above sell position. How to we close it ? By sending the opposite side e.g. buy, that orders quantity and if I want auto repay then I send sideEffect = auto repay ?