I'm am trying to do a three way order (buy, stop loss, and take profit) but for some reason the second order - in the backtest below it is the stop loss - is marked as invalid. Here is the message I get on the first stop loss placed:

Order Error: id: 3, Insufficient buying power to complete order (Value:-99501.25), Reason: Your portfolio holds 2.98052578 BTC, 2.98052578 BTC of which are reserved for open orders, but your Sell order is for 2.98052578 BTC. Cash Modeling trading does not permit short holdings so ensure you only sell what you have, including any additional open orders.


Is there something I overlooked?