- Converts stock data from .csv and .txt files to json
- Default refresh rate is 1 second.
Place floss.py in the root folder of your project directory.
- Run the program by specifying the input path and output path. (use -s to adjust refresh rate)
- Request data by writing a file path to chosen input file.
- Retrieve data by reading from chosen output file.
python floss.py [-s speed] <input_path> <output_path>
To use the default program speed.
python floss stock-data.csv output.json
To change the program speed.
python floss -s 0.5 stock-data.csv output.json