mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
maxapi: fix fromID to uint64
This commit is contained in:
parent
e754b68cdf
commit
93b10f20ac
|
@ -16,12 +16,12 @@ func (g *GetOrderHistoryRequest) Market(market string) *GetOrderHistoryRequest {
|
||||||
return g
|
return g
|
||||||
}
|
}
|
||||||
|
|
||||||
func (g *GetOrderHistoryRequest) FromID(fromID int64) *GetOrderHistoryRequest {
|
func (g *GetOrderHistoryRequest) FromID(fromID uint64) *GetOrderHistoryRequest {
|
||||||
g.fromID = &fromID
|
g.fromID = &fromID
|
||||||
return g
|
return g
|
||||||
}
|
}
|
||||||
|
|
||||||
func (g *GetOrderHistoryRequest) Limit(limit int) *GetOrderHistoryRequest {
|
func (g *GetOrderHistoryRequest) Limit(limit uint) *GetOrderHistoryRequest {
|
||||||
g.limit = &limit
|
g.limit = &limit
|
||||||
return g
|
return g
|
||||||
}
|
}
|
||||||
|
|
|
@ -148,8 +148,8 @@ type GetOrderHistoryRequest struct {
|
||||||
client requestgen.AuthenticatedAPIClient
|
client requestgen.AuthenticatedAPIClient
|
||||||
|
|
||||||
market string `param:"market"`
|
market string `param:"market"`
|
||||||
fromID *int64 `param:"from_id"`
|
fromID *uint64 `param:"from_id"`
|
||||||
limit *int `param:"limit"`
|
limit *uint `param:"limit"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *OrderService) NewGetOrderHistoryRequest() *GetOrderHistoryRequest {
|
func (s *OrderService) NewGetOrderHistoryRequest() *GetOrderHistoryRequest {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user