MultiversX Tracker is Live!

Does the isolated margin change through price action?

Binance

Cryptocoins Exchanges / Binance 232 Views

While using the Binance API, I noticed that the isolated margin changes each time I request the current open positions.

But when subscribing to the User Stream Data, I do not receive isolated margin updates.

So in order for a bot to correctly calculate the current margin risk level, I need to query the positions repeatedly. This is discouraged by the API documentation though. As a developer I am asked to use the ACCOUNT_UPDATE events. But in order to reliably use these events, I would need to recalculate the isolated margin within my program. Does anyone know the exact algorithm behind the isolated margin? Because it does seem to be affected by the price action. But I couldn't figure out on my own on what exact parameters it depends.

For reference https://www.binance.com/en/support/faq/b3c689c1f50a44cabb3a84e663b81d93

submitted by /u/prodigy-3k
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments