feat(Core/UI): 백테스트 전역 엔진 선택 버튼 추가 및 스캘핑 Rust 방어로직 포팅 1차 완료
This commit is contained in:
20
scratch/check_root_cause.py
Normal file
20
scratch/check_root_cause.py
Normal file
@@ -0,0 +1,20 @@
|
||||
import sys
|
||||
import os
|
||||
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/..')
|
||||
from database import TradeDB
|
||||
|
||||
db = TradeDB()
|
||||
try:
|
||||
print("[Env Configs for WS_ORDERBOOK_SAVE_KIS]")
|
||||
cfg = db.conn.execute("""
|
||||
SELECT * FROM env_config WHERE env_key = 'WS_ORDERBOOK_SAVE_KIS'
|
||||
""").fetchone()
|
||||
print(dict(cfg) if cfg else "Not found in env_config")
|
||||
|
||||
cfg_ext = db.conn.execute("""
|
||||
SELECT * FROM env_config_ext WHERE env_key = 'WS_ORDERBOOK_SAVE_KIS'
|
||||
""").fetchone()
|
||||
print(dict(cfg_ext) if cfg_ext else "Not found in env_config_ext")
|
||||
|
||||
finally:
|
||||
db.close()
|
||||
Reference in New Issue
Block a user