get_pipeline_data_dir

Documentation for eth_defi.vault.vaultdb.get_pipeline_data_dir function.

get_pipeline_data_dir()

Return the pipeline data directory, configurable via PIPELINE_DATA_DIR.

When the environment variable PIPELINE_DATA_DIR is set, all pipeline files (vault DB pickle, parquet, reader state, DuckDB, cycle state, lock) are stored under that directory. Otherwise falls back to the standard ~/.tradingstrategy/vaults location.

Returns

Absolute path to the pipeline data directory.

Return type

pathlib.Path