Quote from maxpi:
I use TS software and trade with IB so I cannot comment on their brokerage. Occasionally your chart will get a refresh and run your code on all the history so you must put some safeguards so that orders are not generated from the history, only on the last bar. You can put in a check to see if the current day and time match the bar day and time, etc., maybe using the keyword "lastbaronchart" will do it. I had that happen once in simulation mode and my software loaded up a dozen bogus orders in no time.
I used automation for some time to trade live, though not in the last six month, and I can tell you that a live order is not sent unless it is generated by the current bar. You might see strategy orders generated when tradestation tries to reconnect, and that might change your position for the last bar, but as I said no real order is generated except for the last bar on chart.
From my own experience, it happened like two or three times in almost a year that my cable connection went down, and when it came back tradestation will try to recalculate the strategies again, and it will show a message asking you if you want to close your open positions. It could just happen that the time the connection was down the strategy will exit the position, and because real orders are only generated on the current bar, you could end up with an open real position and a closed one on the strategy, but only if your connection was down. I have not seen them refreshing the data during the trading hours, and thus triggering a strategy recalculation. It happenes though during the night, so if you are a swing trader that might affect you.
I hope I have been coherent. Another thing, you have to test your code thoroughly as there are many potential problems, but they are related to programming and not to the platform itself.
And one more thing, I just used a strategy that will trigger an entry once a day, if you plan multiple entries in the same day you better check you strategy real time, but without generating live orders.