refactor: Simplify trading plans table structure with Log engine

This commit is contained in:
Bobby (aider) 2025-02-11 17:56:59 -08:00
parent b327062a6d
commit 7ccb5a8065

View File

@ -83,8 +83,8 @@ def create_trading_plan_table():
id UInt32,
plan_name String,
status String,
created_at DateTime64(3),
updated_at DateTime64(3),
created_at DateTime,
updated_at DateTime,
timeframe String,
market_focus String,
entry_criteria String,
@ -118,7 +118,7 @@ def create_trading_plan_table():
fundamental_criteria Nullable(String),
options_strategy_details Nullable(String)
)
ENGINE = Memory
ENGINE = Log
"""
client.execute(query)