Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
trade_id | serial | 10 | √ | nextval('new_trades_trade_id_seq'::regclass) |
|
|
||||
algo_run_id | int4 | 10 | null |
|
|
|||||
symbol | text | 2147483647 | null |
|
|
|||||
operation | trade_operation | 2147483647 | null |
|
|
|||||
qty | numeric | 24,10 | null |
|
|
|||||
price | numeric | 8,2 | null |
|
|
|||||
indicators | jsonb | 2147483647 | null |
|
|
|||||
client_time | text | 2147483647 | √ | null |
|
|
||||
tstamp | timestamp | 29,6 | √ | CURRENT_TIMESTAMP |
|
|
||||
stop_price | numeric | 8,2 | √ | null |
|
|
||||
target_price | numeric | 8,2 | √ | null |
|
|
||||
expire_tstamp | timestamp | 29,6 | √ | null |
|
|
||||
trade_fee | numeric | 9,2 | 0.0 |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
new_trades_pkey | Primary key | Asc | trade_id |
new_trades_algo_run_id_idx | Performance | Asc | algo_run_id |
new_trades_symbol_idx | Performance | Asc | symbol |
new_trades_tstamp_idx | Performance | Asc | tstamp |
new_trades_tstamp_idx1 | Performance | Asc | tstamp |
new_trades_tstamp_idx10 | Performance | Asc | tstamp |
new_trades_tstamp_idx11 | Performance | Asc | tstamp |
new_trades_tstamp_idx12 | Performance | Asc | tstamp |
new_trades_tstamp_idx2 | Performance | Asc | tstamp |
new_trades_tstamp_idx3 | Performance | Asc | tstamp |
new_trades_tstamp_idx4 | Performance | Asc | tstamp |
new_trades_tstamp_idx5 | Performance | Asc | tstamp |
new_trades_tstamp_idx6 | Performance | Asc | tstamp |
new_trades_tstamp_idx7 | Performance | Asc | tstamp |
new_trades_tstamp_idx8 | Performance | Asc | tstamp |
new_trades_tstamp_idx9 | Performance | Asc | tstamp |