I have Static SuperDOM working as expected. However, while running a strategy during playback connection using market replay data, I get an error on submitting an order. The first error message is that it was unable to submit order and that the strategy has sent cancel requests, attempted to close the position, and terminated itself. The next error message states that my order cannot be submitted because I have insufficient TT credits on my NT account left to close open position(s).
The playback connection using market replay was for 1/4/2016 around 9:41am. The instrument was ES 03-16. I do have errors in my log/trace files, but those errors were regarding indicators from prior charts. I used a clean chart with only the strategy running which uses no indicators but instead private data series. It was also a new workspace with all other workspaces closed.
I tested my live account using a live trade this afternoon and did not have any problems at all with insufficient TT credits. This was a manual trade and not a trade placed through a strategy, however.
Tonight, I used the example strategy SampleMACrossover but just changed the entry for long as Open[0] > Open[1] and vice versa for the short entry so that it would trigger faster. The exact same error occurred in market replay as my prior strategy (the insufficient TT credits error). This leads me to believe this is an error with NT8 and not with my scripts.
Thank you for any help.
Comment