mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45: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"
|
"github.com/c9s/bbgo/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (s *Client) NewGetMarginLoanHistoryRequest() *GetMarginLoanHistoryRequest {
|
|
||||||
return &GetMarginLoanHistoryRequest{client: s.Client}
|
|
||||||
}
|
|
||||||
|
|
||||||
type LoanRecord struct {
|
type LoanRecord struct {
|
||||||
SN string `json:"sn"`
|
SN string `json:"sn"`
|
||||||
Currency string `json:"currency"`
|
Currency string `json:"currency"`
|
||||||
|
@ -36,3 +32,7 @@ type GetMarginLoanHistoryRequest struct {
|
||||||
endTime *time.Time `param:"endTime,milliseconds"`
|
endTime *time.Time `param:"endTime,milliseconds"`
|
||||||
limit *int `param:"limit"`
|
limit *int `param:"limit"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *Client) NewGetMarginLoanHistoryRequest() *GetMarginLoanHistoryRequest {
|
||||||
|
return &GetMarginLoanHistoryRequest{client: s.Client}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user