|
id
|
int(11)
|
|
|
|
|
strategy_code
|
varchar(10)
|
|
|
|
|
strategy_name
|
varchar(120)
|
|
|
|
|
strategy_type
|
enum
|
-- |
|
|
|
max_scripts
|
int(11)
|
|
|
|
|
max_investment_per_script
|
decimal(15,2)
|
|
|
|
|
max_investment_per_day
|
decimal(15,2)
|
|
|
|
|
max_loss_per_day
|
decimal(15,2)
|
|
|
|
|
max_open_trades
|
int(11)
|
|
|
|
|
max_trade_value
|
decimal(15,2)
|
|
|
|
|
allow_short
|
tinyint(1)
|
|
|
0
|
|
allow_intraday
|
tinyint(1)
|
|
|
0
|
|
sl_tp_required
|
tinyint(1)
|
|
|
0
|
|
is_active
|
tinyint(1)
|
|
|
1
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
current_timestamp()
|