feat(Core/UI): 백테스트 전역 엔진 선택 버튼 추가 및 스캘핑 Rust 방어로직 포팅 1차 완료
This commit is contained in:
9
scratch/show_trade_cols.py
Normal file
9
scratch/show_trade_cols.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from database import TradeDB
|
||||
db = TradeDB()
|
||||
try:
|
||||
cols = db.conn.execute("SHOW COLUMNS FROM trade_history").fetchall()
|
||||
print("--- trade_history 테이블 컬럼 ---")
|
||||
for r in cols:
|
||||
print(dict(r)['Field'])
|
||||
finally:
|
||||
db.close()
|
||||
Reference in New Issue
Block a user