From 5aa027f88392362219475c672e652312d9f66e41 Mon Sep 17 00:00:00 2001 From: c9s Date: Sun, 5 Dec 2021 15:56:27 +0800 Subject: [PATCH] types: add is_futures field to the global trade --- pkg/types/trade.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/types/trade.go b/pkg/types/trade.go index 1eca4b961..f29741078 100644 --- a/pkg/types/trade.go +++ b/pkg/types/trade.go @@ -66,6 +66,7 @@ type Trade struct { FeeCurrency string `json:"feeCurrency" db:"fee_currency"` IsMargin bool `json:"isMargin" db:"is_margin"` + IsFutures bool `json:"isFutures" db:"is_futures"` IsIsolated bool `json:"isIsolated" db:"is_isolated"` StrategyID sql.NullString `json:"strategyID" db:"strategy"`