feat(Core/UI): 백테스트 전역 엔진 선택 버튼 추가 및 스캘핑 Rust 방어로직 포팅 1차 완료

This commit is contained in:
Your Name
2026-09-03 02:49:14 +09:00
parent ac1190f1fc
commit 3b7c21cde4
316 changed files with 56952 additions and 1 deletions

19
scratch/update_env.py Normal file
View File

@@ -0,0 +1,19 @@
import sys
import os
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/..')
from database import TradeDB
db = TradeDB()
try:
db.conn.execute("""
INSERT INTO env_config (env_key, env_value)
VALUES ('WS_ORDERBOOK_SAVE_KIS', 'true')
ON DUPLICATE KEY UPDATE env_value = 'true'
""")
print("Updated WS_ORDERBOOK_SAVE_KIS to 'true' in env_config.")
db.conn.commit()
val = db.conn.execute("SELECT env_value FROM env_config WHERE env_key = 'WS_ORDERBOOK_SAVE_KIS'").fetchone()
print("Verification:", dict(val))
finally:
db.close()