mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
add query attribute
This commit is contained in:
parent
a34dbf12e2
commit
6972838c34
|
@ -128,19 +128,19 @@ type HistoryOrderListPage struct {
|
|||
type ListOrdersRequest struct {
|
||||
client requestgen.AuthenticatedAPIClient
|
||||
|
||||
status *string `param:"status" validValues:"active,done"`
|
||||
status *string `param:"status,query" validValues:"active,done"`
|
||||
|
||||
symbol *string `param:"symbol"`
|
||||
symbol *string `param:"symbol,query"`
|
||||
|
||||
side *SideType `param:"side" validValues:"buy,sell"`
|
||||
side *SideType `param:"side,query" validValues:"buy,sell"`
|
||||
|
||||
orderType *OrderType `param:"type"`
|
||||
orderType *OrderType `param:"type,query"`
|
||||
|
||||
tradeType *TradeType `param:"tradeType" default:"TRADE"`
|
||||
tradeType *TradeType `param:"tradeType,query" default:"TRADE"`
|
||||
|
||||
startAt *time.Time `param:"startAt,milliseconds"`
|
||||
startAt *time.Time `param:"startAt,query,milliseconds"`
|
||||
|
||||
endAt *time.Time `param:"endAt,milliseconds"`
|
||||
endAt *time.Time `param:"endAt,query,milliseconds"`
|
||||
}
|
||||
|
||||
type Order struct {
|
||||
|
|
Loading…
Reference in New Issue
Block a user