hi there,

I was wondering if anybody had a good way of preventing -"The AlpacaBrokerageModel does not support submitting sell orders with open buy orders"

Everything shows up fine on backtests but when deployed live the stoplimit orders do not get accepted because my buy orders havent been filled yet. The stop limit order then immediatly gets rejected.

Does anyone have a good idea on how to prevent this problem?

 

ps thanks for the help ;)