Skip to content

Commit

Permalink
Trade 结构体完善
Browse files Browse the repository at this point in the history
  • Loading branch information
locxiang committed Nov 3, 2018
1 parent 7c7f320 commit 9876cbd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Metas.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ type Order struct {
}

type Trade struct {
Tid int64 `json:"tid"`
Type string `json:"type"`
Amount float64 `json:"amount,string"`
Price float64 `json:"price,string"`
Date int64 `json:"date_ms"`
Tid int64 `json:"tid"`
Type TradeSide `json:"type"`
Amount float64 `json:"amount,string"`
Price float64 `json:"price,string"`
Date int64 `json:"date_ms"`
Pair CurrencyPair `json:"omitempty"`
}

type SubAccount struct {
Expand Down

0 comments on commit 9876cbd

Please sign in to comment.