Hi all,

I was looking through some logs on a live algorithm and I got rejected for "CASH AVAILABLE". My algorithm liquidates stocks and attempts to buy others with the cash received from sellings the initial stocks but it seems like IBKR didnt reflect those immediately as buying power so I wasn't able to buy more stocks. I checked the logs and chronologically, the stocks were fully liquidated before attempting to buy more.

Any thoughts around this or did anyone else have similar experiences? Delaying buying by a few minutes? Will a margin account help?

Thanks!

Author