切换到实盘环境
- HL: WS/REST 从 testnet 切换到 mainnet - BG: 删除 paptrading header(实盘 key 不以 bg_ 前缀区分) - config: 调整交易参数 - scanner: 更新跟踪币种列表
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ func (d *DB) SaveTrade(t *TradeRecord) (int64, error) {
|
||||
long_pnl, short_pnl, fee_entry, fee_exit, net_pnl,
|
||||
amount_usd, scale_count, exit_reason, convergence, opened_at, closed_at,
|
||||
pnl_long_usd, pnl_short_usd, fee_long_usd, fee_short_usd
|
||||
) VALUES (?,?,?,?,?, ?,?,?,?,?, ?,?,?,?,?, ?,?,?,?,?, ?,?,?,?,?)`,
|
||||
) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)`,
|
||||
t.Coin, t.Direction, t.Status, t.EntrySpread, t.ExitSpread,
|
||||
t.LongExchange, t.ShortExchange, t.LongEntry, t.LongExit, t.ShortEntry, t.ShortExit,
|
||||
t.LongPnl, t.ShortPnl, t.FeeEntry, t.FeeExit, t.NetPnl,
|
||||
|
||||
Reference in New Issue
Block a user