diff --git a/pkg/exchange/max/maxapi/v3/get_margin_loan_history_request.go b/pkg/exchange/max/maxapi/v3/get_margin_loan_history_request.go index 2904ecc12..e3d6547e8 100644 --- a/pkg/exchange/max/maxapi/v3/get_margin_loan_history_request.go +++ b/pkg/exchange/max/maxapi/v3/get_margin_loan_history_request.go @@ -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} +}