添加数据库文件

This commit is contained in:
crypto_predictor committed 2026-02-04 18:38:09 +08:00
1 parent 59fcb11ffa
commit fcf64f4a3d
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@ import os
class DatabaseManager:
"""Manages SQLite database for storing OHLCV data."""
def __init__(self, db_path: str = "./data/cache/market_data.db"):
def __init__(self, db_path: str = "./data/market_data.db"):
self.db_path = Path(db_path)
self.db_path.parent.mkdir(parents=True, exist_ok=True)
self.initialize_db()