Backtesting with data from CSV file