With SMTP/email interface TS sends an email when simulated/data on TS chart shows a stop is filled. I have used the option in NT that says "convert unfilled amount to market X seconds after TS says the stop was filled."
When coding with the DLL, I believe I would have to wait till the end of the bar (5 minute bar in this case) until I can check the orderStatus of the stop, and then if I get "accepted, working" or anything but "filled" and "rejected" , send a market order if the stop still was not filled.
1) Is this correct?
2) Is there a way I can code with the DLL and still prevent this sort of position mismatch problem when data shows fill and NT real order didn't get filled?
(My only conclusion so far would be to make my TS run with intrabar update, which will run my code on every tick. Is this the only way?)
Thanks in advance.
Comment