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

@@ -406,7 +406,11 @@ class AfrHistoryWatcher:
tr_key,
)
try:
self.on_change(st)
# job/code/body 는 진입·재진입·이탈 이벤트 DB 적재용 (구 콜백은 st 만)
try:
self.on_change(st, job=job, code=code, body=body)
except TypeError:
self.on_change(st)
except Exception as e:
self.logger.warning("on_change: %s", e)