feat: Add DART strategy and related configurations

ㅇ
Changes:
- Introduced the DART strategy to the trading system, including its configuration and integration into the existing framework.
- Updated the database schema to include DART-specific tables for disclosures and watchlists.
- Enhanced the backtesting and parameter search functionalities to support the DART strategy.
- Implemented new rules for browser verification and API interactions to ensure compliance with the updated DART strategy.

Impact:
- These additions expand the trading capabilities of the system, allowing for more comprehensive analysis and execution of DART-related strategies, while maintaining system integrity and performance.
This commit is contained in:
Your Name
2026-07-21 07:50:24 +09:00
parent 74db49149f
commit 61bec4bd1d
86 changed files with 4811 additions and 297 deletions

View File

@@ -0,0 +1 @@
logs/apply_optuna_fine_71516_20260717_133420.log

View File

@@ -0,0 +1,42 @@
======== Optuna 3전략 순차+apply-best 시작 2026-07-21T02:30:12+09:00 ========
START=2026-07-20 END=2026-07-20 MODE=fine TRIALS=200
STRATEGIES=momentum breakout scalp apply-best=ON orderbook=off n_jobs=1
master_log=logs/optuna_3strat_apply_20260720_20260720_20260721_023012_master.log
total used free shared buff/cache available
Mem: 13Gi 4.4Gi 1.7Gi 64Mi 7.9Gi 9.2Gi
-------- 2026-07-21T02:30:12+09:00 START momentum study=momentum_fine_apply_20260720_20260721_023012 --------
LOG=logs/optuna_seq_momentum_fine_apply_20260721_023012.log
-------- 2026-07-21T02:35:46+09:00 END momentum rc=0 --------
✅ momentum 완료(+apply-best 시도). log=logs/optuna_seq_momentum_fine_apply_20260721_023012.log
[02:30:12] [param_search_optuna] 📌 호가필터: OFF (스킵 — 코어 파라미터 순수 탐색)
[02:35:46] [param_search_optuna] ⚠️ 적용할 best trial 없음
Mem: 13Gi 4.4Gi 1.7Gi 64Mi 7.9Gi 9.2Gi
-------- 2026-07-21T02:35:46+09:00 START breakout study=breakout_fine_apply_20260720_20260721_023546 --------
LOG=logs/optuna_seq_breakout_fine_apply_20260721_023546.log
-------- 2026-07-21T02:37:42+09:00 END breakout rc=0 --------
✅ breakout 완료(+apply-best 시도). log=logs/optuna_seq_breakout_fine_apply_20260721_023546.log
[02:35:47] [param_search_optuna] 📌 호가필터: OFF (스킵 — 코어 파라미터 순수 탐색)
[02:37:42] [param_search_optuna] ⚠️ 적용할 best trial 없음
Mem: 13Gi 4.4Gi 1.7Gi 64Mi 7.9Gi 9.2Gi
-------- 2026-07-21T02:37:42+09:00 START scalp study=scalp_fine_apply_20260720_20260721_023742 --------
LOG=logs/optuna_seq_scalp_fine_apply_20260721_023742.log
-------- 2026-07-21T02:40:23+09:00 END scalp rc=0 --------
✅ scalp 완료(+apply-best 시도). log=logs/optuna_seq_scalp_fine_apply_20260721_023742.log
[02:37:43] [param_search_optuna] 📌 호가필터: OFF (스킵 — 코어 파라미터 순수 탐색 (실매 ORDERBOOK도 OFF 권장 정합))
[02:40:22] [param_search_optuna] 📐 [mode vs #1] best_pnl=13330.0 (9건) | mode_pnl=26188.0 (10건) | Δ=+12858
✅ config_scalp + env_config INSERT id=682:
[02:40:22] [param_search_optuna] 🚀 [Optuna apply-best] scalp trial #174 → env_config
Mem: 13Gi 4.4Gi 1.7Gi 64Mi 7.9Gi 9.2Gi
======== 전부 종료 2026-07-21T02:40:23+09:00 ========
master=logs/optuna_3strat_apply_20260720_20260720_20260721_023012_master.log
momentum logpath=logs/optuna_seq_momentum_fine_apply_20260721_023012.log
momentum study=momentum_fine_apply_20260720_20260721_023012
breakout logpath=logs/optuna_seq_breakout_fine_apply_20260721_023546.log
breakout study=breakout_fine_apply_20260720_20260721_023546
scalp logpath=logs/optuna_seq_scalp_fine_apply_20260721_023742.log
scalp study=scalp_fine_apply_20260720_20260721_023742
※ apply-best: 총손익≤0 이면 코드가 DB 적용 스킵할 수 있음 — 각 로그 grep apply

View File

@@ -0,0 +1 @@
logs/optuna_3strat_apply_20260720_20260720_20260721_023012_master.log

View File

@@ -0,0 +1 @@
logs/optuna_4strat_seq_2026-07-15_2026-07-16_20260717_031853_master.log

View File

@@ -0,0 +1,43 @@
======== Optuna 4전략 순차 시작 2026-07-17T03:18:53+09:00 ========
START=2026-07-15 END=2026-07-16 MODE=fine TRIALS=200
STRATEGIES=tail momentum breakout scalp
apply-best=OFF orderbook=off n_jobs=1
master_log=logs/optuna_4strat_seq_2026-07-15_2026-07-16_20260717_031853_master.log
total used free shared buff/cache available
Mem: 13Gi 5.5Gi 1.9Gi 65Mi 6.7Gi 8.2Gi
/dev/mapper/ubuntu--vg-ubuntu--lv 47G 39G 5.6G 88% /
-------- 2026-07-17T03:18:53+09:00 START tail study=tail_fine_20260715_20260716_20260717_031853 --------
LOG=logs/optuna_seq_tail_fine_20260717_031853.log
-------- 2026-07-17T03:56:29+09:00 END tail rc=0 --------
✅ tail 완료. log=logs/optuna_seq_tail_fine_20260717_031853.log
Mem: 13Gi 3.7Gi 3.9Gi 64Mi 6.5Gi 9Gi
-------- 2026-07-17T03:56:29+09:00 START momentum study=momentum_fine_20260715_20260716_20260717_035629 --------
LOG=logs/optuna_seq_momentum_fine_20260717_035629.log
-------- 2026-07-17T04:07:04+09:00 END momentum rc=0 --------
✅ momentum 완료. log=logs/optuna_seq_momentum_fine_20260717_035629.log
Mem: 13Gi 3.7Gi 3.8Gi 64Mi 6.5Gi 9.9Gi
-------- 2026-07-17T04:07:04+09:00 START breakout study=breakout_fine_20260715_20260716_20260717_040704 --------
LOG=logs/optuna_seq_breakout_fine_20260717_040704.log
-------- 2026-07-17T04:12:46+09:00 END breakout rc=0 --------
✅ breakout 완료. log=logs/optuna_seq_breakout_fine_20260717_040704.log
Mem: 13Gi 3.7Gi 3.8Gi 64Mi 6.5Gi 9.9Gi
-------- 2026-07-17T04:12:46+09:00 START scalp study=scalp_fine_20260715_20260716_20260717_041246 --------
LOG=logs/optuna_seq_scalp_fine_20260717_041246.log
-------- 2026-07-17T04:20:58+09:00 END scalp rc=0 --------
✅ scalp 완료. log=logs/optuna_seq_scalp_fine_20260717_041246.log
Mem: 13Gi 3.7Gi 3.8Gi 64Mi 6.5Gi 9.9Gi
======== 전부 종료 2026-07-17T04:20:58+09:00 ========
master=logs/optuna_4strat_seq_2026-07-15_2026-07-16_20260717_031853_master.log
tail logpath=logs/optuna_seq_tail_fine_20260717_031853.log
tail study=tail_fine_20260715_20260716_20260717_031853
momentum logpath=logs/optuna_seq_momentum_fine_20260717_035629.log
momentum study=momentum_fine_20260715_20260716_20260717_035629
breakout logpath=logs/optuna_seq_breakout_fine_20260717_040704.log
breakout study=breakout_fine_20260715_20260716_20260717_040704
scalp logpath=logs/optuna_seq_scalp_fine_20260717_041246.log
scalp study=scalp_fine_20260715_20260716_20260717_041246

View File

@@ -1 +1 @@
/home/hoon/kis_bot/kis_trader/backtest/results/optuna_breakout_fine_20260716_030605.json
/home/hoon/kis_bot/kis_trader/backtest/results/optuna_breakout_fine_20260721_023742.json

View File

@@ -1 +1 @@
/home/hoon/kis_bot/kis_trader/backtest/results/optuna_breakout_fine_20260716_030605.json
/home/hoon/kis_bot/kis_trader/backtest/results/optuna_breakout_fine_20260721_023742.json

View File

@@ -1 +1 @@
/home/hoon/kis_bot/kis_trader/backtest/results/optuna_breakout_fine_20260716_030605.json
/home/hoon/kis_bot/kis_trader/backtest/results/optuna_scalp_fine_20260721_024021.json

View File

@@ -1 +1 @@
/home/hoon/kis_bot/kis_trader/backtest/results/optuna_momentum_fine_20260716_023221.json
/home/hoon/kis_bot/kis_trader/backtest/results/optuna_momentum_fine_20260721_023546.json

View File

@@ -1 +1 @@
/home/hoon/kis_bot/kis_trader/backtest/results/optuna_momentum_fine_20260716_023221.json
/home/hoon/kis_bot/kis_trader/backtest/results/optuna_momentum_fine_20260721_023546.json

View File

@@ -0,0 +1 @@
/home/hoon/kis_bot/kis_trader/backtest/results/optuna_scalp_fine_20260721_024021.json

View File

@@ -0,0 +1 @@
/home/hoon/kis_bot/kis_trader/backtest/results/optuna_scalp_fine_20260721_024021.json

View File

@@ -0,0 +1 @@
logs/optuna_seq_breakout_fine_apply_20260721_023546.log

View File

@@ -0,0 +1 @@
breakout_fine_apply_20260720_20260721_023546

View File

@@ -0,0 +1 @@
logs/optuna_seq_momentum_fine_apply_20260721_023012.log

View File

@@ -0,0 +1 @@
momentum_fine_apply_20260720_20260721_023012

View File

@@ -0,0 +1 @@
logs/optuna_seq_scalp_fine_apply_20260721_023742.log

View File

@@ -0,0 +1 @@
scalp_fine_apply_20260720_20260721_023742

View File

@@ -0,0 +1 @@
logs/optuna_tail_fine_noapply_20260721_074448.log

View File

@@ -0,0 +1 @@
tail_fine_noapply_20260720_20260721_074448

View File

@@ -0,0 +1 @@
/home/hoon/kis_bot/kis_trader/backtest/results/optuna_tail_fine_20260717_035620.json

View File

@@ -0,0 +1 @@
/home/hoon/kis_bot/kis_trader/backtest/results/optuna_tail_fine_20260717_035620.json