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

View File

@@ -64,7 +64,11 @@ ITEM_SEARCH_URL = f"{LS_REST_BASE}/stock/item-search"
# 종목검색 TR 초당 1회 (스펙 transactionPerSec)
_TR_GAP_SEC = 1.1
AFR_JOB_KO = {"N": "진입", "R": "재진입", "O": "이탈"}
try:
from kis_trader.network.condition_common import JOB_KO as AFR_JOB_KO
except Exception:
AFR_JOB_KO = {"N": "진입", "R": "재진입", "O": "이탈"}
def _setup_logger(log_path: Path) -> logging.Logger: