Randomly i`m getting max margin loan equal to 0 even if it`s not 0

Hello,

Some times i`m getting max margin loan value equal to 0, after few more attempts it`s showing real value. So it looks like random issue.

Can you maybe bring some lite here ?

P.S.
after further investigation i found that it happens each time after i cancel limit order and right away doing request to see max loan value. If i wait for about 30 seconds after limit order cancelation and taking max loan value again it works.

Do you think it`s a bug ? i think smth is recalculating there after order cancelation that`s why max loan value showing 0.

Regards,
Ruslan

Hi Ruslan,

thanks for your feedback. It’s not a bug. Since it’s randomly shown in your side, it’s very possible happens when the balance sync gap in the back.