types: add is_futures field to the global trade

This commit is contained in:
c9s 2021-12-05 15:56:27 +08:00
parent 20e61d5b5c
commit 5aa027f883

View File

@ -66,6 +66,7 @@ type Trade struct {
FeeCurrency string `json:"feeCurrency" db:"fee_currency"` FeeCurrency string `json:"feeCurrency" db:"fee_currency"`
IsMargin bool `json:"isMargin" db:"is_margin"` IsMargin bool `json:"isMargin" db:"is_margin"`
IsFutures bool `json:"isFutures" db:"is_futures"`
IsIsolated bool `json:"isIsolated" db:"is_isolated"` IsIsolated bool `json:"isIsolated" db:"is_isolated"`
StrategyID sql.NullString `json:"strategyID" db:"strategy"` StrategyID sql.NullString `json:"strategyID" db:"strategy"`