The algo works fine until I set a brokerage model to Tradier, where my orders are rejected. I'm using SetHoldings([PortfolioTarget(…)]) to determine positions.

Regular market orders work fine, and I'm OK just submitting a GTC market order instead of a Market on Open, but I would rather not completely re-do al the portfolio balancing logic if I don't have to. Is there a way to have the orders generated by SetHoldings or PortfolioTarget be GTC Market orders instead of Market on Open?

169448_1630167262.jpg

Author