API documentation for tradingstrategy.reader.read_parquet Python function.
- read_parquet(path, filters=None)#
Reads compressed Parquet file of data to memory.
Filtering of candle data can be done during the read time, so that large dataset files do not need to be fully loaded to the memory. This severely reduces the RAM usage for low-memory environments when dealing Parquet.
You can disable “threaded read” using
PYARROW_THREADED_READenvironment variable to lower the memory consumption. Used in parallel testing.