Can't retrieve Deribit initial and maintenance margins #3725
Replies: 3 comments 2 replies
-
|
Thanks again for the report, this made it straightforward to track down. There were actually two separate issues here. The real bug was that reported The other part is a Deribit semantics mismatch. Deribit reports account / portfolio margins per currency, not per traded instrument. In Nautilus those currently come through as account-level synthetic IDs such as Let me know if you still see anything off on your side. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @cjdsellers, Thanks a lot for taking the time to fix this 🙏 Unrelated to Deribit, I'm facing the same issue with Bybit too. But in that case the logs of the 'Updated AccountState' function just show 'margins=[ ]', so maybe it's just not implemented yet. Just bringing it to your attention in case you weren't already aware. Thanks again |
Beta Was this translation helpful? Give feedback.
-
|
Hi @cjdsellers, I tried to test this again on build 1.225.0 where the changelog reported the issue was fixed (thanks for the mentions), but I still can't successfully log my margins. It works on backtest using Binance, but no signs of working live with Bybit, Deribit or Hyperliquid (this last one could be some other kind of issue since I can't even log my balances, while I can on the other two). Thanks as always for your help! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
While running a live node with Deribit I am able to see my initial and maintenance margins being correctly logged in the 'Updated AccountState' function, but when I try to retrieve them from within my strategy I get 'None' for both.
I tried with two different approaches that work with other venues, but with Deribit they both give the same result mentioned above. Tested with release build 1.224.0 Beta.
I'll post them down here just for reference, thanks!
Beta Was this translation helpful? Give feedback.
All reactions