Files
sentiment-engine/prod/clickhouse/04_alter_trade_events_maras_tp.sql

6 lines
292 B
MySQL
Raw Normal View History

ALTER TABLE dolphin.trade_events
ADD COLUMN IF NOT EXISTS market_state_bundle_json String DEFAULT '',
ADD COLUMN IF NOT EXISTS tp_base_pct Float32 DEFAULT 0,
ADD COLUMN IF NOT EXISTS tp_effective_pct Float32 DEFAULT 0,
ADD COLUMN IF NOT EXISTS our_leverage Float32 DEFAULT 0;