2020-06-07 20:10:11:024|1|4|Enabling NinjaScript strategy 'MyStr/203040885' : On starting a real-time strategy - StartBehavior=AdoptAccountPosition EntryHandling=All entries EntriesPerDirection=1 StopTargetHandling=By strategy position ErrorHandling=Stop strategy, cancel orders, close positions ExitOnSessionClose=False SetOrderQuantityBy=Strategy ConnectionLossHandling=Keep running DisconnectDelaySeconds=10 CancelEntriesOnStrategyDisable=True CancelExitsOnStrategyDisable=True Calculate=On each tick IsUnmanaged=True MaxRestarts=4 in 5 minutes
The portion of this line that reads "203040885" is what I'm calling the Strategy ID.
Q1. For a strategy instance that's listed on the Control Center Strategies tab, I'd like to be able to discover its Strategy ID. Is this possible and, if yes, then how?
Q2. I'd like to be able to display the Strategy ID in a column on the Strategies tab for each listed strategy. Is this possible and, if yes, then how? If no, then might the NinjaTrader developers consider adding this as an enhancement?
Thank you very much in advance for any assistance/response you might provide.
Comment