refactor: Simplify trading_plans table structure with TinyLog engine
This commit is contained in:
parent
19f06601d9
commit
a22f4a444a
@ -111,9 +111,9 @@ def create_trading_plan_table():
|
||||
max_portfolio_risk Float64,
|
||||
adjustments_for_drawdown String,
|
||||
risk_controls String,
|
||||
win_rate Float64 DEFAULT 0,
|
||||
average_return_per_trade Float64 DEFAULT 0,
|
||||
profit_factor Float64 DEFAULT 0,
|
||||
win_rate Float64,
|
||||
average_return_per_trade Float64,
|
||||
profit_factor Float64,
|
||||
historical_backtest_results String,
|
||||
real_trade_performance String,
|
||||
improvements_needed String,
|
||||
@ -125,8 +125,7 @@ def create_trading_plan_table():
|
||||
fundamental_criteria String,
|
||||
options_strategy_details String
|
||||
)
|
||||
ENGINE = MergeTree
|
||||
PRIMARY KEY (id)
|
||||
ENGINE = TinyLog
|
||||
"""
|
||||
client.execute(query)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user