I have simple strategy which I am trying to properly initialize but when I try. I have so many state changes, and I am not sure, If I am missing something.
1. When I click right button and strategies I get these changes:
2024-03-27 14:59:43.039:StrategyName SetDefaults - Default values are set (pushed to UI) IsEnabled:False
2024-03-27 14:59:43.039:StrategyName Terminated - Begins to shut down, IsEnabled:False
2024-03-27 14:59:43.064:StrategyName SetDefaults - Default values are set (pushed to UI) IsEnabled:False
2. when I choose strategy i get
2024-03-27 14:59:43.039:StrategyName SetDefaults - Default values are set (pushed to UI) IsEnabled:False - which I think is ok.
3. but when I click enabled and apply i get this:
2024-03-27 15:02:49.452:StrategyName SetDefaults - Default values are set (pushed to UI) IsEnabled:False
2024-03-27 15:02:49.453:StrategyName Terminated - Begins to shut down, IsEnabled:False
2024-03-27 15:02:49.456:StrategyName SetDefaults - Default values are set (pushed to UI) IsEnabled:False
2024-03-27 15:02:49.457:StrategyName SetDefaults - Default values are set (pushed to UI) IsEnabled:False
2024-03-27 15:02:49.458:StrategyName Configure - User the presses the OK or Apply button IsEnabled:True
2024-03-27 15:02:49.458:StrategyName AddDataSeries
2024-03-27 15:02:49.461:StrategyName Configure - User the presses the OK or Apply button IsEnabled:True
2024-03-27 15:02:49.461:StrategyName AddDataSeries
2024-03-27 15:02:49.462:StrategyName SetDefaults - Default values are set (pushed to UI) IsEnabled:Fals
2024-03-27 15:02:49.462:StrategyName Terminated - Begins to shut down, IsEnabled:False
2024-03-27 15:02:49.463:StrategyName Configure - User the presses the OK or Apply button IsEnabled:True
2024-03-27 15:02:49.463:StrategyName AddDataSeries
2024-03-27 15:02:49.472:StrategyName Terminated - Begins to shut down, IsEnabled:False
2024-03-27 15:02:49.473:StrategyName DataLoaded - All data series have been loaded IsEnabled:True
2024-03-27 15:02:49.476:StrategyName Historical - Begins to process historical data IsEnabled:True
2024-03-27 15:02:50.983:StrategyName Transition - Finished processing historical data IsEnabled:True
2024-03-27 15:02:50.983:StrategyName Finished processing historical data
Which I consider confusing. When reaching Configure state i would like to do some configuration stuff - reading from API etc. but i think this would make too many requests.
Thanks for claryfication
Pavel
Comment