Hi everyone!

I tried to use the following code:

self.Portfolio["AAPL"].GetBuyingPower 

during live-trading with my IBKR account to get the buying power for AAPL, but I keep getting the cash available in my account, is there a way for us to get the cash + margin buying power?