I also have in my strategy a mechanism that changes the position qty based on the statistics of previous trades.
I use the SystemPerformance.AllTrades to get the data of the previous trades.
all is working well while the strategy is running on a chart, but if its running standalone , I don't get the data of the previous trades.
I specifically load 50 days of data while defining the strategy , so in principle I should have historical trades the same way I do while running on the chart.
Is this something known ?
Or I really have some incorrect usage in my code ? in which case i will digg dipper .
thanks for helping

Comment