mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
maxapi: move NewGetMarginLoanHistoryRequest method to the bottom of the file
This commit is contained in:
parent
df842a04ee
commit
0bb697bc1e
|
@ -13,10 +13,6 @@ import (
|
|||
"github.com/c9s/bbgo/pkg/types"
|
||||
)
|
||||
|
||||
func (s *Client) NewGetMarginLoanHistoryRequest() *GetMarginLoanHistoryRequest {
|
||||
return &GetMarginLoanHistoryRequest{client: s.Client}
|
||||
}
|
||||
|
||||
type LoanRecord struct {
|
||||
SN string `json:"sn"`
|
||||
Currency string `json:"currency"`
|
||||
|
@ -36,3 +32,7 @@ type GetMarginLoanHistoryRequest struct {
|
|||
endTime *time.Time `param:"endTime,milliseconds"`
|
||||
limit *int `param:"limit"`
|
||||
}
|
||||
|
||||
func (s *Client) NewGetMarginLoanHistoryRequest() *GetMarginLoanHistoryRequest {
|
||||
return &GetMarginLoanHistoryRequest{client: s.Client}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user