Skip to content

Commit

Permalink
Timestamp format should be int64
Browse files Browse the repository at this point in the history
  • Loading branch information
infinq committed Jan 18, 2021
1 parent a9254f0 commit 099e3a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bitvavo.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ type PublicTradesResponse struct {
}

type PublicTrades struct {
Timestamp int `json:"timestamp"`
Timestamp int64 `json:"timestamp"`
Id string `json:"id"`
Amount string `json:"amount"`
Price string `json:"price"`
Expand Down Expand Up @@ -396,7 +396,7 @@ type PreCandle struct {

type SubscriptionTrades struct {
Event string `json:"event"`
Timestamp int `json:"timestamp"`
Timestamp int64 `json:"timestamp"`
Market string `json:"market"`
Id string `json:"id"`
Amount string `json:"amount"`
Expand Down

0 comments on commit 099e3a7

Please sign in to comment.