market_analysis.config

Configuration constants for the market_analysis project.

This module centralizes cache settings, schema versioning, parallelization parameters, and storage configuration.

Cache Settings:

Setting

Default Value

Description

CACHE_DIR

“cache_history”

Directory where cached data is stored.

CACHE_MAX_AGE

1

Maximum cache age in days before data is refreshed.

SCHEMA_VERSION

“1.0”

Version of the cached data schema.

PARQUET_ENGINE

“pyarrow”

Engine used for storing Parquet files.

MAX_WORKERS

6

Maximum number of parallel threads for fetching data.

Module Contents

Data

CACHE_DIR

CACHE_MAX_AGE

SCHEMA_VERSION

PARQUET_ENGINE

MAX_WORKERS

API

market_analysis.config.CACHE_DIR

‘cache_history’

market_analysis.config.CACHE_MAX_AGE

1

market_analysis.config.SCHEMA_VERSION

‘1.0’

market_analysis.config.PARQUET_ENGINE

‘pyarrow’

market_analysis.config.MAX_WORKERS

6