bugfix: coinut and itbit API errors

This commit is contained in:
Adrian Gallagher
2019-01-25 16:15:57 +11:00
parent c2b91edace
commit 84aaaab059
2 changed files with 22 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ type OrderbookResponse struct {
type Trades struct {
RecentTrades []struct {
Timestamp string `json:"timestamp"`
MatchNumber int64 `json:"matchNumber"`
MatchNumber string `json:"matchNumber"`
Price float64 `json:"price,string"`
Amount float64 `json:"amount,string"`
} `json:"recentTrades"`