mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
types: add is_futures field to the global trade
This commit is contained in:
parent
20e61d5b5c
commit
5aa027f883
|
@ -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"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user