I am testing a strategy, and notice that no matter what I do, I cannot get the orders to fill. Currently, I am just using Market Replay to test how the strategy enters and exits. I have a simple strategy that uses EnterLong and EnterShort. I'm assuming that this should enter as a market order, which is what I want. But every time I replay the strategy, I get the order pending notification and the order tab shows the order as "working". But no matter how long I wait, the orders never get filled.
What am i doing wrong? I have added the Historical == true option in the code to ensure my strategy is flat, and the strategy shows as green. I have the the Wait Until Flat option selected along with Sync Account position = false. I have changed the fill options but nothing seems to work. I have not tested it with a live simulation so I don't know how it responds in that environment yet.
Looking for some advice,
Thanks,
Lee
Comment