From fd98a2f387494a0109d75b4d3533894ae7959192 Mon Sep 17 00:00:00 2001 From: Alessandro Sechi Date: Mon, 21 Jun 2021 18:11:29 +0000 Subject: [PATCH] Added "trading_disabled" field in Get Products endpoint (#104) --- product.go | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/product.go b/product.go index 3429dd0..97268ae 100644 --- a/product.go +++ b/product.go @@ -10,22 +10,23 @@ import ( ) type Product struct { - ID string `json:"id"` - BaseCurrency string `json:"base_currency"` - QuoteCurrency string `json:"quote_currency"` - BaseMinSize string `json:"base_min_size"` - BaseMaxSize string `json:"base_max_size"` - QuoteIncrement string `json:"quote_increment"` - BaseIncrement string `json:"base_increment"` - DisplayName string `json:"display_name"` - MinMarketFunds string `json:"min_market_funds"` - MaxMarketFunds string `json:"max_market_funds"` - MarginEnabled bool `json:"margin_enabled"` - PostOnly bool `json:"post_only"` - LimitOnly bool `json:"limit_only"` - CancelOnly bool `json:"cancel_only"` - Status string `json:"status"` - StatusMessage string `json:"status_message"` + ID string `json:"id"` + BaseCurrency string `json:"base_currency"` + QuoteCurrency string `json:"quote_currency"` + BaseMinSize string `json:"base_min_size"` + BaseMaxSize string `json:"base_max_size"` + QuoteIncrement string `json:"quote_increment"` + BaseIncrement string `json:"base_increment"` + DisplayName string `json:"display_name"` + MinMarketFunds string `json:"min_market_funds"` + MaxMarketFunds string `json:"max_market_funds"` + MarginEnabled bool `json:"margin_enabled"` + PostOnly bool `json:"post_only"` + LimitOnly bool `json:"limit_only"` + CancelOnly bool `json:"cancel_only"` + TradingDisabled bool `json:"trading_disabled"` + Status string `json:"status"` + StatusMessage string `json:"status_message"` } type Ticker struct {