Offline data provider in CSV format
Last updated
Last updated
In TSLab, you can use CSV files as an offline data provider. The contents of the file must be in the specified format.
The only data format recognized for CSV files:
The order of writing data in columns:
The order and the format of writing data in rows:
The file should not have a header line. The line above is indicated as an instruction; it should not be in the file.
It is necessary to use bars starting from minutes and above.
There should be no empty lines in the file. Data is read until the first empty line.
You must use a semicolon character (;) as a column separator.
As a separator of the fractional part of the number, you must use the dot sign (.)
The number must be written without spaces.
The format of writing Date: MM/dd/yyyy
The format of writing Time: HH:mm
Important!
The time written in the csv file is perceived by the program as UTC time. In the data provider, you can use the Local time setting, according to the time settings in windows.
You can download an example of filling the CSV file:
At the end of each line, use a semicolon (;)