Rule 1:
IF Close[0] == Close[0]
THEN Enter Long position
Rule 1:
IF Close[0] == Close[0]
THEN Enter Short position
Strategy is Managed, with CalculateOnBarClose = true.
The strategy is generally reversing on every candle, I made it just for test purposes. It works OK in backtest and Market Replay, but I have problem trading it with real IB paper account (not simulation).
The problem is that the strategy does not stay synchronized. I have "Wait until flat before executing live" checked, and Sync account position = False.
Soon after the strategy starts it places Long order. The order is normally visible in Positions tab and in IB TWS, but in the Strategy tab it still has position: -
How is it possible that the strategy doesn't recognize its own order and it is not synchronized?
There are no other strategies running.
Can somebody please explain how this works and how it could happen?
thank you,
Mark

Comment