From 553f96d69364cdde203f375caee168d7e841cabe Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Fri, 2 Dec 2016 12:21:32 +1100 Subject: [PATCH] Fix BTCC Websocket JSON unmarshal error. --- btccwebsocket.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/btccwebsocket.go b/btccwebsocket.go index d4671dfd..101b1566 100644 --- a/btccwebsocket.go +++ b/btccwebsocket.go @@ -23,10 +23,10 @@ type BTCCWebsocketGroupOrder struct { } type BTCCWebsocketTrade struct { - Amount float64 `json:"amount,string"` + Amount float64 `json:"amount"` Date float64 `json:"date"` Market string `json:"market"` - Price float64 `json:"price,string"` + Price float64 `json:"price"` TradeID float64 `json:"trade_id"` Type string `json:"type"` }