I am using NT8 and have a custom algo I am running on a few stocks. I used TD Ameritrade as my broker and my algo is able to open positions on it's own without any issues, The problem I'm running into is my stop loss and take profit orders seem to be getting rejected at TD Ameritrade. They are OCO orders but even if it's just the original OCO order, it seems there's a bigger problem because my "exit trades on session close" also failed to go through today as well as a trailing stop that I have. I have attached logs and trace here (please ignore the SPXU trades, the two executed properly here were AAPL and AMZN to open then their stops / target profit orders were rejected and TSLA rejected even at the opening order) if you could please help me to see what I might need to do to get them to work. Thank you in advance!!
Another side note...you will see the limit order and stop loss on the logs, all that is is the "slippage" number I inserted. When I had slippage at zero it was rejecting the order at TD and then when I put it at 5 or 10 it would take the order but my real stop loss or target dont appear to be showing up anywhere? It all works perfectly on strategy analyzer, loading it on a live chart, etc.
Comment