refactor: enhance Optuna backtesting framework, optimize orderbook filtering, and update database management utilities.

This commit is contained in:
Your Name
2026-08-12 10:19:19 +09:00
parent cb7e5037a0
commit c6bd62a25f
218 changed files with 31613 additions and 759 deletions

9
scratch/check_ws_ob3.py Normal file
View File

@@ -0,0 +1,9 @@
from database import TradeDB
db = TradeDB()
try:
cnt = db.conn.execute("SELECT COUNT(*) as cnt FROM ws_orderbook").fetchone()['cnt']
print(f"Total ws_orderbook rows: {cnt}")
except Exception as e:
print(f"ERROR: {e}")
finally:
db.close()