- Added `--upsert` flag to `fetch_history.py` for merging new data into existing parquet files. - Implemented `upsert_parquet()` function to update existing rows with new values where `oi_change` and `funding_rate` are 0.0, while appending new rows. - Created tests in `tests/test_fetch_history.py` to validate upsert behavior. - Updated `.gitignore` to include `.cursor/` directory. Made-with: Cursor
13 lines
122 B
Plaintext
13 lines
122 B
Plaintext
.env
|
|
__pycache__/
|
|
*.pyc
|
|
.pytest_cache/
|
|
logs/
|
|
*.log
|
|
.venv/
|
|
venv/
|
|
models/*.pkl
|
|
data/*.parquet
|
|
.worktrees/
|
|
.DS_Store
|
|
.cursor/ |