mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
maxapi: move NewGetMarginLoanHistoryRequest method to the bottom of the file
This commit is contained in:
parent
aff5447e71
commit
b7680a750b
|
@ -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