Hi All,
I have a strategy that I am testing on a sim account. But I’m having some issues that I don’t understand. My first issue is why the strategy is getting out of sync, and scond is how it can take a short position when my strategy only takes long positions?
My strategy is currently running on two different instruments (MES & MNQ) on the same sim account using NT brokerage data/connection. I am using OnBarClose and I have tried both WaitUntilFlat, and ImmediatelySubmit as the start behavior. I load 15-20 days worth of data on each chart. But occasionally the strategy is getting out of sync. This is the first issue I don’t understand.
I let the stratgey run all day, with no other programs running. But I do have a screen saver. Can this cause an issue with the chart data updating that effects the strategy? I have noticed that sometimes when I move the mouse and the system comes out of screen saver, the charts will look out of date and then update to the current data. Not sure if this is really the case or just a visual thing. Could this be the issue? If not this, could it be just a hardware issue running the software? My computer is only 2 years old and has 32Gb of RAM.
I have also noticed in the Log that it does lose the data feed connection occasionally. Most are less than 10 seconds and don’t seem to pose any problem. But some are a little longer than 10 seconds and the strategy will be disabled and restarted again once the connection is reestablished. Is this dropped connection typically an issue if its less than one minute of total time?
Another thing I don’t understand is how the strategy can take a short position when my strategy only takes long positions. I understand that if you use the Synchronize account option for Start Behavior, it could do this in an attempt to synchronize the account to the strategy. But can it do this if you do not use this option? I noticed today that my strategy had a short position, no short trade on the strategy showing, and no disconnect from the data feed longer than 2-3 seconds. Needless to say I’m confused by thia behavior.
Any help or suggestions is greatly appreciated. Its is frustrating to have a strategy you believe is good and want to test out, but cannot get it over these issues that don’t appear to have anything to do with the strategy logic itself.
Thank you,
Ray