I've followed the guidance on documentation, and moved all Rithmic order management to OnExecutionUpdate. My strategy always checks both strategy and account position before I enter - all the safeguards are there, but for an unknown reason as soon as NT8 enters long or short - it almost immediately becomes out of sync.
For all the powerful tools this software has, how is the only recourse to restart?? This platform promotes automated trading - the entire reason I've invested a year+ into learning this platform.
It's incredibly frustrating to see typically great support fall flat without any explanation into the issue. As far as I can tell, this isn't something I can solve with code because the problem isn't my code.
Not 10 minutes ago, I placed an order using a button I added to a chart strategy, which uses a market order:
EnterLong(smallestBarsInProgress,simEntry.quantity , simEntry.EntryOrderUUID);
I went long on MNQ, and I was 1L, synced
I hit my profit loss max, so the strategy did an exit market order
ExitLong(smallestBarsInProgress,orderRecordMaster. EntryOrder.Quantity,orderRecordMaster.ExitOrderUUI D, orderRecordMaster.EntryOrderUUID);
The Account Position is now flat but the strategy is now Long.
There is literally nothing I could code to make NT recognize the Account position without a restart. How do you expect us to solve this without staying up 24/7 to babysit the application? There is no coded restart, no way to force alignment to the account position. NT8 is fundamentally flawed and borderline unusable if it can't manage this basic problem.
Is the only viable solution here to ignore strategy position entirely, and only go off account position?

Comment