Hi, so I want to find a way to sum the results that I'm getting from a backtest. Currently my algorithm is producing a value for each minute and printing it so it shows up on the log. Is there a way to sum these printed values so I get a total value regardless of how long I choose to backtest? I couldn't figure a way out how to do this as I tried creating a list and putting the end value into the list, but that doesn't work as the algorithm will reset each minute for the backtest. Any ideas?
For Example here are some of the backtest results:
2015-10-19PRINT-0.000180293879023
2015-10-19PRINT-0.000362450163103
2015-10-19PRINT-0.000226551880381
2015-10-19PRINT-0.000362450163103
2015-10-19PRINT0.000272158214642
2015-10-19PRINT-0.000453103760761
I want to sum all of the numbers together.
Thanks!