From cc4c8a0203234dc4016962984a4a94f2ccbe3361 Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Mon, 26 Mar 2018 12:44:34 +1100 Subject: [PATCH] Fix invalid period in type declaration Fixes https://github.com/thrasher-/gocryptotrader/issues/110 --- exchanges/okex/okex_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exchanges/okex/okex_types.go b/exchanges/okex/okex_types.go index 142d0717..b768704b 100644 --- a/exchanges/okex/okex_types.go +++ b/exchanges/okex/okex_types.go @@ -121,7 +121,7 @@ type SpotPrice struct { Last float64 `json:"last,string"` Sell float64 `json:"sell,string"` UnitAmount float64 `json:"unit_amount,string"` - Vol float64 `json:"vol.string"` + Vol float64 `json:"vol,string"` } `json:"ticker"` Result bool `json:"result"` Error interface{} `json:"error_code"`