Hi all,

Has anyone experienced anything similar? Live algorithm threw log errors of being unable to do market orders due to insufficient funds (negative initial margin) but IBKR says I have a positive buying power (Margin account)

I am using <self.Portfolio.MarginRemaining> to obtain my buying power

Thanks,
Marc