feat: Enhance trading system with new e_min_chg_pct parameter and related logic
Changes: - Introduced the `e_min_chg_pct` parameter to define the minimum price change percentage compared to the previous day's close, enhancing the momentum trading strategy. - Updated various functions and classes to incorporate this new parameter, ensuring it is utilized in both backtesting and live trading scenarios. - Improved documentation and comments to clarify the purpose and usage of the new parameter across the codebase. Impact: - This addition allows for more precise control over trading conditions, potentially increasing the effectiveness of the momentum strategy while maintaining system integrity and performance.
This commit is contained in:
@@ -530,8 +530,10 @@ def build_live_config_groups() -> List[GroupDef]:
|
||||
hint="실매 폴링 정합 · 하한 50ms"),
|
||||
_f("TAIL_PARAM_SEARCH_MIN_START", "꼬리 파라서치 최소 시작일", "str", default="2026-07-07",
|
||||
hint="조건식 변경일 이후만 탐색 (YYYY-MM-DD) · CLI --start 와 max 적용"),
|
||||
_f("USE_MARKET_IOC", "시장가 IOC", "bool", default=True,
|
||||
hint="실전 시장가 주문 방식 · 모의는 일반 시장가(01) 고정"),
|
||||
_f("USE_MARKET_IOC", "매수 시장가 IOC", "bool", default=True,
|
||||
hint="실전 매수 ORD_DVSN=13(IOC) · OFF=01 · 모의는 01 고정"),
|
||||
_f("USE_MARKET_IOC_SELL", "매도 시장가 IOC", "bool", default=True,
|
||||
hint="실전 매도 ORD_DVSN=13(IOC) · OFF=01 · 모의는 01 고정 · 거절 많으면 OFF"),
|
||||
_f("ORDER_FILL_WAIT_SEC", "시장가 체결 대기(초)", "int", default=2),
|
||||
_f("DUPLICATE_ORDER_FILL_RECOVERY_ENABLED", "주문DB중복 체결복구", "bool", default=True,
|
||||
hint="insert 실패(주문DB중복) 시 inquire-daily-ccld 1회 → active_trades 복구 · 실패 시에만 REST"),
|
||||
|
||||
Reference in New Issue
Block a user