What is the correct format for CSV files to be for backtesting?
What is the correct format for CSV files to be for backtesting?
09 Aug 2020, 14:03
I am trying to use an external CSV file with minute bar data. I am getting a message
09/08/2020 11:58:34.123 | Invalid date at line: '2017.08.07, 01:04,12248.28,12253.48,12247.33,12250.83,1'
I have tried all reasonable formats. Which one is correct?
I have to say that cAlgo has the worst documentation regarding its API and programming. I am a professional programmer and I haven't met such a disaster ever.
Replies
Nanaos
10 Aug 2020, 10:08
Re: What is the correct format for CSV files to be for backtesting?
Thank you. But the format that I am using is the same as specified in the the Backtesting settings.
Please see here:
2003.06.18,16:01,1.11423,1.11428,1.11332,1.11374,19 (Backtesting section):
2017.08.07, 01:04,12248.28,12253.48,12247.33,12250.83,1 (Mine)
Can you recommend any steps to fix the problem?
Thank you,
@Nanaos
PanagiotisCharalampous
10 Aug 2020, 10:09
Hi Nanaos,
Can you try adding more than one lines to the data?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
10 Aug 2020, 08:15 ( Updated at: 21 Dec 2023, 09:22 )
Hi Nanaos,
Here it is. The link is provided within the Backtesting settings.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous