Documentation
¶
Index ¶
- type Client
- func (a *Client) GetPrivateCancel(params *GetPrivateCancelParams) (*GetPrivateCancelOK, error)
- func (a *Client) GetPrivateCancelAll(params *GetPrivateCancelAllParams) (*GetPrivateCancelAllOK, error)
- func (a *Client) GetPrivateCancelAllByCurrency(params *GetPrivateCancelAllByCurrencyParams) (*GetPrivateCancelAllByCurrencyOK, error)
- func (a *Client) GetPrivateCancelAllByInstrument(params *GetPrivateCancelAllByInstrumentParams) (*GetPrivateCancelAllByInstrumentOK, error)
- func (a *Client) GetPrivateCancelByLabel(params *GetPrivateCancelByLabelParams) (*GetPrivateCancelByLabelOK, error)
- func (a *Client) GetPrivateEdit(params *GetPrivateEditParams) (*GetPrivateEditOK, error)
- func (a *Client) GetPrivateGetMargins(params *GetPrivateGetMarginsParams) (*GetPrivateGetMarginsOK, error)
- func (a *Client) GetPrivateGetOpenOrdersByCurrency(params *GetPrivateGetOpenOrdersByCurrencyParams) (*GetPrivateGetOpenOrdersByCurrencyOK, error)
- func (a *Client) GetPrivateGetOpenOrdersByInstrument(params *GetPrivateGetOpenOrdersByInstrumentParams) (*GetPrivateGetOpenOrdersByInstrumentOK, error)
- func (a *Client) GetPrivateGetOrderHistoryByCurrency(params *GetPrivateGetOrderHistoryByCurrencyParams) (*GetPrivateGetOrderHistoryByCurrencyOK, error)
- func (a *Client) GetPrivateGetOrderHistoryByInstrument(params *GetPrivateGetOrderHistoryByInstrumentParams) (*GetPrivateGetOrderHistoryByInstrumentOK, error)
- func (a *Client) GetPrivateGetOrderMarginByIds(params *GetPrivateGetOrderMarginByIdsParams) (*GetPrivateGetOrderMarginByIdsOK, error)
- func (a *Client) GetPrivateGetSettlementHistoryByCurrency(params *GetPrivateGetSettlementHistoryByCurrencyParams) (*GetPrivateGetSettlementHistoryByCurrencyOK, error)
- func (a *Client) GetPrivateGetSettlementHistoryByInstrument(params *GetPrivateGetSettlementHistoryByInstrumentParams) (*GetPrivateGetSettlementHistoryByInstrumentOK, error)
- func (a *Client) GetPrivateGetStopOrderHistory(params *GetPrivateGetStopOrderHistoryParams) (*GetPrivateGetStopOrderHistoryOK, error)
- func (a *Client) GetPrivateGetUserTradesByCurrency(params *GetPrivateGetUserTradesByCurrencyParams) (*GetPrivateGetUserTradesByCurrencyOK, error)
- func (a *Client) GetPrivateGetUserTradesByCurrencyAndTime(params *GetPrivateGetUserTradesByCurrencyAndTimeParams) (*GetPrivateGetUserTradesByCurrencyAndTimeOK, error)
- func (a *Client) GetPrivateGetUserTradesByInstrument(params *GetPrivateGetUserTradesByInstrumentParams) (*GetPrivateGetUserTradesByInstrumentOK, error)
- func (a *Client) GetPrivateGetUserTradesByInstrumentAndTime(params *GetPrivateGetUserTradesByInstrumentAndTimeParams) (*GetPrivateGetUserTradesByInstrumentAndTimeOK, error)
- func (a *Client) GetPrivateGetUserTradesByOrder(params *GetPrivateGetUserTradesByOrderParams) (*GetPrivateGetUserTradesByOrderOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetPrivateCancelAllByCurrencyOK
- type GetPrivateCancelAllByCurrencyParams
- func NewGetPrivateCancelAllByCurrencyParams() *GetPrivateCancelAllByCurrencyParams
- func NewGetPrivateCancelAllByCurrencyParamsWithContext(ctx context.Context) *GetPrivateCancelAllByCurrencyParams
- func NewGetPrivateCancelAllByCurrencyParamsWithHTTPClient(client *http.Client) *GetPrivateCancelAllByCurrencyParams
- func NewGetPrivateCancelAllByCurrencyParamsWithTimeout(timeout time.Duration) *GetPrivateCancelAllByCurrencyParams
- func (o *GetPrivateCancelAllByCurrencyParams) SetContext(ctx context.Context)
- func (o *GetPrivateCancelAllByCurrencyParams) SetCurrency(currency string)
- func (o *GetPrivateCancelAllByCurrencyParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateCancelAllByCurrencyParams) SetKind(kind *string)
- func (o *GetPrivateCancelAllByCurrencyParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateCancelAllByCurrencyParams) SetType(typeVar *string)
- func (o *GetPrivateCancelAllByCurrencyParams) WithContext(ctx context.Context) *GetPrivateCancelAllByCurrencyParams
- func (o *GetPrivateCancelAllByCurrencyParams) WithCurrency(currency string) *GetPrivateCancelAllByCurrencyParams
- func (o *GetPrivateCancelAllByCurrencyParams) WithHTTPClient(client *http.Client) *GetPrivateCancelAllByCurrencyParams
- func (o *GetPrivateCancelAllByCurrencyParams) WithKind(kind *string) *GetPrivateCancelAllByCurrencyParams
- func (o *GetPrivateCancelAllByCurrencyParams) WithTimeout(timeout time.Duration) *GetPrivateCancelAllByCurrencyParams
- func (o *GetPrivateCancelAllByCurrencyParams) WithType(typeVar *string) *GetPrivateCancelAllByCurrencyParams
- func (o *GetPrivateCancelAllByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateCancelAllByCurrencyReader
- type GetPrivateCancelAllByInstrumentOK
- type GetPrivateCancelAllByInstrumentParams
- func NewGetPrivateCancelAllByInstrumentParams() *GetPrivateCancelAllByInstrumentParams
- func NewGetPrivateCancelAllByInstrumentParamsWithContext(ctx context.Context) *GetPrivateCancelAllByInstrumentParams
- func NewGetPrivateCancelAllByInstrumentParamsWithHTTPClient(client *http.Client) *GetPrivateCancelAllByInstrumentParams
- func NewGetPrivateCancelAllByInstrumentParamsWithTimeout(timeout time.Duration) *GetPrivateCancelAllByInstrumentParams
- func (o *GetPrivateCancelAllByInstrumentParams) SetContext(ctx context.Context)
- func (o *GetPrivateCancelAllByInstrumentParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateCancelAllByInstrumentParams) SetInstrumentName(instrumentName string)
- func (o *GetPrivateCancelAllByInstrumentParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateCancelAllByInstrumentParams) SetType(typeVar *string)
- func (o *GetPrivateCancelAllByInstrumentParams) WithContext(ctx context.Context) *GetPrivateCancelAllByInstrumentParams
- func (o *GetPrivateCancelAllByInstrumentParams) WithHTTPClient(client *http.Client) *GetPrivateCancelAllByInstrumentParams
- func (o *GetPrivateCancelAllByInstrumentParams) WithInstrumentName(instrumentName string) *GetPrivateCancelAllByInstrumentParams
- func (o *GetPrivateCancelAllByInstrumentParams) WithTimeout(timeout time.Duration) *GetPrivateCancelAllByInstrumentParams
- func (o *GetPrivateCancelAllByInstrumentParams) WithType(typeVar *string) *GetPrivateCancelAllByInstrumentParams
- func (o *GetPrivateCancelAllByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateCancelAllByInstrumentReader
- type GetPrivateCancelAllOK
- type GetPrivateCancelAllParams
- func NewGetPrivateCancelAllParams() *GetPrivateCancelAllParams
- func NewGetPrivateCancelAllParamsWithContext(ctx context.Context) *GetPrivateCancelAllParams
- func NewGetPrivateCancelAllParamsWithHTTPClient(client *http.Client) *GetPrivateCancelAllParams
- func NewGetPrivateCancelAllParamsWithTimeout(timeout time.Duration) *GetPrivateCancelAllParams
- func (o *GetPrivateCancelAllParams) SetContext(ctx context.Context)
- func (o *GetPrivateCancelAllParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateCancelAllParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateCancelAllParams) WithContext(ctx context.Context) *GetPrivateCancelAllParams
- func (o *GetPrivateCancelAllParams) WithHTTPClient(client *http.Client) *GetPrivateCancelAllParams
- func (o *GetPrivateCancelAllParams) WithTimeout(timeout time.Duration) *GetPrivateCancelAllParams
- func (o *GetPrivateCancelAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateCancelAllReader
- type GetPrivateCancelByLabelOK
- type GetPrivateCancelByLabelParams
- func NewGetPrivateCancelByLabelParams() *GetPrivateCancelByLabelParams
- func NewGetPrivateCancelByLabelParamsWithContext(ctx context.Context) *GetPrivateCancelByLabelParams
- func NewGetPrivateCancelByLabelParamsWithHTTPClient(client *http.Client) *GetPrivateCancelByLabelParams
- func NewGetPrivateCancelByLabelParamsWithTimeout(timeout time.Duration) *GetPrivateCancelByLabelParams
- func (o *GetPrivateCancelByLabelParams) SetContext(ctx context.Context)
- func (o *GetPrivateCancelByLabelParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateCancelByLabelParams) SetLabel(label string)
- func (o *GetPrivateCancelByLabelParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateCancelByLabelParams) WithContext(ctx context.Context) *GetPrivateCancelByLabelParams
- func (o *GetPrivateCancelByLabelParams) WithHTTPClient(client *http.Client) *GetPrivateCancelByLabelParams
- func (o *GetPrivateCancelByLabelParams) WithLabel(label string) *GetPrivateCancelByLabelParams
- func (o *GetPrivateCancelByLabelParams) WithTimeout(timeout time.Duration) *GetPrivateCancelByLabelParams
- func (o *GetPrivateCancelByLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateCancelByLabelReader
- type GetPrivateCancelOK
- type GetPrivateCancelParams
- func NewGetPrivateCancelParams() *GetPrivateCancelParams
- func NewGetPrivateCancelParamsWithContext(ctx context.Context) *GetPrivateCancelParams
- func NewGetPrivateCancelParamsWithHTTPClient(client *http.Client) *GetPrivateCancelParams
- func NewGetPrivateCancelParamsWithTimeout(timeout time.Duration) *GetPrivateCancelParams
- func (o *GetPrivateCancelParams) SetContext(ctx context.Context)
- func (o *GetPrivateCancelParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateCancelParams) SetOrderID(orderID string)
- func (o *GetPrivateCancelParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateCancelParams) WithContext(ctx context.Context) *GetPrivateCancelParams
- func (o *GetPrivateCancelParams) WithHTTPClient(client *http.Client) *GetPrivateCancelParams
- func (o *GetPrivateCancelParams) WithOrderID(orderID string) *GetPrivateCancelParams
- func (o *GetPrivateCancelParams) WithTimeout(timeout time.Duration) *GetPrivateCancelParams
- func (o *GetPrivateCancelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateCancelReader
- type GetPrivateEditOK
- type GetPrivateEditParams
- func NewGetPrivateEditParams() *GetPrivateEditParams
- func NewGetPrivateEditParamsWithContext(ctx context.Context) *GetPrivateEditParams
- func NewGetPrivateEditParamsWithHTTPClient(client *http.Client) *GetPrivateEditParams
- func NewGetPrivateEditParamsWithTimeout(timeout time.Duration) *GetPrivateEditParams
- func (o *GetPrivateEditParams) SetAdvanced(advanced *string)
- func (o *GetPrivateEditParams) SetAmount(amount float64)
- func (o *GetPrivateEditParams) SetContext(ctx context.Context)
- func (o *GetPrivateEditParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateEditParams) SetOrderID(orderID string)
- func (o *GetPrivateEditParams) SetPostOnly(postOnly *bool)
- func (o *GetPrivateEditParams) SetPrice(price float64)
- func (o *GetPrivateEditParams) SetStopPrice(stopPrice *float64)
- func (o *GetPrivateEditParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateEditParams) WithAdvanced(advanced *string) *GetPrivateEditParams
- func (o *GetPrivateEditParams) WithAmount(amount float64) *GetPrivateEditParams
- func (o *GetPrivateEditParams) WithContext(ctx context.Context) *GetPrivateEditParams
- func (o *GetPrivateEditParams) WithHTTPClient(client *http.Client) *GetPrivateEditParams
- func (o *GetPrivateEditParams) WithOrderID(orderID string) *GetPrivateEditParams
- func (o *GetPrivateEditParams) WithPostOnly(postOnly *bool) *GetPrivateEditParams
- func (o *GetPrivateEditParams) WithPrice(price float64) *GetPrivateEditParams
- func (o *GetPrivateEditParams) WithStopPrice(stopPrice *float64) *GetPrivateEditParams
- func (o *GetPrivateEditParams) WithTimeout(timeout time.Duration) *GetPrivateEditParams
- func (o *GetPrivateEditParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateEditReader
- type GetPrivateGetMarginsOK
- type GetPrivateGetMarginsParams
- func NewGetPrivateGetMarginsParams() *GetPrivateGetMarginsParams
- func NewGetPrivateGetMarginsParamsWithContext(ctx context.Context) *GetPrivateGetMarginsParams
- func NewGetPrivateGetMarginsParamsWithHTTPClient(client *http.Client) *GetPrivateGetMarginsParams
- func NewGetPrivateGetMarginsParamsWithTimeout(timeout time.Duration) *GetPrivateGetMarginsParams
- func (o *GetPrivateGetMarginsParams) SetAmount(amount float64)
- func (o *GetPrivateGetMarginsParams) SetContext(ctx context.Context)
- func (o *GetPrivateGetMarginsParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateGetMarginsParams) SetInstrumentName(instrumentName string)
- func (o *GetPrivateGetMarginsParams) SetPrice(price float64)
- func (o *GetPrivateGetMarginsParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateGetMarginsParams) WithAmount(amount float64) *GetPrivateGetMarginsParams
- func (o *GetPrivateGetMarginsParams) WithContext(ctx context.Context) *GetPrivateGetMarginsParams
- func (o *GetPrivateGetMarginsParams) WithHTTPClient(client *http.Client) *GetPrivateGetMarginsParams
- func (o *GetPrivateGetMarginsParams) WithInstrumentName(instrumentName string) *GetPrivateGetMarginsParams
- func (o *GetPrivateGetMarginsParams) WithPrice(price float64) *GetPrivateGetMarginsParams
- func (o *GetPrivateGetMarginsParams) WithTimeout(timeout time.Duration) *GetPrivateGetMarginsParams
- func (o *GetPrivateGetMarginsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateGetMarginsReader
- type GetPrivateGetOpenOrdersByCurrencyOK
- type GetPrivateGetOpenOrdersByCurrencyParams
- func NewGetPrivateGetOpenOrdersByCurrencyParams() *GetPrivateGetOpenOrdersByCurrencyParams
- func NewGetPrivateGetOpenOrdersByCurrencyParamsWithContext(ctx context.Context) *GetPrivateGetOpenOrdersByCurrencyParams
- func NewGetPrivateGetOpenOrdersByCurrencyParamsWithHTTPClient(client *http.Client) *GetPrivateGetOpenOrdersByCurrencyParams
- func NewGetPrivateGetOpenOrdersByCurrencyParamsWithTimeout(timeout time.Duration) *GetPrivateGetOpenOrdersByCurrencyParams
- func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetContext(ctx context.Context)
- func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetCurrency(currency string)
- func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetKind(kind *string)
- func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetType(typeVar *string)
- func (o *GetPrivateGetOpenOrdersByCurrencyParams) WithContext(ctx context.Context) *GetPrivateGetOpenOrdersByCurrencyParams
- func (o *GetPrivateGetOpenOrdersByCurrencyParams) WithCurrency(currency string) *GetPrivateGetOpenOrdersByCurrencyParams
- func (o *GetPrivateGetOpenOrdersByCurrencyParams) WithHTTPClient(client *http.Client) *GetPrivateGetOpenOrdersByCurrencyParams
- func (o *GetPrivateGetOpenOrdersByCurrencyParams) WithKind(kind *string) *GetPrivateGetOpenOrdersByCurrencyParams
- func (o *GetPrivateGetOpenOrdersByCurrencyParams) WithTimeout(timeout time.Duration) *GetPrivateGetOpenOrdersByCurrencyParams
- func (o *GetPrivateGetOpenOrdersByCurrencyParams) WithType(typeVar *string) *GetPrivateGetOpenOrdersByCurrencyParams
- func (o *GetPrivateGetOpenOrdersByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateGetOpenOrdersByCurrencyReader
- type GetPrivateGetOpenOrdersByInstrumentOK
- type GetPrivateGetOpenOrdersByInstrumentParams
- func NewGetPrivateGetOpenOrdersByInstrumentParams() *GetPrivateGetOpenOrdersByInstrumentParams
- func NewGetPrivateGetOpenOrdersByInstrumentParamsWithContext(ctx context.Context) *GetPrivateGetOpenOrdersByInstrumentParams
- func NewGetPrivateGetOpenOrdersByInstrumentParamsWithHTTPClient(client *http.Client) *GetPrivateGetOpenOrdersByInstrumentParams
- func NewGetPrivateGetOpenOrdersByInstrumentParamsWithTimeout(timeout time.Duration) *GetPrivateGetOpenOrdersByInstrumentParams
- func (o *GetPrivateGetOpenOrdersByInstrumentParams) SetContext(ctx context.Context)
- func (o *GetPrivateGetOpenOrdersByInstrumentParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateGetOpenOrdersByInstrumentParams) SetInstrumentName(instrumentName string)
- func (o *GetPrivateGetOpenOrdersByInstrumentParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateGetOpenOrdersByInstrumentParams) SetType(typeVar *string)
- func (o *GetPrivateGetOpenOrdersByInstrumentParams) WithContext(ctx context.Context) *GetPrivateGetOpenOrdersByInstrumentParams
- func (o *GetPrivateGetOpenOrdersByInstrumentParams) WithHTTPClient(client *http.Client) *GetPrivateGetOpenOrdersByInstrumentParams
- func (o *GetPrivateGetOpenOrdersByInstrumentParams) WithInstrumentName(instrumentName string) *GetPrivateGetOpenOrdersByInstrumentParams
- func (o *GetPrivateGetOpenOrdersByInstrumentParams) WithTimeout(timeout time.Duration) *GetPrivateGetOpenOrdersByInstrumentParams
- func (o *GetPrivateGetOpenOrdersByInstrumentParams) WithType(typeVar *string) *GetPrivateGetOpenOrdersByInstrumentParams
- func (o *GetPrivateGetOpenOrdersByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateGetOpenOrdersByInstrumentReader
- type GetPrivateGetOrderHistoryByCurrencyOK
- type GetPrivateGetOrderHistoryByCurrencyParams
- func NewGetPrivateGetOrderHistoryByCurrencyParams() *GetPrivateGetOrderHistoryByCurrencyParams
- func NewGetPrivateGetOrderHistoryByCurrencyParamsWithContext(ctx context.Context) *GetPrivateGetOrderHistoryByCurrencyParams
- func NewGetPrivateGetOrderHistoryByCurrencyParamsWithHTTPClient(client *http.Client) *GetPrivateGetOrderHistoryByCurrencyParams
- func NewGetPrivateGetOrderHistoryByCurrencyParamsWithTimeout(timeout time.Duration) *GetPrivateGetOrderHistoryByCurrencyParams
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetContext(ctx context.Context)
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetCount(count *int64)
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetCurrency(currency string)
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetIncludeOld(includeOld *bool)
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetIncludeUnfilled(includeUnfilled *bool)
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetKind(kind *string)
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetOffset(offset *int64)
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithContext(ctx context.Context) *GetPrivateGetOrderHistoryByCurrencyParams
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithCount(count *int64) *GetPrivateGetOrderHistoryByCurrencyParams
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithCurrency(currency string) *GetPrivateGetOrderHistoryByCurrencyParams
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithHTTPClient(client *http.Client) *GetPrivateGetOrderHistoryByCurrencyParams
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithIncludeOld(includeOld *bool) *GetPrivateGetOrderHistoryByCurrencyParams
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithIncludeUnfilled(includeUnfilled *bool) *GetPrivateGetOrderHistoryByCurrencyParams
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithKind(kind *string) *GetPrivateGetOrderHistoryByCurrencyParams
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithOffset(offset *int64) *GetPrivateGetOrderHistoryByCurrencyParams
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithTimeout(timeout time.Duration) *GetPrivateGetOrderHistoryByCurrencyParams
- func (o *GetPrivateGetOrderHistoryByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateGetOrderHistoryByCurrencyReader
- type GetPrivateGetOrderHistoryByInstrumentOK
- type GetPrivateGetOrderHistoryByInstrumentParams
- func NewGetPrivateGetOrderHistoryByInstrumentParams() *GetPrivateGetOrderHistoryByInstrumentParams
- func NewGetPrivateGetOrderHistoryByInstrumentParamsWithContext(ctx context.Context) *GetPrivateGetOrderHistoryByInstrumentParams
- func NewGetPrivateGetOrderHistoryByInstrumentParamsWithHTTPClient(client *http.Client) *GetPrivateGetOrderHistoryByInstrumentParams
- func NewGetPrivateGetOrderHistoryByInstrumentParamsWithTimeout(timeout time.Duration) *GetPrivateGetOrderHistoryByInstrumentParams
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetContext(ctx context.Context)
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetCount(count *int64)
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetIncludeOld(includeOld *bool)
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetIncludeUnfilled(includeUnfilled *bool)
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetInstrumentName(instrumentName string)
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetOffset(offset *int64)
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithContext(ctx context.Context) *GetPrivateGetOrderHistoryByInstrumentParams
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithCount(count *int64) *GetPrivateGetOrderHistoryByInstrumentParams
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithHTTPClient(client *http.Client) *GetPrivateGetOrderHistoryByInstrumentParams
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithIncludeOld(includeOld *bool) *GetPrivateGetOrderHistoryByInstrumentParams
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithIncludeUnfilled(includeUnfilled *bool) *GetPrivateGetOrderHistoryByInstrumentParams
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithInstrumentName(instrumentName string) *GetPrivateGetOrderHistoryByInstrumentParams
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithOffset(offset *int64) *GetPrivateGetOrderHistoryByInstrumentParams
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithTimeout(timeout time.Duration) *GetPrivateGetOrderHistoryByInstrumentParams
- func (o *GetPrivateGetOrderHistoryByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateGetOrderHistoryByInstrumentReader
- type GetPrivateGetOrderMarginByIdsOK
- type GetPrivateGetOrderMarginByIdsParams
- func NewGetPrivateGetOrderMarginByIdsParams() *GetPrivateGetOrderMarginByIdsParams
- func NewGetPrivateGetOrderMarginByIdsParamsWithContext(ctx context.Context) *GetPrivateGetOrderMarginByIdsParams
- func NewGetPrivateGetOrderMarginByIdsParamsWithHTTPClient(client *http.Client) *GetPrivateGetOrderMarginByIdsParams
- func NewGetPrivateGetOrderMarginByIdsParamsWithTimeout(timeout time.Duration) *GetPrivateGetOrderMarginByIdsParams
- func (o *GetPrivateGetOrderMarginByIdsParams) SetContext(ctx context.Context)
- func (o *GetPrivateGetOrderMarginByIdsParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateGetOrderMarginByIdsParams) SetIds(ids []string)
- func (o *GetPrivateGetOrderMarginByIdsParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateGetOrderMarginByIdsParams) WithContext(ctx context.Context) *GetPrivateGetOrderMarginByIdsParams
- func (o *GetPrivateGetOrderMarginByIdsParams) WithHTTPClient(client *http.Client) *GetPrivateGetOrderMarginByIdsParams
- func (o *GetPrivateGetOrderMarginByIdsParams) WithIds(ids []string) *GetPrivateGetOrderMarginByIdsParams
- func (o *GetPrivateGetOrderMarginByIdsParams) WithTimeout(timeout time.Duration) *GetPrivateGetOrderMarginByIdsParams
- func (o *GetPrivateGetOrderMarginByIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateGetOrderMarginByIdsReader
- type GetPrivateGetSettlementHistoryByCurrencyOK
- type GetPrivateGetSettlementHistoryByCurrencyParams
- func NewGetPrivateGetSettlementHistoryByCurrencyParams() *GetPrivateGetSettlementHistoryByCurrencyParams
- func NewGetPrivateGetSettlementHistoryByCurrencyParamsWithContext(ctx context.Context) *GetPrivateGetSettlementHistoryByCurrencyParams
- func NewGetPrivateGetSettlementHistoryByCurrencyParamsWithHTTPClient(client *http.Client) *GetPrivateGetSettlementHistoryByCurrencyParams
- func NewGetPrivateGetSettlementHistoryByCurrencyParamsWithTimeout(timeout time.Duration) *GetPrivateGetSettlementHistoryByCurrencyParams
- func (o *GetPrivateGetSettlementHistoryByCurrencyParams) SetContext(ctx context.Context)
- func (o *GetPrivateGetSettlementHistoryByCurrencyParams) SetCount(count *int64)
- func (o *GetPrivateGetSettlementHistoryByCurrencyParams) SetCurrency(currency string)
- func (o *GetPrivateGetSettlementHistoryByCurrencyParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateGetSettlementHistoryByCurrencyParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateGetSettlementHistoryByCurrencyParams) SetType(typeVar *string)
- func (o *GetPrivateGetSettlementHistoryByCurrencyParams) WithContext(ctx context.Context) *GetPrivateGetSettlementHistoryByCurrencyParams
- func (o *GetPrivateGetSettlementHistoryByCurrencyParams) WithCount(count *int64) *GetPrivateGetSettlementHistoryByCurrencyParams
- func (o *GetPrivateGetSettlementHistoryByCurrencyParams) WithCurrency(currency string) *GetPrivateGetSettlementHistoryByCurrencyParams
- func (o *GetPrivateGetSettlementHistoryByCurrencyParams) WithHTTPClient(client *http.Client) *GetPrivateGetSettlementHistoryByCurrencyParams
- func (o *GetPrivateGetSettlementHistoryByCurrencyParams) WithTimeout(timeout time.Duration) *GetPrivateGetSettlementHistoryByCurrencyParams
- func (o *GetPrivateGetSettlementHistoryByCurrencyParams) WithType(typeVar *string) *GetPrivateGetSettlementHistoryByCurrencyParams
- func (o *GetPrivateGetSettlementHistoryByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateGetSettlementHistoryByCurrencyReader
- type GetPrivateGetSettlementHistoryByInstrumentOK
- type GetPrivateGetSettlementHistoryByInstrumentParams
- func NewGetPrivateGetSettlementHistoryByInstrumentParams() *GetPrivateGetSettlementHistoryByInstrumentParams
- func NewGetPrivateGetSettlementHistoryByInstrumentParamsWithContext(ctx context.Context) *GetPrivateGetSettlementHistoryByInstrumentParams
- func NewGetPrivateGetSettlementHistoryByInstrumentParamsWithHTTPClient(client *http.Client) *GetPrivateGetSettlementHistoryByInstrumentParams
- func NewGetPrivateGetSettlementHistoryByInstrumentParamsWithTimeout(timeout time.Duration) *GetPrivateGetSettlementHistoryByInstrumentParams
- func (o *GetPrivateGetSettlementHistoryByInstrumentParams) SetContext(ctx context.Context)
- func (o *GetPrivateGetSettlementHistoryByInstrumentParams) SetCount(count *int64)
- func (o *GetPrivateGetSettlementHistoryByInstrumentParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateGetSettlementHistoryByInstrumentParams) SetInstrumentName(instrumentName string)
- func (o *GetPrivateGetSettlementHistoryByInstrumentParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateGetSettlementHistoryByInstrumentParams) SetType(typeVar *string)
- func (o *GetPrivateGetSettlementHistoryByInstrumentParams) WithContext(ctx context.Context) *GetPrivateGetSettlementHistoryByInstrumentParams
- func (o *GetPrivateGetSettlementHistoryByInstrumentParams) WithCount(count *int64) *GetPrivateGetSettlementHistoryByInstrumentParams
- func (o *GetPrivateGetSettlementHistoryByInstrumentParams) WithHTTPClient(client *http.Client) *GetPrivateGetSettlementHistoryByInstrumentParams
- func (o *GetPrivateGetSettlementHistoryByInstrumentParams) WithInstrumentName(instrumentName string) *GetPrivateGetSettlementHistoryByInstrumentParams
- func (o *GetPrivateGetSettlementHistoryByInstrumentParams) WithTimeout(timeout time.Duration) *GetPrivateGetSettlementHistoryByInstrumentParams
- func (o *GetPrivateGetSettlementHistoryByInstrumentParams) WithType(typeVar *string) *GetPrivateGetSettlementHistoryByInstrumentParams
- func (o *GetPrivateGetSettlementHistoryByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateGetSettlementHistoryByInstrumentReader
- type GetPrivateGetStopOrderHistoryOK
- type GetPrivateGetStopOrderHistoryParams
- func NewGetPrivateGetStopOrderHistoryParams() *GetPrivateGetStopOrderHistoryParams
- func NewGetPrivateGetStopOrderHistoryParamsWithContext(ctx context.Context) *GetPrivateGetStopOrderHistoryParams
- func NewGetPrivateGetStopOrderHistoryParamsWithHTTPClient(client *http.Client) *GetPrivateGetStopOrderHistoryParams
- func NewGetPrivateGetStopOrderHistoryParamsWithTimeout(timeout time.Duration) *GetPrivateGetStopOrderHistoryParams
- func (o *GetPrivateGetStopOrderHistoryParams) SetContext(ctx context.Context)
- func (o *GetPrivateGetStopOrderHistoryParams) SetContinuation(continuation *string)
- func (o *GetPrivateGetStopOrderHistoryParams) SetCount(count *int64)
- func (o *GetPrivateGetStopOrderHistoryParams) SetCurrency(currency string)
- func (o *GetPrivateGetStopOrderHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateGetStopOrderHistoryParams) SetInstrumentName(instrumentName string)
- func (o *GetPrivateGetStopOrderHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateGetStopOrderHistoryParams) WithContext(ctx context.Context) *GetPrivateGetStopOrderHistoryParams
- func (o *GetPrivateGetStopOrderHistoryParams) WithContinuation(continuation *string) *GetPrivateGetStopOrderHistoryParams
- func (o *GetPrivateGetStopOrderHistoryParams) WithCount(count *int64) *GetPrivateGetStopOrderHistoryParams
- func (o *GetPrivateGetStopOrderHistoryParams) WithCurrency(currency string) *GetPrivateGetStopOrderHistoryParams
- func (o *GetPrivateGetStopOrderHistoryParams) WithHTTPClient(client *http.Client) *GetPrivateGetStopOrderHistoryParams
- func (o *GetPrivateGetStopOrderHistoryParams) WithInstrumentName(instrumentName string) *GetPrivateGetStopOrderHistoryParams
- func (o *GetPrivateGetStopOrderHistoryParams) WithTimeout(timeout time.Duration) *GetPrivateGetStopOrderHistoryParams
- func (o *GetPrivateGetStopOrderHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateGetStopOrderHistoryReader
- type GetPrivateGetUserTradesByCurrencyAndTimeOK
- type GetPrivateGetUserTradesByCurrencyAndTimeParams
- func NewGetPrivateGetUserTradesByCurrencyAndTimeParams() *GetPrivateGetUserTradesByCurrencyAndTimeParams
- func NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithContext(ctx context.Context) *GetPrivateGetUserTradesByCurrencyAndTimeParams
- func NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByCurrencyAndTimeParams
- func NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByCurrencyAndTimeParams
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetContext(ctx context.Context)
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetCount(count *int64)
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetCurrency(currency string)
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetEndTimestamp(endTimestamp int64)
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetIncludeOld(includeOld *bool)
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetKind(kind *string)
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetSorting(sorting *string)
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetStartTimestamp(startTimestamp int64)
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithContext(ctx context.Context) *GetPrivateGetUserTradesByCurrencyAndTimeParams
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithCount(count *int64) *GetPrivateGetUserTradesByCurrencyAndTimeParams
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithCurrency(currency string) *GetPrivateGetUserTradesByCurrencyAndTimeParams
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithEndTimestamp(endTimestamp int64) *GetPrivateGetUserTradesByCurrencyAndTimeParams
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByCurrencyAndTimeParams
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithIncludeOld(includeOld *bool) *GetPrivateGetUserTradesByCurrencyAndTimeParams
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithKind(kind *string) *GetPrivateGetUserTradesByCurrencyAndTimeParams
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithSorting(sorting *string) *GetPrivateGetUserTradesByCurrencyAndTimeParams
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithStartTimestamp(startTimestamp int64) *GetPrivateGetUserTradesByCurrencyAndTimeParams
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByCurrencyAndTimeParams
- func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateGetUserTradesByCurrencyAndTimeReader
- type GetPrivateGetUserTradesByCurrencyOK
- type GetPrivateGetUserTradesByCurrencyParams
- func NewGetPrivateGetUserTradesByCurrencyParams() *GetPrivateGetUserTradesByCurrencyParams
- func NewGetPrivateGetUserTradesByCurrencyParamsWithContext(ctx context.Context) *GetPrivateGetUserTradesByCurrencyParams
- func NewGetPrivateGetUserTradesByCurrencyParamsWithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByCurrencyParams
- func NewGetPrivateGetUserTradesByCurrencyParamsWithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByCurrencyParams
- func (o *GetPrivateGetUserTradesByCurrencyParams) SetContext(ctx context.Context)
- func (o *GetPrivateGetUserTradesByCurrencyParams) SetCount(count *int64)
- func (o *GetPrivateGetUserTradesByCurrencyParams) SetCurrency(currency string)
- func (o *GetPrivateGetUserTradesByCurrencyParams) SetEndID(endID *string)
- func (o *GetPrivateGetUserTradesByCurrencyParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateGetUserTradesByCurrencyParams) SetIncludeOld(includeOld *bool)
- func (o *GetPrivateGetUserTradesByCurrencyParams) SetKind(kind *string)
- func (o *GetPrivateGetUserTradesByCurrencyParams) SetSorting(sorting *string)
- func (o *GetPrivateGetUserTradesByCurrencyParams) SetStartID(startID *string)
- func (o *GetPrivateGetUserTradesByCurrencyParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateGetUserTradesByCurrencyParams) WithContext(ctx context.Context) *GetPrivateGetUserTradesByCurrencyParams
- func (o *GetPrivateGetUserTradesByCurrencyParams) WithCount(count *int64) *GetPrivateGetUserTradesByCurrencyParams
- func (o *GetPrivateGetUserTradesByCurrencyParams) WithCurrency(currency string) *GetPrivateGetUserTradesByCurrencyParams
- func (o *GetPrivateGetUserTradesByCurrencyParams) WithEndID(endID *string) *GetPrivateGetUserTradesByCurrencyParams
- func (o *GetPrivateGetUserTradesByCurrencyParams) WithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByCurrencyParams
- func (o *GetPrivateGetUserTradesByCurrencyParams) WithIncludeOld(includeOld *bool) *GetPrivateGetUserTradesByCurrencyParams
- func (o *GetPrivateGetUserTradesByCurrencyParams) WithKind(kind *string) *GetPrivateGetUserTradesByCurrencyParams
- func (o *GetPrivateGetUserTradesByCurrencyParams) WithSorting(sorting *string) *GetPrivateGetUserTradesByCurrencyParams
- func (o *GetPrivateGetUserTradesByCurrencyParams) WithStartID(startID *string) *GetPrivateGetUserTradesByCurrencyParams
- func (o *GetPrivateGetUserTradesByCurrencyParams) WithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByCurrencyParams
- func (o *GetPrivateGetUserTradesByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateGetUserTradesByCurrencyReader
- type GetPrivateGetUserTradesByInstrumentAndTimeOK
- type GetPrivateGetUserTradesByInstrumentAndTimeParams
- func NewGetPrivateGetUserTradesByInstrumentAndTimeParams() *GetPrivateGetUserTradesByInstrumentAndTimeParams
- func NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithContext(ctx context.Context) *GetPrivateGetUserTradesByInstrumentAndTimeParams
- func NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByInstrumentAndTimeParams
- func NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByInstrumentAndTimeParams
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetContext(ctx context.Context)
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetCount(count *int64)
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetEndTimestamp(endTimestamp int64)
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetIncludeOld(includeOld *bool)
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetInstrumentName(instrumentName string)
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetSorting(sorting *string)
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetStartTimestamp(startTimestamp int64)
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithContext(ctx context.Context) *GetPrivateGetUserTradesByInstrumentAndTimeParams
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithCount(count *int64) *GetPrivateGetUserTradesByInstrumentAndTimeParams
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithEndTimestamp(endTimestamp int64) *GetPrivateGetUserTradesByInstrumentAndTimeParams
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByInstrumentAndTimeParams
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithIncludeOld(includeOld *bool) *GetPrivateGetUserTradesByInstrumentAndTimeParams
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithInstrumentName(instrumentName string) *GetPrivateGetUserTradesByInstrumentAndTimeParams
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithSorting(sorting *string) *GetPrivateGetUserTradesByInstrumentAndTimeParams
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithStartTimestamp(startTimestamp int64) *GetPrivateGetUserTradesByInstrumentAndTimeParams
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByInstrumentAndTimeParams
- func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateGetUserTradesByInstrumentAndTimeReader
- type GetPrivateGetUserTradesByInstrumentOK
- type GetPrivateGetUserTradesByInstrumentParams
- func NewGetPrivateGetUserTradesByInstrumentParams() *GetPrivateGetUserTradesByInstrumentParams
- func NewGetPrivateGetUserTradesByInstrumentParamsWithContext(ctx context.Context) *GetPrivateGetUserTradesByInstrumentParams
- func NewGetPrivateGetUserTradesByInstrumentParamsWithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByInstrumentParams
- func NewGetPrivateGetUserTradesByInstrumentParamsWithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByInstrumentParams
- func (o *GetPrivateGetUserTradesByInstrumentParams) SetContext(ctx context.Context)
- func (o *GetPrivateGetUserTradesByInstrumentParams) SetCount(count *int64)
- func (o *GetPrivateGetUserTradesByInstrumentParams) SetEndSeq(endSeq *int64)
- func (o *GetPrivateGetUserTradesByInstrumentParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateGetUserTradesByInstrumentParams) SetIncludeOld(includeOld *bool)
- func (o *GetPrivateGetUserTradesByInstrumentParams) SetInstrumentName(instrumentName string)
- func (o *GetPrivateGetUserTradesByInstrumentParams) SetSorting(sorting *string)
- func (o *GetPrivateGetUserTradesByInstrumentParams) SetStartSeq(startSeq *int64)
- func (o *GetPrivateGetUserTradesByInstrumentParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateGetUserTradesByInstrumentParams) WithContext(ctx context.Context) *GetPrivateGetUserTradesByInstrumentParams
- func (o *GetPrivateGetUserTradesByInstrumentParams) WithCount(count *int64) *GetPrivateGetUserTradesByInstrumentParams
- func (o *GetPrivateGetUserTradesByInstrumentParams) WithEndSeq(endSeq *int64) *GetPrivateGetUserTradesByInstrumentParams
- func (o *GetPrivateGetUserTradesByInstrumentParams) WithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByInstrumentParams
- func (o *GetPrivateGetUserTradesByInstrumentParams) WithIncludeOld(includeOld *bool) *GetPrivateGetUserTradesByInstrumentParams
- func (o *GetPrivateGetUserTradesByInstrumentParams) WithInstrumentName(instrumentName string) *GetPrivateGetUserTradesByInstrumentParams
- func (o *GetPrivateGetUserTradesByInstrumentParams) WithSorting(sorting *string) *GetPrivateGetUserTradesByInstrumentParams
- func (o *GetPrivateGetUserTradesByInstrumentParams) WithStartSeq(startSeq *int64) *GetPrivateGetUserTradesByInstrumentParams
- func (o *GetPrivateGetUserTradesByInstrumentParams) WithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByInstrumentParams
- func (o *GetPrivateGetUserTradesByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateGetUserTradesByInstrumentReader
- type GetPrivateGetUserTradesByOrderOK
- type GetPrivateGetUserTradesByOrderParams
- func NewGetPrivateGetUserTradesByOrderParams() *GetPrivateGetUserTradesByOrderParams
- func NewGetPrivateGetUserTradesByOrderParamsWithContext(ctx context.Context) *GetPrivateGetUserTradesByOrderParams
- func NewGetPrivateGetUserTradesByOrderParamsWithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByOrderParams
- func NewGetPrivateGetUserTradesByOrderParamsWithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByOrderParams
- func (o *GetPrivateGetUserTradesByOrderParams) SetContext(ctx context.Context)
- func (o *GetPrivateGetUserTradesByOrderParams) SetHTTPClient(client *http.Client)
- func (o *GetPrivateGetUserTradesByOrderParams) SetOrderID(orderID string)
- func (o *GetPrivateGetUserTradesByOrderParams) SetSorting(sorting *string)
- func (o *GetPrivateGetUserTradesByOrderParams) SetTimeout(timeout time.Duration)
- func (o *GetPrivateGetUserTradesByOrderParams) WithContext(ctx context.Context) *GetPrivateGetUserTradesByOrderParams
- func (o *GetPrivateGetUserTradesByOrderParams) WithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByOrderParams
- func (o *GetPrivateGetUserTradesByOrderParams) WithOrderID(orderID string) *GetPrivateGetUserTradesByOrderParams
- func (o *GetPrivateGetUserTradesByOrderParams) WithSorting(sorting *string) *GetPrivateGetUserTradesByOrderParams
- func (o *GetPrivateGetUserTradesByOrderParams) WithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByOrderParams
- func (o *GetPrivateGetUserTradesByOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPrivateGetUserTradesByOrderReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for trading API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new trading API client.
func (*Client) GetPrivateCancel ¶
func (a *Client) GetPrivateCancel(params *GetPrivateCancelParams) (*GetPrivateCancelOK, error)
GetPrivateCancel cancels an order specified by order id
func (*Client) GetPrivateCancelAll ¶
func (a *Client) GetPrivateCancelAll(params *GetPrivateCancelAllParams) (*GetPrivateCancelAllOK, error)
GetPrivateCancelAll this method cancels all users orders and stop orders within all currencies and instrument kinds
func (*Client) GetPrivateCancelAllByCurrency ¶
func (a *Client) GetPrivateCancelAllByCurrency(params *GetPrivateCancelAllByCurrencyParams) (*GetPrivateCancelAllByCurrencyOK, error)
GetPrivateCancelAllByCurrency cancels all orders by currency optionally filtered by instrument kind and or order type
func (*Client) GetPrivateCancelAllByInstrument ¶
func (a *Client) GetPrivateCancelAllByInstrument(params *GetPrivateCancelAllByInstrumentParams) (*GetPrivateCancelAllByInstrumentOK, error)
GetPrivateCancelAllByInstrument cancels all orders by instrument optionally filtered by order type
func (*Client) GetPrivateCancelByLabel ¶
func (a *Client) GetPrivateCancelByLabel(params *GetPrivateCancelByLabelParams) (*GetPrivateCancelByLabelOK, error)
GetPrivateCancelByLabel cancels an order specified by order label
func (*Client) GetPrivateEdit ¶
func (a *Client) GetPrivateEdit(params *GetPrivateEditParams) (*GetPrivateEditOK, error)
GetPrivateEdit changes price amount and or other properties of an order
func (*Client) GetPrivateGetMargins ¶
func (a *Client) GetPrivateGetMargins(params *GetPrivateGetMarginsParams) (*GetPrivateGetMarginsOK, error)
GetPrivateGetMargins gets margins for given instrument amount and price
func (*Client) GetPrivateGetOpenOrdersByCurrency ¶
func (a *Client) GetPrivateGetOpenOrdersByCurrency(params *GetPrivateGetOpenOrdersByCurrencyParams) (*GetPrivateGetOpenOrdersByCurrencyOK, error)
GetPrivateGetOpenOrdersByCurrency retrieves list of user s open orders
func (*Client) GetPrivateGetOpenOrdersByInstrument ¶
func (a *Client) GetPrivateGetOpenOrdersByInstrument(params *GetPrivateGetOpenOrdersByInstrumentParams) (*GetPrivateGetOpenOrdersByInstrumentOK, error)
GetPrivateGetOpenOrdersByInstrument retrieves list of user s open orders within given instrument
func (*Client) GetPrivateGetOrderHistoryByCurrency ¶
func (a *Client) GetPrivateGetOrderHistoryByCurrency(params *GetPrivateGetOrderHistoryByCurrencyParams) (*GetPrivateGetOrderHistoryByCurrencyOK, error)
GetPrivateGetOrderHistoryByCurrency retrieves history of orders that have been partially or fully filled
func (*Client) GetPrivateGetOrderHistoryByInstrument ¶
func (a *Client) GetPrivateGetOrderHistoryByInstrument(params *GetPrivateGetOrderHistoryByInstrumentParams) (*GetPrivateGetOrderHistoryByInstrumentOK, error)
GetPrivateGetOrderHistoryByInstrument retrieves history of orders that have been partially or fully filled
func (*Client) GetPrivateGetOrderMarginByIds ¶
func (a *Client) GetPrivateGetOrderMarginByIds(params *GetPrivateGetOrderMarginByIdsParams) (*GetPrivateGetOrderMarginByIdsOK, error)
GetPrivateGetOrderMarginByIds retrieves initial margins of given orders
func (*Client) GetPrivateGetSettlementHistoryByCurrency ¶
func (a *Client) GetPrivateGetSettlementHistoryByCurrency(params *GetPrivateGetSettlementHistoryByCurrencyParams) (*GetPrivateGetSettlementHistoryByCurrencyOK, error)
GetPrivateGetSettlementHistoryByCurrency retrieves settlement delivery and bankruptcy events that have affected your account
func (*Client) GetPrivateGetSettlementHistoryByInstrument ¶
func (a *Client) GetPrivateGetSettlementHistoryByInstrument(params *GetPrivateGetSettlementHistoryByInstrumentParams) (*GetPrivateGetSettlementHistoryByInstrumentOK, error)
GetPrivateGetSettlementHistoryByInstrument retrieves public settlement delivery and bankruptcy events filtered by instrument name
func (*Client) GetPrivateGetStopOrderHistory ¶
func (a *Client) GetPrivateGetStopOrderHistory(params *GetPrivateGetStopOrderHistoryParams) (*GetPrivateGetStopOrderHistoryOK, error)
GetPrivateGetStopOrderHistory retrieves detailed log of the user s stop orders
func (*Client) GetPrivateGetUserTradesByCurrency ¶
func (a *Client) GetPrivateGetUserTradesByCurrency(params *GetPrivateGetUserTradesByCurrencyParams) (*GetPrivateGetUserTradesByCurrencyOK, error)
GetPrivateGetUserTradesByCurrency retrieves the latest user trades that have occurred for instruments in a specific currency symbol
func (*Client) GetPrivateGetUserTradesByCurrencyAndTime ¶
func (a *Client) GetPrivateGetUserTradesByCurrencyAndTime(params *GetPrivateGetUserTradesByCurrencyAndTimeParams) (*GetPrivateGetUserTradesByCurrencyAndTimeOK, error)
GetPrivateGetUserTradesByCurrencyAndTime retrieves the latest user trades that have occurred for instruments in a specific currency symbol and within given time range
func (*Client) GetPrivateGetUserTradesByInstrument ¶
func (a *Client) GetPrivateGetUserTradesByInstrument(params *GetPrivateGetUserTradesByInstrumentParams) (*GetPrivateGetUserTradesByInstrumentOK, error)
GetPrivateGetUserTradesByInstrument retrieves the latest user trades that have occurred for a specific instrument
func (*Client) GetPrivateGetUserTradesByInstrumentAndTime ¶
func (a *Client) GetPrivateGetUserTradesByInstrumentAndTime(params *GetPrivateGetUserTradesByInstrumentAndTimeParams) (*GetPrivateGetUserTradesByInstrumentAndTimeOK, error)
GetPrivateGetUserTradesByInstrumentAndTime retrieves the latest user trades that have occurred for a specific instrument and within given time range
func (*Client) GetPrivateGetUserTradesByOrder ¶
func (a *Client) GetPrivateGetUserTradesByOrder(params *GetPrivateGetUserTradesByOrderParams) (*GetPrivateGetUserTradesByOrderOK, error)
GetPrivateGetUserTradesByOrder retrieves the list of user trades that was created for given order
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetPrivateCancelAllByCurrencyOK ¶
type GetPrivateCancelAllByCurrencyOK struct {
Payload *models.PrivateCancelAllResponse
}
GetPrivateCancelAllByCurrencyOK handles this case with default header values.
GetPrivateCancelAllByCurrencyOK get private cancel all by currency o k
func NewGetPrivateCancelAllByCurrencyOK ¶
func NewGetPrivateCancelAllByCurrencyOK() *GetPrivateCancelAllByCurrencyOK
NewGetPrivateCancelAllByCurrencyOK creates a GetPrivateCancelAllByCurrencyOK with default headers values
func (*GetPrivateCancelAllByCurrencyOK) Error ¶
func (o *GetPrivateCancelAllByCurrencyOK) Error() string
func (*GetPrivateCancelAllByCurrencyOK) GetPayload ¶
func (o *GetPrivateCancelAllByCurrencyOK) GetPayload() *models.PrivateCancelAllResponse
type GetPrivateCancelAllByCurrencyParams ¶
type GetPrivateCancelAllByCurrencyParams struct { /*Currency The currency symbol */ Currency string /*Kind Instrument kind, if not provided instruments of all kinds are considered */ Kind *string /*Type Order type - limit, stop or all, default - `all` */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateCancelAllByCurrencyParams contains all the parameters to send to the API endpoint for the get private cancel all by currency operation typically these are written to a http.Request
func NewGetPrivateCancelAllByCurrencyParams ¶
func NewGetPrivateCancelAllByCurrencyParams() *GetPrivateCancelAllByCurrencyParams
NewGetPrivateCancelAllByCurrencyParams creates a new GetPrivateCancelAllByCurrencyParams object with the default values initialized.
func NewGetPrivateCancelAllByCurrencyParamsWithContext ¶
func NewGetPrivateCancelAllByCurrencyParamsWithContext(ctx context.Context) *GetPrivateCancelAllByCurrencyParams
NewGetPrivateCancelAllByCurrencyParamsWithContext creates a new GetPrivateCancelAllByCurrencyParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateCancelAllByCurrencyParamsWithHTTPClient ¶
func NewGetPrivateCancelAllByCurrencyParamsWithHTTPClient(client *http.Client) *GetPrivateCancelAllByCurrencyParams
NewGetPrivateCancelAllByCurrencyParamsWithHTTPClient creates a new GetPrivateCancelAllByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateCancelAllByCurrencyParamsWithTimeout ¶
func NewGetPrivateCancelAllByCurrencyParamsWithTimeout(timeout time.Duration) *GetPrivateCancelAllByCurrencyParams
NewGetPrivateCancelAllByCurrencyParamsWithTimeout creates a new GetPrivateCancelAllByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateCancelAllByCurrencyParams) SetContext ¶
func (o *GetPrivateCancelAllByCurrencyParams) SetContext(ctx context.Context)
SetContext adds the context to the get private cancel all by currency params
func (*GetPrivateCancelAllByCurrencyParams) SetCurrency ¶
func (o *GetPrivateCancelAllByCurrencyParams) SetCurrency(currency string)
SetCurrency adds the currency to the get private cancel all by currency params
func (*GetPrivateCancelAllByCurrencyParams) SetHTTPClient ¶
func (o *GetPrivateCancelAllByCurrencyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private cancel all by currency params
func (*GetPrivateCancelAllByCurrencyParams) SetKind ¶
func (o *GetPrivateCancelAllByCurrencyParams) SetKind(kind *string)
SetKind adds the kind to the get private cancel all by currency params
func (*GetPrivateCancelAllByCurrencyParams) SetTimeout ¶
func (o *GetPrivateCancelAllByCurrencyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private cancel all by currency params
func (*GetPrivateCancelAllByCurrencyParams) SetType ¶
func (o *GetPrivateCancelAllByCurrencyParams) SetType(typeVar *string)
SetType adds the type to the get private cancel all by currency params
func (*GetPrivateCancelAllByCurrencyParams) WithContext ¶
func (o *GetPrivateCancelAllByCurrencyParams) WithContext(ctx context.Context) *GetPrivateCancelAllByCurrencyParams
WithContext adds the context to the get private cancel all by currency params
func (*GetPrivateCancelAllByCurrencyParams) WithCurrency ¶
func (o *GetPrivateCancelAllByCurrencyParams) WithCurrency(currency string) *GetPrivateCancelAllByCurrencyParams
WithCurrency adds the currency to the get private cancel all by currency params
func (*GetPrivateCancelAllByCurrencyParams) WithHTTPClient ¶
func (o *GetPrivateCancelAllByCurrencyParams) WithHTTPClient(client *http.Client) *GetPrivateCancelAllByCurrencyParams
WithHTTPClient adds the HTTPClient to the get private cancel all by currency params
func (*GetPrivateCancelAllByCurrencyParams) WithKind ¶
func (o *GetPrivateCancelAllByCurrencyParams) WithKind(kind *string) *GetPrivateCancelAllByCurrencyParams
WithKind adds the kind to the get private cancel all by currency params
func (*GetPrivateCancelAllByCurrencyParams) WithTimeout ¶
func (o *GetPrivateCancelAllByCurrencyParams) WithTimeout(timeout time.Duration) *GetPrivateCancelAllByCurrencyParams
WithTimeout adds the timeout to the get private cancel all by currency params
func (*GetPrivateCancelAllByCurrencyParams) WithType ¶
func (o *GetPrivateCancelAllByCurrencyParams) WithType(typeVar *string) *GetPrivateCancelAllByCurrencyParams
WithType adds the typeVar to the get private cancel all by currency params
func (*GetPrivateCancelAllByCurrencyParams) WriteToRequest ¶
func (o *GetPrivateCancelAllByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateCancelAllByCurrencyReader ¶
type GetPrivateCancelAllByCurrencyReader struct {
// contains filtered or unexported fields
}
GetPrivateCancelAllByCurrencyReader is a Reader for the GetPrivateCancelAllByCurrency structure.
func (*GetPrivateCancelAllByCurrencyReader) ReadResponse ¶
func (o *GetPrivateCancelAllByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateCancelAllByInstrumentOK ¶
type GetPrivateCancelAllByInstrumentOK struct {
Payload *models.PrivateCancelAllResponse
}
GetPrivateCancelAllByInstrumentOK handles this case with default header values.
GetPrivateCancelAllByInstrumentOK get private cancel all by instrument o k
func NewGetPrivateCancelAllByInstrumentOK ¶
func NewGetPrivateCancelAllByInstrumentOK() *GetPrivateCancelAllByInstrumentOK
NewGetPrivateCancelAllByInstrumentOK creates a GetPrivateCancelAllByInstrumentOK with default headers values
func (*GetPrivateCancelAllByInstrumentOK) Error ¶
func (o *GetPrivateCancelAllByInstrumentOK) Error() string
func (*GetPrivateCancelAllByInstrumentOK) GetPayload ¶
func (o *GetPrivateCancelAllByInstrumentOK) GetPayload() *models.PrivateCancelAllResponse
type GetPrivateCancelAllByInstrumentParams ¶
type GetPrivateCancelAllByInstrumentParams struct { /*InstrumentName Instrument name */ InstrumentName string /*Type Order type - limit, stop or all, default - `all` */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateCancelAllByInstrumentParams contains all the parameters to send to the API endpoint for the get private cancel all by instrument operation typically these are written to a http.Request
func NewGetPrivateCancelAllByInstrumentParams ¶
func NewGetPrivateCancelAllByInstrumentParams() *GetPrivateCancelAllByInstrumentParams
NewGetPrivateCancelAllByInstrumentParams creates a new GetPrivateCancelAllByInstrumentParams object with the default values initialized.
func NewGetPrivateCancelAllByInstrumentParamsWithContext ¶
func NewGetPrivateCancelAllByInstrumentParamsWithContext(ctx context.Context) *GetPrivateCancelAllByInstrumentParams
NewGetPrivateCancelAllByInstrumentParamsWithContext creates a new GetPrivateCancelAllByInstrumentParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateCancelAllByInstrumentParamsWithHTTPClient ¶
func NewGetPrivateCancelAllByInstrumentParamsWithHTTPClient(client *http.Client) *GetPrivateCancelAllByInstrumentParams
NewGetPrivateCancelAllByInstrumentParamsWithHTTPClient creates a new GetPrivateCancelAllByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateCancelAllByInstrumentParamsWithTimeout ¶
func NewGetPrivateCancelAllByInstrumentParamsWithTimeout(timeout time.Duration) *GetPrivateCancelAllByInstrumentParams
NewGetPrivateCancelAllByInstrumentParamsWithTimeout creates a new GetPrivateCancelAllByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateCancelAllByInstrumentParams) SetContext ¶
func (o *GetPrivateCancelAllByInstrumentParams) SetContext(ctx context.Context)
SetContext adds the context to the get private cancel all by instrument params
func (*GetPrivateCancelAllByInstrumentParams) SetHTTPClient ¶
func (o *GetPrivateCancelAllByInstrumentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private cancel all by instrument params
func (*GetPrivateCancelAllByInstrumentParams) SetInstrumentName ¶
func (o *GetPrivateCancelAllByInstrumentParams) SetInstrumentName(instrumentName string)
SetInstrumentName adds the instrumentName to the get private cancel all by instrument params
func (*GetPrivateCancelAllByInstrumentParams) SetTimeout ¶
func (o *GetPrivateCancelAllByInstrumentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private cancel all by instrument params
func (*GetPrivateCancelAllByInstrumentParams) SetType ¶
func (o *GetPrivateCancelAllByInstrumentParams) SetType(typeVar *string)
SetType adds the type to the get private cancel all by instrument params
func (*GetPrivateCancelAllByInstrumentParams) WithContext ¶
func (o *GetPrivateCancelAllByInstrumentParams) WithContext(ctx context.Context) *GetPrivateCancelAllByInstrumentParams
WithContext adds the context to the get private cancel all by instrument params
func (*GetPrivateCancelAllByInstrumentParams) WithHTTPClient ¶
func (o *GetPrivateCancelAllByInstrumentParams) WithHTTPClient(client *http.Client) *GetPrivateCancelAllByInstrumentParams
WithHTTPClient adds the HTTPClient to the get private cancel all by instrument params
func (*GetPrivateCancelAllByInstrumentParams) WithInstrumentName ¶
func (o *GetPrivateCancelAllByInstrumentParams) WithInstrumentName(instrumentName string) *GetPrivateCancelAllByInstrumentParams
WithInstrumentName adds the instrumentName to the get private cancel all by instrument params
func (*GetPrivateCancelAllByInstrumentParams) WithTimeout ¶
func (o *GetPrivateCancelAllByInstrumentParams) WithTimeout(timeout time.Duration) *GetPrivateCancelAllByInstrumentParams
WithTimeout adds the timeout to the get private cancel all by instrument params
func (*GetPrivateCancelAllByInstrumentParams) WithType ¶
func (o *GetPrivateCancelAllByInstrumentParams) WithType(typeVar *string) *GetPrivateCancelAllByInstrumentParams
WithType adds the typeVar to the get private cancel all by instrument params
func (*GetPrivateCancelAllByInstrumentParams) WriteToRequest ¶
func (o *GetPrivateCancelAllByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateCancelAllByInstrumentReader ¶
type GetPrivateCancelAllByInstrumentReader struct {
// contains filtered or unexported fields
}
GetPrivateCancelAllByInstrumentReader is a Reader for the GetPrivateCancelAllByInstrument structure.
func (*GetPrivateCancelAllByInstrumentReader) ReadResponse ¶
func (o *GetPrivateCancelAllByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateCancelAllOK ¶
type GetPrivateCancelAllOK struct {
Payload *models.PrivateCancelAllResponse
}
GetPrivateCancelAllOK handles this case with default header values.
GetPrivateCancelAllOK get private cancel all o k
func NewGetPrivateCancelAllOK ¶
func NewGetPrivateCancelAllOK() *GetPrivateCancelAllOK
NewGetPrivateCancelAllOK creates a GetPrivateCancelAllOK with default headers values
func (*GetPrivateCancelAllOK) Error ¶
func (o *GetPrivateCancelAllOK) Error() string
func (*GetPrivateCancelAllOK) GetPayload ¶
func (o *GetPrivateCancelAllOK) GetPayload() *models.PrivateCancelAllResponse
type GetPrivateCancelAllParams ¶
type GetPrivateCancelAllParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateCancelAllParams contains all the parameters to send to the API endpoint for the get private cancel all operation typically these are written to a http.Request
func NewGetPrivateCancelAllParams ¶
func NewGetPrivateCancelAllParams() *GetPrivateCancelAllParams
NewGetPrivateCancelAllParams creates a new GetPrivateCancelAllParams object with the default values initialized.
func NewGetPrivateCancelAllParamsWithContext ¶
func NewGetPrivateCancelAllParamsWithContext(ctx context.Context) *GetPrivateCancelAllParams
NewGetPrivateCancelAllParamsWithContext creates a new GetPrivateCancelAllParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateCancelAllParamsWithHTTPClient ¶
func NewGetPrivateCancelAllParamsWithHTTPClient(client *http.Client) *GetPrivateCancelAllParams
NewGetPrivateCancelAllParamsWithHTTPClient creates a new GetPrivateCancelAllParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateCancelAllParamsWithTimeout ¶
func NewGetPrivateCancelAllParamsWithTimeout(timeout time.Duration) *GetPrivateCancelAllParams
NewGetPrivateCancelAllParamsWithTimeout creates a new GetPrivateCancelAllParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateCancelAllParams) SetContext ¶
func (o *GetPrivateCancelAllParams) SetContext(ctx context.Context)
SetContext adds the context to the get private cancel all params
func (*GetPrivateCancelAllParams) SetHTTPClient ¶
func (o *GetPrivateCancelAllParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private cancel all params
func (*GetPrivateCancelAllParams) SetTimeout ¶
func (o *GetPrivateCancelAllParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private cancel all params
func (*GetPrivateCancelAllParams) WithContext ¶
func (o *GetPrivateCancelAllParams) WithContext(ctx context.Context) *GetPrivateCancelAllParams
WithContext adds the context to the get private cancel all params
func (*GetPrivateCancelAllParams) WithHTTPClient ¶
func (o *GetPrivateCancelAllParams) WithHTTPClient(client *http.Client) *GetPrivateCancelAllParams
WithHTTPClient adds the HTTPClient to the get private cancel all params
func (*GetPrivateCancelAllParams) WithTimeout ¶
func (o *GetPrivateCancelAllParams) WithTimeout(timeout time.Duration) *GetPrivateCancelAllParams
WithTimeout adds the timeout to the get private cancel all params
func (*GetPrivateCancelAllParams) WriteToRequest ¶
func (o *GetPrivateCancelAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateCancelAllReader ¶
type GetPrivateCancelAllReader struct {
// contains filtered or unexported fields
}
GetPrivateCancelAllReader is a Reader for the GetPrivateCancelAll structure.
func (*GetPrivateCancelAllReader) ReadResponse ¶
func (o *GetPrivateCancelAllReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateCancelByLabelOK ¶
type GetPrivateCancelByLabelOK struct {
Payload *models.PrivateCancelAllResponse
}
GetPrivateCancelByLabelOK handles this case with default header values.
GetPrivateCancelByLabelOK get private cancel by label o k
func NewGetPrivateCancelByLabelOK ¶
func NewGetPrivateCancelByLabelOK() *GetPrivateCancelByLabelOK
NewGetPrivateCancelByLabelOK creates a GetPrivateCancelByLabelOK with default headers values
func (*GetPrivateCancelByLabelOK) Error ¶
func (o *GetPrivateCancelByLabelOK) Error() string
func (*GetPrivateCancelByLabelOK) GetPayload ¶
func (o *GetPrivateCancelByLabelOK) GetPayload() *models.PrivateCancelAllResponse
type GetPrivateCancelByLabelParams ¶
type GetPrivateCancelByLabelParams struct { /*Label The order label */ Label string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateCancelByLabelParams contains all the parameters to send to the API endpoint for the get private cancel by label operation typically these are written to a http.Request
func NewGetPrivateCancelByLabelParams ¶
func NewGetPrivateCancelByLabelParams() *GetPrivateCancelByLabelParams
NewGetPrivateCancelByLabelParams creates a new GetPrivateCancelByLabelParams object with the default values initialized.
func NewGetPrivateCancelByLabelParamsWithContext ¶
func NewGetPrivateCancelByLabelParamsWithContext(ctx context.Context) *GetPrivateCancelByLabelParams
NewGetPrivateCancelByLabelParamsWithContext creates a new GetPrivateCancelByLabelParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateCancelByLabelParamsWithHTTPClient ¶
func NewGetPrivateCancelByLabelParamsWithHTTPClient(client *http.Client) *GetPrivateCancelByLabelParams
NewGetPrivateCancelByLabelParamsWithHTTPClient creates a new GetPrivateCancelByLabelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateCancelByLabelParamsWithTimeout ¶
func NewGetPrivateCancelByLabelParamsWithTimeout(timeout time.Duration) *GetPrivateCancelByLabelParams
NewGetPrivateCancelByLabelParamsWithTimeout creates a new GetPrivateCancelByLabelParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateCancelByLabelParams) SetContext ¶
func (o *GetPrivateCancelByLabelParams) SetContext(ctx context.Context)
SetContext adds the context to the get private cancel by label params
func (*GetPrivateCancelByLabelParams) SetHTTPClient ¶
func (o *GetPrivateCancelByLabelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private cancel by label params
func (*GetPrivateCancelByLabelParams) SetLabel ¶
func (o *GetPrivateCancelByLabelParams) SetLabel(label string)
SetLabel adds the label to the get private cancel by label params
func (*GetPrivateCancelByLabelParams) SetTimeout ¶
func (o *GetPrivateCancelByLabelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private cancel by label params
func (*GetPrivateCancelByLabelParams) WithContext ¶
func (o *GetPrivateCancelByLabelParams) WithContext(ctx context.Context) *GetPrivateCancelByLabelParams
WithContext adds the context to the get private cancel by label params
func (*GetPrivateCancelByLabelParams) WithHTTPClient ¶
func (o *GetPrivateCancelByLabelParams) WithHTTPClient(client *http.Client) *GetPrivateCancelByLabelParams
WithHTTPClient adds the HTTPClient to the get private cancel by label params
func (*GetPrivateCancelByLabelParams) WithLabel ¶
func (o *GetPrivateCancelByLabelParams) WithLabel(label string) *GetPrivateCancelByLabelParams
WithLabel adds the label to the get private cancel by label params
func (*GetPrivateCancelByLabelParams) WithTimeout ¶
func (o *GetPrivateCancelByLabelParams) WithTimeout(timeout time.Duration) *GetPrivateCancelByLabelParams
WithTimeout adds the timeout to the get private cancel by label params
func (*GetPrivateCancelByLabelParams) WriteToRequest ¶
func (o *GetPrivateCancelByLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateCancelByLabelReader ¶
type GetPrivateCancelByLabelReader struct {
// contains filtered or unexported fields
}
GetPrivateCancelByLabelReader is a Reader for the GetPrivateCancelByLabel structure.
func (*GetPrivateCancelByLabelReader) ReadResponse ¶
func (o *GetPrivateCancelByLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateCancelOK ¶
type GetPrivateCancelOK struct {
Payload *models.PrivateCancelResponse
}
GetPrivateCancelOK handles this case with default header values.
GetPrivateCancelOK get private cancel o k
func NewGetPrivateCancelOK ¶
func NewGetPrivateCancelOK() *GetPrivateCancelOK
NewGetPrivateCancelOK creates a GetPrivateCancelOK with default headers values
func (*GetPrivateCancelOK) Error ¶
func (o *GetPrivateCancelOK) Error() string
func (*GetPrivateCancelOK) GetPayload ¶
func (o *GetPrivateCancelOK) GetPayload() *models.PrivateCancelResponse
type GetPrivateCancelParams ¶
type GetPrivateCancelParams struct { /*OrderID The order id */ OrderID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateCancelParams contains all the parameters to send to the API endpoint for the get private cancel operation typically these are written to a http.Request
func NewGetPrivateCancelParams ¶
func NewGetPrivateCancelParams() *GetPrivateCancelParams
NewGetPrivateCancelParams creates a new GetPrivateCancelParams object with the default values initialized.
func NewGetPrivateCancelParamsWithContext ¶
func NewGetPrivateCancelParamsWithContext(ctx context.Context) *GetPrivateCancelParams
NewGetPrivateCancelParamsWithContext creates a new GetPrivateCancelParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateCancelParamsWithHTTPClient ¶
func NewGetPrivateCancelParamsWithHTTPClient(client *http.Client) *GetPrivateCancelParams
NewGetPrivateCancelParamsWithHTTPClient creates a new GetPrivateCancelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateCancelParamsWithTimeout ¶
func NewGetPrivateCancelParamsWithTimeout(timeout time.Duration) *GetPrivateCancelParams
NewGetPrivateCancelParamsWithTimeout creates a new GetPrivateCancelParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateCancelParams) SetContext ¶
func (o *GetPrivateCancelParams) SetContext(ctx context.Context)
SetContext adds the context to the get private cancel params
func (*GetPrivateCancelParams) SetHTTPClient ¶
func (o *GetPrivateCancelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private cancel params
func (*GetPrivateCancelParams) SetOrderID ¶
func (o *GetPrivateCancelParams) SetOrderID(orderID string)
SetOrderID adds the orderId to the get private cancel params
func (*GetPrivateCancelParams) SetTimeout ¶
func (o *GetPrivateCancelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private cancel params
func (*GetPrivateCancelParams) WithContext ¶
func (o *GetPrivateCancelParams) WithContext(ctx context.Context) *GetPrivateCancelParams
WithContext adds the context to the get private cancel params
func (*GetPrivateCancelParams) WithHTTPClient ¶
func (o *GetPrivateCancelParams) WithHTTPClient(client *http.Client) *GetPrivateCancelParams
WithHTTPClient adds the HTTPClient to the get private cancel params
func (*GetPrivateCancelParams) WithOrderID ¶
func (o *GetPrivateCancelParams) WithOrderID(orderID string) *GetPrivateCancelParams
WithOrderID adds the orderID to the get private cancel params
func (*GetPrivateCancelParams) WithTimeout ¶
func (o *GetPrivateCancelParams) WithTimeout(timeout time.Duration) *GetPrivateCancelParams
WithTimeout adds the timeout to the get private cancel params
func (*GetPrivateCancelParams) WriteToRequest ¶
func (o *GetPrivateCancelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateCancelReader ¶
type GetPrivateCancelReader struct {
// contains filtered or unexported fields
}
GetPrivateCancelReader is a Reader for the GetPrivateCancel structure.
func (*GetPrivateCancelReader) ReadResponse ¶
func (o *GetPrivateCancelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateEditOK ¶
type GetPrivateEditOK struct {
Payload *models.PrivateEditResponse
}
GetPrivateEditOK handles this case with default header values.
GetPrivateEditOK get private edit o k
func NewGetPrivateEditOK ¶
func NewGetPrivateEditOK() *GetPrivateEditOK
NewGetPrivateEditOK creates a GetPrivateEditOK with default headers values
func (*GetPrivateEditOK) Error ¶
func (o *GetPrivateEditOK) Error() string
func (*GetPrivateEditOK) GetPayload ¶
func (o *GetPrivateEditOK) GetPayload() *models.PrivateEditResponse
type GetPrivateEditParams ¶
type GetPrivateEditParams struct { /*Advanced Advanced option order type. If you have posted an advanced option order, it is necessary to re-supply this parameter when editing it (Only for options) */ Advanced *string /*Amount It represents the requested order size. For perpetual and futures the amount is in USD units, for options it is amount of corresponding cryptocurrency contracts, e.g., BTC or ETH */ Amount float64 /*OrderID The order id */ OrderID string /*PostOnly <p>If true, the order is considered post-only. If the new price would cause the order to be filled immediately (as taker), the price will be changed to be just below the bid.</p> <p>Only valid in combination with time_in_force=`"good_til_cancelled"`</p> */ PostOnly *bool /*Price <p>The order price in base currency.</p> <p>When editing an option order with advanced=usd, the field price should be the option price value in USD.</p> <p>When editing an option order with advanced=implv, the field price should be a value of implied volatility in percentages. For example, price=100, means implied volatility of 100%</p> */ Price float64 /*StopPrice Stop price, required for stop limit orders (Only for stop orders) */ StopPrice *float64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateEditParams contains all the parameters to send to the API endpoint for the get private edit operation typically these are written to a http.Request
func NewGetPrivateEditParams ¶
func NewGetPrivateEditParams() *GetPrivateEditParams
NewGetPrivateEditParams creates a new GetPrivateEditParams object with the default values initialized.
func NewGetPrivateEditParamsWithContext ¶
func NewGetPrivateEditParamsWithContext(ctx context.Context) *GetPrivateEditParams
NewGetPrivateEditParamsWithContext creates a new GetPrivateEditParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateEditParamsWithHTTPClient ¶
func NewGetPrivateEditParamsWithHTTPClient(client *http.Client) *GetPrivateEditParams
NewGetPrivateEditParamsWithHTTPClient creates a new GetPrivateEditParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateEditParamsWithTimeout ¶
func NewGetPrivateEditParamsWithTimeout(timeout time.Duration) *GetPrivateEditParams
NewGetPrivateEditParamsWithTimeout creates a new GetPrivateEditParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateEditParams) SetAdvanced ¶
func (o *GetPrivateEditParams) SetAdvanced(advanced *string)
SetAdvanced adds the advanced to the get private edit params
func (*GetPrivateEditParams) SetAmount ¶
func (o *GetPrivateEditParams) SetAmount(amount float64)
SetAmount adds the amount to the get private edit params
func (*GetPrivateEditParams) SetContext ¶
func (o *GetPrivateEditParams) SetContext(ctx context.Context)
SetContext adds the context to the get private edit params
func (*GetPrivateEditParams) SetHTTPClient ¶
func (o *GetPrivateEditParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private edit params
func (*GetPrivateEditParams) SetOrderID ¶
func (o *GetPrivateEditParams) SetOrderID(orderID string)
SetOrderID adds the orderId to the get private edit params
func (*GetPrivateEditParams) SetPostOnly ¶
func (o *GetPrivateEditParams) SetPostOnly(postOnly *bool)
SetPostOnly adds the postOnly to the get private edit params
func (*GetPrivateEditParams) SetPrice ¶
func (o *GetPrivateEditParams) SetPrice(price float64)
SetPrice adds the price to the get private edit params
func (*GetPrivateEditParams) SetStopPrice ¶
func (o *GetPrivateEditParams) SetStopPrice(stopPrice *float64)
SetStopPrice adds the stopPrice to the get private edit params
func (*GetPrivateEditParams) SetTimeout ¶
func (o *GetPrivateEditParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private edit params
func (*GetPrivateEditParams) WithAdvanced ¶
func (o *GetPrivateEditParams) WithAdvanced(advanced *string) *GetPrivateEditParams
WithAdvanced adds the advanced to the get private edit params
func (*GetPrivateEditParams) WithAmount ¶
func (o *GetPrivateEditParams) WithAmount(amount float64) *GetPrivateEditParams
WithAmount adds the amount to the get private edit params
func (*GetPrivateEditParams) WithContext ¶
func (o *GetPrivateEditParams) WithContext(ctx context.Context) *GetPrivateEditParams
WithContext adds the context to the get private edit params
func (*GetPrivateEditParams) WithHTTPClient ¶
func (o *GetPrivateEditParams) WithHTTPClient(client *http.Client) *GetPrivateEditParams
WithHTTPClient adds the HTTPClient to the get private edit params
func (*GetPrivateEditParams) WithOrderID ¶
func (o *GetPrivateEditParams) WithOrderID(orderID string) *GetPrivateEditParams
WithOrderID adds the orderID to the get private edit params
func (*GetPrivateEditParams) WithPostOnly ¶
func (o *GetPrivateEditParams) WithPostOnly(postOnly *bool) *GetPrivateEditParams
WithPostOnly adds the postOnly to the get private edit params
func (*GetPrivateEditParams) WithPrice ¶
func (o *GetPrivateEditParams) WithPrice(price float64) *GetPrivateEditParams
WithPrice adds the price to the get private edit params
func (*GetPrivateEditParams) WithStopPrice ¶
func (o *GetPrivateEditParams) WithStopPrice(stopPrice *float64) *GetPrivateEditParams
WithStopPrice adds the stopPrice to the get private edit params
func (*GetPrivateEditParams) WithTimeout ¶
func (o *GetPrivateEditParams) WithTimeout(timeout time.Duration) *GetPrivateEditParams
WithTimeout adds the timeout to the get private edit params
func (*GetPrivateEditParams) WriteToRequest ¶
func (o *GetPrivateEditParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateEditReader ¶
type GetPrivateEditReader struct {
// contains filtered or unexported fields
}
GetPrivateEditReader is a Reader for the GetPrivateEdit structure.
func (*GetPrivateEditReader) ReadResponse ¶
func (o *GetPrivateEditReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateGetMarginsOK ¶
type GetPrivateGetMarginsOK struct {
Payload *models.PrivateGetMarginsResponse
}
GetPrivateGetMarginsOK handles this case with default header values.
GetPrivateGetMarginsOK get private get margins o k
func NewGetPrivateGetMarginsOK ¶
func NewGetPrivateGetMarginsOK() *GetPrivateGetMarginsOK
NewGetPrivateGetMarginsOK creates a GetPrivateGetMarginsOK with default headers values
func (*GetPrivateGetMarginsOK) Error ¶
func (o *GetPrivateGetMarginsOK) Error() string
func (*GetPrivateGetMarginsOK) GetPayload ¶
func (o *GetPrivateGetMarginsOK) GetPayload() *models.PrivateGetMarginsResponse
type GetPrivateGetMarginsParams ¶
type GetPrivateGetMarginsParams struct { /*Amount Amount, integer for future, float for option. For perpetual and futures the amount is in USD units, for options it is amount of corresponding cryptocurrency contracts, e.g., BTC or ETH. */ Amount float64 /*InstrumentName Instrument name */ InstrumentName string /*Price Price */ Price float64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateGetMarginsParams contains all the parameters to send to the API endpoint for the get private get margins operation typically these are written to a http.Request
func NewGetPrivateGetMarginsParams ¶
func NewGetPrivateGetMarginsParams() *GetPrivateGetMarginsParams
NewGetPrivateGetMarginsParams creates a new GetPrivateGetMarginsParams object with the default values initialized.
func NewGetPrivateGetMarginsParamsWithContext ¶
func NewGetPrivateGetMarginsParamsWithContext(ctx context.Context) *GetPrivateGetMarginsParams
NewGetPrivateGetMarginsParamsWithContext creates a new GetPrivateGetMarginsParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateGetMarginsParamsWithHTTPClient ¶
func NewGetPrivateGetMarginsParamsWithHTTPClient(client *http.Client) *GetPrivateGetMarginsParams
NewGetPrivateGetMarginsParamsWithHTTPClient creates a new GetPrivateGetMarginsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateGetMarginsParamsWithTimeout ¶
func NewGetPrivateGetMarginsParamsWithTimeout(timeout time.Duration) *GetPrivateGetMarginsParams
NewGetPrivateGetMarginsParamsWithTimeout creates a new GetPrivateGetMarginsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateGetMarginsParams) SetAmount ¶
func (o *GetPrivateGetMarginsParams) SetAmount(amount float64)
SetAmount adds the amount to the get private get margins params
func (*GetPrivateGetMarginsParams) SetContext ¶
func (o *GetPrivateGetMarginsParams) SetContext(ctx context.Context)
SetContext adds the context to the get private get margins params
func (*GetPrivateGetMarginsParams) SetHTTPClient ¶
func (o *GetPrivateGetMarginsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private get margins params
func (*GetPrivateGetMarginsParams) SetInstrumentName ¶
func (o *GetPrivateGetMarginsParams) SetInstrumentName(instrumentName string)
SetInstrumentName adds the instrumentName to the get private get margins params
func (*GetPrivateGetMarginsParams) SetPrice ¶
func (o *GetPrivateGetMarginsParams) SetPrice(price float64)
SetPrice adds the price to the get private get margins params
func (*GetPrivateGetMarginsParams) SetTimeout ¶
func (o *GetPrivateGetMarginsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private get margins params
func (*GetPrivateGetMarginsParams) WithAmount ¶
func (o *GetPrivateGetMarginsParams) WithAmount(amount float64) *GetPrivateGetMarginsParams
WithAmount adds the amount to the get private get margins params
func (*GetPrivateGetMarginsParams) WithContext ¶
func (o *GetPrivateGetMarginsParams) WithContext(ctx context.Context) *GetPrivateGetMarginsParams
WithContext adds the context to the get private get margins params
func (*GetPrivateGetMarginsParams) WithHTTPClient ¶
func (o *GetPrivateGetMarginsParams) WithHTTPClient(client *http.Client) *GetPrivateGetMarginsParams
WithHTTPClient adds the HTTPClient to the get private get margins params
func (*GetPrivateGetMarginsParams) WithInstrumentName ¶
func (o *GetPrivateGetMarginsParams) WithInstrumentName(instrumentName string) *GetPrivateGetMarginsParams
WithInstrumentName adds the instrumentName to the get private get margins params
func (*GetPrivateGetMarginsParams) WithPrice ¶
func (o *GetPrivateGetMarginsParams) WithPrice(price float64) *GetPrivateGetMarginsParams
WithPrice adds the price to the get private get margins params
func (*GetPrivateGetMarginsParams) WithTimeout ¶
func (o *GetPrivateGetMarginsParams) WithTimeout(timeout time.Duration) *GetPrivateGetMarginsParams
WithTimeout adds the timeout to the get private get margins params
func (*GetPrivateGetMarginsParams) WriteToRequest ¶
func (o *GetPrivateGetMarginsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateGetMarginsReader ¶
type GetPrivateGetMarginsReader struct {
// contains filtered or unexported fields
}
GetPrivateGetMarginsReader is a Reader for the GetPrivateGetMargins structure.
func (*GetPrivateGetMarginsReader) ReadResponse ¶
func (o *GetPrivateGetMarginsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateGetOpenOrdersByCurrencyOK ¶
type GetPrivateGetOpenOrdersByCurrencyOK struct {
Payload *models.PrivateGetOpenOrdersResponse
}
GetPrivateGetOpenOrdersByCurrencyOK handles this case with default header values.
GetPrivateGetOpenOrdersByCurrencyOK get private get open orders by currency o k
func NewGetPrivateGetOpenOrdersByCurrencyOK ¶
func NewGetPrivateGetOpenOrdersByCurrencyOK() *GetPrivateGetOpenOrdersByCurrencyOK
NewGetPrivateGetOpenOrdersByCurrencyOK creates a GetPrivateGetOpenOrdersByCurrencyOK with default headers values
func (*GetPrivateGetOpenOrdersByCurrencyOK) Error ¶
func (o *GetPrivateGetOpenOrdersByCurrencyOK) Error() string
func (*GetPrivateGetOpenOrdersByCurrencyOK) GetPayload ¶
func (o *GetPrivateGetOpenOrdersByCurrencyOK) GetPayload() *models.PrivateGetOpenOrdersResponse
type GetPrivateGetOpenOrdersByCurrencyParams ¶
type GetPrivateGetOpenOrdersByCurrencyParams struct { /*Currency The currency symbol */ Currency string /*Kind Instrument kind, if not provided instruments of all kinds are considered */ Kind *string /*Type Order type, default - `all` */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateGetOpenOrdersByCurrencyParams contains all the parameters to send to the API endpoint for the get private get open orders by currency operation typically these are written to a http.Request
func NewGetPrivateGetOpenOrdersByCurrencyParams ¶
func NewGetPrivateGetOpenOrdersByCurrencyParams() *GetPrivateGetOpenOrdersByCurrencyParams
NewGetPrivateGetOpenOrdersByCurrencyParams creates a new GetPrivateGetOpenOrdersByCurrencyParams object with the default values initialized.
func NewGetPrivateGetOpenOrdersByCurrencyParamsWithContext ¶
func NewGetPrivateGetOpenOrdersByCurrencyParamsWithContext(ctx context.Context) *GetPrivateGetOpenOrdersByCurrencyParams
NewGetPrivateGetOpenOrdersByCurrencyParamsWithContext creates a new GetPrivateGetOpenOrdersByCurrencyParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateGetOpenOrdersByCurrencyParamsWithHTTPClient ¶
func NewGetPrivateGetOpenOrdersByCurrencyParamsWithHTTPClient(client *http.Client) *GetPrivateGetOpenOrdersByCurrencyParams
NewGetPrivateGetOpenOrdersByCurrencyParamsWithHTTPClient creates a new GetPrivateGetOpenOrdersByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateGetOpenOrdersByCurrencyParamsWithTimeout ¶
func NewGetPrivateGetOpenOrdersByCurrencyParamsWithTimeout(timeout time.Duration) *GetPrivateGetOpenOrdersByCurrencyParams
NewGetPrivateGetOpenOrdersByCurrencyParamsWithTimeout creates a new GetPrivateGetOpenOrdersByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateGetOpenOrdersByCurrencyParams) SetContext ¶
func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetContext(ctx context.Context)
SetContext adds the context to the get private get open orders by currency params
func (*GetPrivateGetOpenOrdersByCurrencyParams) SetCurrency ¶
func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetCurrency(currency string)
SetCurrency adds the currency to the get private get open orders by currency params
func (*GetPrivateGetOpenOrdersByCurrencyParams) SetHTTPClient ¶
func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private get open orders by currency params
func (*GetPrivateGetOpenOrdersByCurrencyParams) SetKind ¶
func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetKind(kind *string)
SetKind adds the kind to the get private get open orders by currency params
func (*GetPrivateGetOpenOrdersByCurrencyParams) SetTimeout ¶
func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private get open orders by currency params
func (*GetPrivateGetOpenOrdersByCurrencyParams) SetType ¶
func (o *GetPrivateGetOpenOrdersByCurrencyParams) SetType(typeVar *string)
SetType adds the type to the get private get open orders by currency params
func (*GetPrivateGetOpenOrdersByCurrencyParams) WithContext ¶
func (o *GetPrivateGetOpenOrdersByCurrencyParams) WithContext(ctx context.Context) *GetPrivateGetOpenOrdersByCurrencyParams
WithContext adds the context to the get private get open orders by currency params
func (*GetPrivateGetOpenOrdersByCurrencyParams) WithCurrency ¶
func (o *GetPrivateGetOpenOrdersByCurrencyParams) WithCurrency(currency string) *GetPrivateGetOpenOrdersByCurrencyParams
WithCurrency adds the currency to the get private get open orders by currency params
func (*GetPrivateGetOpenOrdersByCurrencyParams) WithHTTPClient ¶
func (o *GetPrivateGetOpenOrdersByCurrencyParams) WithHTTPClient(client *http.Client) *GetPrivateGetOpenOrdersByCurrencyParams
WithHTTPClient adds the HTTPClient to the get private get open orders by currency params
func (*GetPrivateGetOpenOrdersByCurrencyParams) WithKind ¶
func (o *GetPrivateGetOpenOrdersByCurrencyParams) WithKind(kind *string) *GetPrivateGetOpenOrdersByCurrencyParams
WithKind adds the kind to the get private get open orders by currency params
func (*GetPrivateGetOpenOrdersByCurrencyParams) WithTimeout ¶
func (o *GetPrivateGetOpenOrdersByCurrencyParams) WithTimeout(timeout time.Duration) *GetPrivateGetOpenOrdersByCurrencyParams
WithTimeout adds the timeout to the get private get open orders by currency params
func (*GetPrivateGetOpenOrdersByCurrencyParams) WithType ¶
func (o *GetPrivateGetOpenOrdersByCurrencyParams) WithType(typeVar *string) *GetPrivateGetOpenOrdersByCurrencyParams
WithType adds the typeVar to the get private get open orders by currency params
func (*GetPrivateGetOpenOrdersByCurrencyParams) WriteToRequest ¶
func (o *GetPrivateGetOpenOrdersByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateGetOpenOrdersByCurrencyReader ¶
type GetPrivateGetOpenOrdersByCurrencyReader struct {
// contains filtered or unexported fields
}
GetPrivateGetOpenOrdersByCurrencyReader is a Reader for the GetPrivateGetOpenOrdersByCurrency structure.
func (*GetPrivateGetOpenOrdersByCurrencyReader) ReadResponse ¶
func (o *GetPrivateGetOpenOrdersByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateGetOpenOrdersByInstrumentOK ¶
type GetPrivateGetOpenOrdersByInstrumentOK struct {
Payload *models.PrivateGetOpenOrdersResponse
}
GetPrivateGetOpenOrdersByInstrumentOK handles this case with default header values.
GetPrivateGetOpenOrdersByInstrumentOK get private get open orders by instrument o k
func NewGetPrivateGetOpenOrdersByInstrumentOK ¶
func NewGetPrivateGetOpenOrdersByInstrumentOK() *GetPrivateGetOpenOrdersByInstrumentOK
NewGetPrivateGetOpenOrdersByInstrumentOK creates a GetPrivateGetOpenOrdersByInstrumentOK with default headers values
func (*GetPrivateGetOpenOrdersByInstrumentOK) Error ¶
func (o *GetPrivateGetOpenOrdersByInstrumentOK) Error() string
func (*GetPrivateGetOpenOrdersByInstrumentOK) GetPayload ¶
func (o *GetPrivateGetOpenOrdersByInstrumentOK) GetPayload() *models.PrivateGetOpenOrdersResponse
type GetPrivateGetOpenOrdersByInstrumentParams ¶
type GetPrivateGetOpenOrdersByInstrumentParams struct { /*InstrumentName Instrument name */ InstrumentName string /*Type Order type, default - `all` */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateGetOpenOrdersByInstrumentParams contains all the parameters to send to the API endpoint for the get private get open orders by instrument operation typically these are written to a http.Request
func NewGetPrivateGetOpenOrdersByInstrumentParams ¶
func NewGetPrivateGetOpenOrdersByInstrumentParams() *GetPrivateGetOpenOrdersByInstrumentParams
NewGetPrivateGetOpenOrdersByInstrumentParams creates a new GetPrivateGetOpenOrdersByInstrumentParams object with the default values initialized.
func NewGetPrivateGetOpenOrdersByInstrumentParamsWithContext ¶
func NewGetPrivateGetOpenOrdersByInstrumentParamsWithContext(ctx context.Context) *GetPrivateGetOpenOrdersByInstrumentParams
NewGetPrivateGetOpenOrdersByInstrumentParamsWithContext creates a new GetPrivateGetOpenOrdersByInstrumentParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateGetOpenOrdersByInstrumentParamsWithHTTPClient ¶
func NewGetPrivateGetOpenOrdersByInstrumentParamsWithHTTPClient(client *http.Client) *GetPrivateGetOpenOrdersByInstrumentParams
NewGetPrivateGetOpenOrdersByInstrumentParamsWithHTTPClient creates a new GetPrivateGetOpenOrdersByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateGetOpenOrdersByInstrumentParamsWithTimeout ¶
func NewGetPrivateGetOpenOrdersByInstrumentParamsWithTimeout(timeout time.Duration) *GetPrivateGetOpenOrdersByInstrumentParams
NewGetPrivateGetOpenOrdersByInstrumentParamsWithTimeout creates a new GetPrivateGetOpenOrdersByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateGetOpenOrdersByInstrumentParams) SetContext ¶
func (o *GetPrivateGetOpenOrdersByInstrumentParams) SetContext(ctx context.Context)
SetContext adds the context to the get private get open orders by instrument params
func (*GetPrivateGetOpenOrdersByInstrumentParams) SetHTTPClient ¶
func (o *GetPrivateGetOpenOrdersByInstrumentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private get open orders by instrument params
func (*GetPrivateGetOpenOrdersByInstrumentParams) SetInstrumentName ¶
func (o *GetPrivateGetOpenOrdersByInstrumentParams) SetInstrumentName(instrumentName string)
SetInstrumentName adds the instrumentName to the get private get open orders by instrument params
func (*GetPrivateGetOpenOrdersByInstrumentParams) SetTimeout ¶
func (o *GetPrivateGetOpenOrdersByInstrumentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private get open orders by instrument params
func (*GetPrivateGetOpenOrdersByInstrumentParams) SetType ¶
func (o *GetPrivateGetOpenOrdersByInstrumentParams) SetType(typeVar *string)
SetType adds the type to the get private get open orders by instrument params
func (*GetPrivateGetOpenOrdersByInstrumentParams) WithContext ¶
func (o *GetPrivateGetOpenOrdersByInstrumentParams) WithContext(ctx context.Context) *GetPrivateGetOpenOrdersByInstrumentParams
WithContext adds the context to the get private get open orders by instrument params
func (*GetPrivateGetOpenOrdersByInstrumentParams) WithHTTPClient ¶
func (o *GetPrivateGetOpenOrdersByInstrumentParams) WithHTTPClient(client *http.Client) *GetPrivateGetOpenOrdersByInstrumentParams
WithHTTPClient adds the HTTPClient to the get private get open orders by instrument params
func (*GetPrivateGetOpenOrdersByInstrumentParams) WithInstrumentName ¶
func (o *GetPrivateGetOpenOrdersByInstrumentParams) WithInstrumentName(instrumentName string) *GetPrivateGetOpenOrdersByInstrumentParams
WithInstrumentName adds the instrumentName to the get private get open orders by instrument params
func (*GetPrivateGetOpenOrdersByInstrumentParams) WithTimeout ¶
func (o *GetPrivateGetOpenOrdersByInstrumentParams) WithTimeout(timeout time.Duration) *GetPrivateGetOpenOrdersByInstrumentParams
WithTimeout adds the timeout to the get private get open orders by instrument params
func (*GetPrivateGetOpenOrdersByInstrumentParams) WithType ¶
func (o *GetPrivateGetOpenOrdersByInstrumentParams) WithType(typeVar *string) *GetPrivateGetOpenOrdersByInstrumentParams
WithType adds the typeVar to the get private get open orders by instrument params
func (*GetPrivateGetOpenOrdersByInstrumentParams) WriteToRequest ¶
func (o *GetPrivateGetOpenOrdersByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateGetOpenOrdersByInstrumentReader ¶
type GetPrivateGetOpenOrdersByInstrumentReader struct {
// contains filtered or unexported fields
}
GetPrivateGetOpenOrdersByInstrumentReader is a Reader for the GetPrivateGetOpenOrdersByInstrument structure.
func (*GetPrivateGetOpenOrdersByInstrumentReader) ReadResponse ¶
func (o *GetPrivateGetOpenOrdersByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateGetOrderHistoryByCurrencyOK ¶
type GetPrivateGetOrderHistoryByCurrencyOK struct {
Payload *models.PrivateGetOrderHistoryResponse
}
GetPrivateGetOrderHistoryByCurrencyOK handles this case with default header values.
GetPrivateGetOrderHistoryByCurrencyOK get private get order history by currency o k
func NewGetPrivateGetOrderHistoryByCurrencyOK ¶
func NewGetPrivateGetOrderHistoryByCurrencyOK() *GetPrivateGetOrderHistoryByCurrencyOK
NewGetPrivateGetOrderHistoryByCurrencyOK creates a GetPrivateGetOrderHistoryByCurrencyOK with default headers values
func (*GetPrivateGetOrderHistoryByCurrencyOK) Error ¶
func (o *GetPrivateGetOrderHistoryByCurrencyOK) Error() string
func (*GetPrivateGetOrderHistoryByCurrencyOK) GetPayload ¶
func (o *GetPrivateGetOrderHistoryByCurrencyOK) GetPayload() *models.PrivateGetOrderHistoryResponse
type GetPrivateGetOrderHistoryByCurrencyParams ¶
type GetPrivateGetOrderHistoryByCurrencyParams struct { /*Count Number of requested items, default - `20` */ Count *int64 /*Currency The currency symbol */ Currency string /*IncludeOld Include in result orders older than 2 days, default - `false` */ IncludeOld *bool /*IncludeUnfilled Include in result fully unfilled closed orders, default - `false` */ IncludeUnfilled *bool /*Kind Instrument kind, if not provided instruments of all kinds are considered */ Kind *string /*Offset The offset for pagination, default - `0` */ Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateGetOrderHistoryByCurrencyParams contains all the parameters to send to the API endpoint for the get private get order history by currency operation typically these are written to a http.Request
func NewGetPrivateGetOrderHistoryByCurrencyParams ¶
func NewGetPrivateGetOrderHistoryByCurrencyParams() *GetPrivateGetOrderHistoryByCurrencyParams
NewGetPrivateGetOrderHistoryByCurrencyParams creates a new GetPrivateGetOrderHistoryByCurrencyParams object with the default values initialized.
func NewGetPrivateGetOrderHistoryByCurrencyParamsWithContext ¶
func NewGetPrivateGetOrderHistoryByCurrencyParamsWithContext(ctx context.Context) *GetPrivateGetOrderHistoryByCurrencyParams
NewGetPrivateGetOrderHistoryByCurrencyParamsWithContext creates a new GetPrivateGetOrderHistoryByCurrencyParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateGetOrderHistoryByCurrencyParamsWithHTTPClient ¶
func NewGetPrivateGetOrderHistoryByCurrencyParamsWithHTTPClient(client *http.Client) *GetPrivateGetOrderHistoryByCurrencyParams
NewGetPrivateGetOrderHistoryByCurrencyParamsWithHTTPClient creates a new GetPrivateGetOrderHistoryByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateGetOrderHistoryByCurrencyParamsWithTimeout ¶
func NewGetPrivateGetOrderHistoryByCurrencyParamsWithTimeout(timeout time.Duration) *GetPrivateGetOrderHistoryByCurrencyParams
NewGetPrivateGetOrderHistoryByCurrencyParamsWithTimeout creates a new GetPrivateGetOrderHistoryByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateGetOrderHistoryByCurrencyParams) SetContext ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetContext(ctx context.Context)
SetContext adds the context to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) SetCount ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetCount(count *int64)
SetCount adds the count to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) SetCurrency ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetCurrency(currency string)
SetCurrency adds the currency to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) SetHTTPClient ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) SetIncludeOld ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetIncludeOld(includeOld *bool)
SetIncludeOld adds the includeOld to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) SetIncludeUnfilled ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetIncludeUnfilled(includeUnfilled *bool)
SetIncludeUnfilled adds the includeUnfilled to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) SetKind ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetKind(kind *string)
SetKind adds the kind to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) SetOffset ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetOffset(offset *int64)
SetOffset adds the offset to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) SetTimeout ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) WithContext ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithContext(ctx context.Context) *GetPrivateGetOrderHistoryByCurrencyParams
WithContext adds the context to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) WithCount ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithCount(count *int64) *GetPrivateGetOrderHistoryByCurrencyParams
WithCount adds the count to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) WithCurrency ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithCurrency(currency string) *GetPrivateGetOrderHistoryByCurrencyParams
WithCurrency adds the currency to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) WithHTTPClient ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithHTTPClient(client *http.Client) *GetPrivateGetOrderHistoryByCurrencyParams
WithHTTPClient adds the HTTPClient to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) WithIncludeOld ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithIncludeOld(includeOld *bool) *GetPrivateGetOrderHistoryByCurrencyParams
WithIncludeOld adds the includeOld to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) WithIncludeUnfilled ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithIncludeUnfilled(includeUnfilled *bool) *GetPrivateGetOrderHistoryByCurrencyParams
WithIncludeUnfilled adds the includeUnfilled to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) WithKind ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithKind(kind *string) *GetPrivateGetOrderHistoryByCurrencyParams
WithKind adds the kind to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) WithOffset ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithOffset(offset *int64) *GetPrivateGetOrderHistoryByCurrencyParams
WithOffset adds the offset to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) WithTimeout ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) WithTimeout(timeout time.Duration) *GetPrivateGetOrderHistoryByCurrencyParams
WithTimeout adds the timeout to the get private get order history by currency params
func (*GetPrivateGetOrderHistoryByCurrencyParams) WriteToRequest ¶
func (o *GetPrivateGetOrderHistoryByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateGetOrderHistoryByCurrencyReader ¶
type GetPrivateGetOrderHistoryByCurrencyReader struct {
// contains filtered or unexported fields
}
GetPrivateGetOrderHistoryByCurrencyReader is a Reader for the GetPrivateGetOrderHistoryByCurrency structure.
func (*GetPrivateGetOrderHistoryByCurrencyReader) ReadResponse ¶
func (o *GetPrivateGetOrderHistoryByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateGetOrderHistoryByInstrumentOK ¶
type GetPrivateGetOrderHistoryByInstrumentOK struct {
Payload *models.PrivateGetOrderHistoryResponse
}
GetPrivateGetOrderHistoryByInstrumentOK handles this case with default header values.
GetPrivateGetOrderHistoryByInstrumentOK get private get order history by instrument o k
func NewGetPrivateGetOrderHistoryByInstrumentOK ¶
func NewGetPrivateGetOrderHistoryByInstrumentOK() *GetPrivateGetOrderHistoryByInstrumentOK
NewGetPrivateGetOrderHistoryByInstrumentOK creates a GetPrivateGetOrderHistoryByInstrumentOK with default headers values
func (*GetPrivateGetOrderHistoryByInstrumentOK) Error ¶
func (o *GetPrivateGetOrderHistoryByInstrumentOK) Error() string
func (*GetPrivateGetOrderHistoryByInstrumentOK) GetPayload ¶
func (o *GetPrivateGetOrderHistoryByInstrumentOK) GetPayload() *models.PrivateGetOrderHistoryResponse
type GetPrivateGetOrderHistoryByInstrumentParams ¶
type GetPrivateGetOrderHistoryByInstrumentParams struct { /*Count Number of requested items, default - `20` */ Count *int64 /*IncludeOld Include in result orders older than 2 days, default - `false` */ IncludeOld *bool /*IncludeUnfilled Include in result fully unfilled closed orders, default - `false` */ IncludeUnfilled *bool /*InstrumentName Instrument name */ InstrumentName string /*Offset The offset for pagination, default - `0` */ Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateGetOrderHistoryByInstrumentParams contains all the parameters to send to the API endpoint for the get private get order history by instrument operation typically these are written to a http.Request
func NewGetPrivateGetOrderHistoryByInstrumentParams ¶
func NewGetPrivateGetOrderHistoryByInstrumentParams() *GetPrivateGetOrderHistoryByInstrumentParams
NewGetPrivateGetOrderHistoryByInstrumentParams creates a new GetPrivateGetOrderHistoryByInstrumentParams object with the default values initialized.
func NewGetPrivateGetOrderHistoryByInstrumentParamsWithContext ¶
func NewGetPrivateGetOrderHistoryByInstrumentParamsWithContext(ctx context.Context) *GetPrivateGetOrderHistoryByInstrumentParams
NewGetPrivateGetOrderHistoryByInstrumentParamsWithContext creates a new GetPrivateGetOrderHistoryByInstrumentParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateGetOrderHistoryByInstrumentParamsWithHTTPClient ¶
func NewGetPrivateGetOrderHistoryByInstrumentParamsWithHTTPClient(client *http.Client) *GetPrivateGetOrderHistoryByInstrumentParams
NewGetPrivateGetOrderHistoryByInstrumentParamsWithHTTPClient creates a new GetPrivateGetOrderHistoryByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateGetOrderHistoryByInstrumentParamsWithTimeout ¶
func NewGetPrivateGetOrderHistoryByInstrumentParamsWithTimeout(timeout time.Duration) *GetPrivateGetOrderHistoryByInstrumentParams
NewGetPrivateGetOrderHistoryByInstrumentParamsWithTimeout creates a new GetPrivateGetOrderHistoryByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateGetOrderHistoryByInstrumentParams) SetContext ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetContext(ctx context.Context)
SetContext adds the context to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) SetCount ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetCount(count *int64)
SetCount adds the count to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) SetHTTPClient ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) SetIncludeOld ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetIncludeOld(includeOld *bool)
SetIncludeOld adds the includeOld to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) SetIncludeUnfilled ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetIncludeUnfilled(includeUnfilled *bool)
SetIncludeUnfilled adds the includeUnfilled to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) SetInstrumentName ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetInstrumentName(instrumentName string)
SetInstrumentName adds the instrumentName to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) SetOffset ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetOffset(offset *int64)
SetOffset adds the offset to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) SetTimeout ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) WithContext ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithContext(ctx context.Context) *GetPrivateGetOrderHistoryByInstrumentParams
WithContext adds the context to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) WithCount ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithCount(count *int64) *GetPrivateGetOrderHistoryByInstrumentParams
WithCount adds the count to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) WithHTTPClient ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithHTTPClient(client *http.Client) *GetPrivateGetOrderHistoryByInstrumentParams
WithHTTPClient adds the HTTPClient to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) WithIncludeOld ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithIncludeOld(includeOld *bool) *GetPrivateGetOrderHistoryByInstrumentParams
WithIncludeOld adds the includeOld to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) WithIncludeUnfilled ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithIncludeUnfilled(includeUnfilled *bool) *GetPrivateGetOrderHistoryByInstrumentParams
WithIncludeUnfilled adds the includeUnfilled to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) WithInstrumentName ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithInstrumentName(instrumentName string) *GetPrivateGetOrderHistoryByInstrumentParams
WithInstrumentName adds the instrumentName to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) WithOffset ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithOffset(offset *int64) *GetPrivateGetOrderHistoryByInstrumentParams
WithOffset adds the offset to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) WithTimeout ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) WithTimeout(timeout time.Duration) *GetPrivateGetOrderHistoryByInstrumentParams
WithTimeout adds the timeout to the get private get order history by instrument params
func (*GetPrivateGetOrderHistoryByInstrumentParams) WriteToRequest ¶
func (o *GetPrivateGetOrderHistoryByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateGetOrderHistoryByInstrumentReader ¶
type GetPrivateGetOrderHistoryByInstrumentReader struct {
// contains filtered or unexported fields
}
GetPrivateGetOrderHistoryByInstrumentReader is a Reader for the GetPrivateGetOrderHistoryByInstrument structure.
func (*GetPrivateGetOrderHistoryByInstrumentReader) ReadResponse ¶
func (o *GetPrivateGetOrderHistoryByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateGetOrderMarginByIdsOK ¶
type GetPrivateGetOrderMarginByIdsOK struct {
Payload *models.PrivateGetOrderMarginByIdsResponse
}
GetPrivateGetOrderMarginByIdsOK handles this case with default header values.
GetPrivateGetOrderMarginByIdsOK get private get order margin by ids o k
func NewGetPrivateGetOrderMarginByIdsOK ¶
func NewGetPrivateGetOrderMarginByIdsOK() *GetPrivateGetOrderMarginByIdsOK
NewGetPrivateGetOrderMarginByIdsOK creates a GetPrivateGetOrderMarginByIdsOK with default headers values
func (*GetPrivateGetOrderMarginByIdsOK) Error ¶
func (o *GetPrivateGetOrderMarginByIdsOK) Error() string
func (*GetPrivateGetOrderMarginByIdsOK) GetPayload ¶
func (o *GetPrivateGetOrderMarginByIdsOK) GetPayload() *models.PrivateGetOrderMarginByIdsResponse
type GetPrivateGetOrderMarginByIdsParams ¶
type GetPrivateGetOrderMarginByIdsParams struct { /*Ids Ids of orders */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateGetOrderMarginByIdsParams contains all the parameters to send to the API endpoint for the get private get order margin by ids operation typically these are written to a http.Request
func NewGetPrivateGetOrderMarginByIdsParams ¶
func NewGetPrivateGetOrderMarginByIdsParams() *GetPrivateGetOrderMarginByIdsParams
NewGetPrivateGetOrderMarginByIdsParams creates a new GetPrivateGetOrderMarginByIdsParams object with the default values initialized.
func NewGetPrivateGetOrderMarginByIdsParamsWithContext ¶
func NewGetPrivateGetOrderMarginByIdsParamsWithContext(ctx context.Context) *GetPrivateGetOrderMarginByIdsParams
NewGetPrivateGetOrderMarginByIdsParamsWithContext creates a new GetPrivateGetOrderMarginByIdsParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateGetOrderMarginByIdsParamsWithHTTPClient ¶
func NewGetPrivateGetOrderMarginByIdsParamsWithHTTPClient(client *http.Client) *GetPrivateGetOrderMarginByIdsParams
NewGetPrivateGetOrderMarginByIdsParamsWithHTTPClient creates a new GetPrivateGetOrderMarginByIdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateGetOrderMarginByIdsParamsWithTimeout ¶
func NewGetPrivateGetOrderMarginByIdsParamsWithTimeout(timeout time.Duration) *GetPrivateGetOrderMarginByIdsParams
NewGetPrivateGetOrderMarginByIdsParamsWithTimeout creates a new GetPrivateGetOrderMarginByIdsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateGetOrderMarginByIdsParams) SetContext ¶
func (o *GetPrivateGetOrderMarginByIdsParams) SetContext(ctx context.Context)
SetContext adds the context to the get private get order margin by ids params
func (*GetPrivateGetOrderMarginByIdsParams) SetHTTPClient ¶
func (o *GetPrivateGetOrderMarginByIdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private get order margin by ids params
func (*GetPrivateGetOrderMarginByIdsParams) SetIds ¶
func (o *GetPrivateGetOrderMarginByIdsParams) SetIds(ids []string)
SetIds adds the ids to the get private get order margin by ids params
func (*GetPrivateGetOrderMarginByIdsParams) SetTimeout ¶
func (o *GetPrivateGetOrderMarginByIdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private get order margin by ids params
func (*GetPrivateGetOrderMarginByIdsParams) WithContext ¶
func (o *GetPrivateGetOrderMarginByIdsParams) WithContext(ctx context.Context) *GetPrivateGetOrderMarginByIdsParams
WithContext adds the context to the get private get order margin by ids params
func (*GetPrivateGetOrderMarginByIdsParams) WithHTTPClient ¶
func (o *GetPrivateGetOrderMarginByIdsParams) WithHTTPClient(client *http.Client) *GetPrivateGetOrderMarginByIdsParams
WithHTTPClient adds the HTTPClient to the get private get order margin by ids params
func (*GetPrivateGetOrderMarginByIdsParams) WithIds ¶
func (o *GetPrivateGetOrderMarginByIdsParams) WithIds(ids []string) *GetPrivateGetOrderMarginByIdsParams
WithIds adds the ids to the get private get order margin by ids params
func (*GetPrivateGetOrderMarginByIdsParams) WithTimeout ¶
func (o *GetPrivateGetOrderMarginByIdsParams) WithTimeout(timeout time.Duration) *GetPrivateGetOrderMarginByIdsParams
WithTimeout adds the timeout to the get private get order margin by ids params
func (*GetPrivateGetOrderMarginByIdsParams) WriteToRequest ¶
func (o *GetPrivateGetOrderMarginByIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateGetOrderMarginByIdsReader ¶
type GetPrivateGetOrderMarginByIdsReader struct {
// contains filtered or unexported fields
}
GetPrivateGetOrderMarginByIdsReader is a Reader for the GetPrivateGetOrderMarginByIds structure.
func (*GetPrivateGetOrderMarginByIdsReader) ReadResponse ¶
func (o *GetPrivateGetOrderMarginByIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateGetSettlementHistoryByCurrencyOK ¶
type GetPrivateGetSettlementHistoryByCurrencyOK struct {
Payload *models.PrivateSettlementResponse
}
GetPrivateGetSettlementHistoryByCurrencyOK handles this case with default header values.
GetPrivateGetSettlementHistoryByCurrencyOK get private get settlement history by currency o k
func NewGetPrivateGetSettlementHistoryByCurrencyOK ¶
func NewGetPrivateGetSettlementHistoryByCurrencyOK() *GetPrivateGetSettlementHistoryByCurrencyOK
NewGetPrivateGetSettlementHistoryByCurrencyOK creates a GetPrivateGetSettlementHistoryByCurrencyOK with default headers values
func (*GetPrivateGetSettlementHistoryByCurrencyOK) Error ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyOK) Error() string
func (*GetPrivateGetSettlementHistoryByCurrencyOK) GetPayload ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyOK) GetPayload() *models.PrivateSettlementResponse
type GetPrivateGetSettlementHistoryByCurrencyParams ¶
type GetPrivateGetSettlementHistoryByCurrencyParams struct { /*Count Number of requested items, default - `20` */ Count *int64 /*Currency The currency symbol */ Currency string /*Type Settlement type */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateGetSettlementHistoryByCurrencyParams contains all the parameters to send to the API endpoint for the get private get settlement history by currency operation typically these are written to a http.Request
func NewGetPrivateGetSettlementHistoryByCurrencyParams ¶
func NewGetPrivateGetSettlementHistoryByCurrencyParams() *GetPrivateGetSettlementHistoryByCurrencyParams
NewGetPrivateGetSettlementHistoryByCurrencyParams creates a new GetPrivateGetSettlementHistoryByCurrencyParams object with the default values initialized.
func NewGetPrivateGetSettlementHistoryByCurrencyParamsWithContext ¶
func NewGetPrivateGetSettlementHistoryByCurrencyParamsWithContext(ctx context.Context) *GetPrivateGetSettlementHistoryByCurrencyParams
NewGetPrivateGetSettlementHistoryByCurrencyParamsWithContext creates a new GetPrivateGetSettlementHistoryByCurrencyParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateGetSettlementHistoryByCurrencyParamsWithHTTPClient ¶
func NewGetPrivateGetSettlementHistoryByCurrencyParamsWithHTTPClient(client *http.Client) *GetPrivateGetSettlementHistoryByCurrencyParams
NewGetPrivateGetSettlementHistoryByCurrencyParamsWithHTTPClient creates a new GetPrivateGetSettlementHistoryByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateGetSettlementHistoryByCurrencyParamsWithTimeout ¶
func NewGetPrivateGetSettlementHistoryByCurrencyParamsWithTimeout(timeout time.Duration) *GetPrivateGetSettlementHistoryByCurrencyParams
NewGetPrivateGetSettlementHistoryByCurrencyParamsWithTimeout creates a new GetPrivateGetSettlementHistoryByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateGetSettlementHistoryByCurrencyParams) SetContext ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyParams) SetContext(ctx context.Context)
SetContext adds the context to the get private get settlement history by currency params
func (*GetPrivateGetSettlementHistoryByCurrencyParams) SetCount ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyParams) SetCount(count *int64)
SetCount adds the count to the get private get settlement history by currency params
func (*GetPrivateGetSettlementHistoryByCurrencyParams) SetCurrency ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyParams) SetCurrency(currency string)
SetCurrency adds the currency to the get private get settlement history by currency params
func (*GetPrivateGetSettlementHistoryByCurrencyParams) SetHTTPClient ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private get settlement history by currency params
func (*GetPrivateGetSettlementHistoryByCurrencyParams) SetTimeout ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private get settlement history by currency params
func (*GetPrivateGetSettlementHistoryByCurrencyParams) SetType ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyParams) SetType(typeVar *string)
SetType adds the type to the get private get settlement history by currency params
func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithContext ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyParams) WithContext(ctx context.Context) *GetPrivateGetSettlementHistoryByCurrencyParams
WithContext adds the context to the get private get settlement history by currency params
func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithCount ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyParams) WithCount(count *int64) *GetPrivateGetSettlementHistoryByCurrencyParams
WithCount adds the count to the get private get settlement history by currency params
func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithCurrency ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyParams) WithCurrency(currency string) *GetPrivateGetSettlementHistoryByCurrencyParams
WithCurrency adds the currency to the get private get settlement history by currency params
func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithHTTPClient ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyParams) WithHTTPClient(client *http.Client) *GetPrivateGetSettlementHistoryByCurrencyParams
WithHTTPClient adds the HTTPClient to the get private get settlement history by currency params
func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithTimeout ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyParams) WithTimeout(timeout time.Duration) *GetPrivateGetSettlementHistoryByCurrencyParams
WithTimeout adds the timeout to the get private get settlement history by currency params
func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithType ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyParams) WithType(typeVar *string) *GetPrivateGetSettlementHistoryByCurrencyParams
WithType adds the typeVar to the get private get settlement history by currency params
func (*GetPrivateGetSettlementHistoryByCurrencyParams) WriteToRequest ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateGetSettlementHistoryByCurrencyReader ¶
type GetPrivateGetSettlementHistoryByCurrencyReader struct {
// contains filtered or unexported fields
}
GetPrivateGetSettlementHistoryByCurrencyReader is a Reader for the GetPrivateGetSettlementHistoryByCurrency structure.
func (*GetPrivateGetSettlementHistoryByCurrencyReader) ReadResponse ¶
func (o *GetPrivateGetSettlementHistoryByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateGetSettlementHistoryByInstrumentOK ¶
type GetPrivateGetSettlementHistoryByInstrumentOK struct {
Payload *models.PrivateSettlementResponse
}
GetPrivateGetSettlementHistoryByInstrumentOK handles this case with default header values.
GetPrivateGetSettlementHistoryByInstrumentOK get private get settlement history by instrument o k
func NewGetPrivateGetSettlementHistoryByInstrumentOK ¶
func NewGetPrivateGetSettlementHistoryByInstrumentOK() *GetPrivateGetSettlementHistoryByInstrumentOK
NewGetPrivateGetSettlementHistoryByInstrumentOK creates a GetPrivateGetSettlementHistoryByInstrumentOK with default headers values
func (*GetPrivateGetSettlementHistoryByInstrumentOK) Error ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentOK) Error() string
func (*GetPrivateGetSettlementHistoryByInstrumentOK) GetPayload ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentOK) GetPayload() *models.PrivateSettlementResponse
type GetPrivateGetSettlementHistoryByInstrumentParams ¶
type GetPrivateGetSettlementHistoryByInstrumentParams struct { /*Count Number of requested items, default - `20` */ Count *int64 /*InstrumentName Instrument name */ InstrumentName string /*Type Settlement type */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateGetSettlementHistoryByInstrumentParams contains all the parameters to send to the API endpoint for the get private get settlement history by instrument operation typically these are written to a http.Request
func NewGetPrivateGetSettlementHistoryByInstrumentParams ¶
func NewGetPrivateGetSettlementHistoryByInstrumentParams() *GetPrivateGetSettlementHistoryByInstrumentParams
NewGetPrivateGetSettlementHistoryByInstrumentParams creates a new GetPrivateGetSettlementHistoryByInstrumentParams object with the default values initialized.
func NewGetPrivateGetSettlementHistoryByInstrumentParamsWithContext ¶
func NewGetPrivateGetSettlementHistoryByInstrumentParamsWithContext(ctx context.Context) *GetPrivateGetSettlementHistoryByInstrumentParams
NewGetPrivateGetSettlementHistoryByInstrumentParamsWithContext creates a new GetPrivateGetSettlementHistoryByInstrumentParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateGetSettlementHistoryByInstrumentParamsWithHTTPClient ¶
func NewGetPrivateGetSettlementHistoryByInstrumentParamsWithHTTPClient(client *http.Client) *GetPrivateGetSettlementHistoryByInstrumentParams
NewGetPrivateGetSettlementHistoryByInstrumentParamsWithHTTPClient creates a new GetPrivateGetSettlementHistoryByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateGetSettlementHistoryByInstrumentParamsWithTimeout ¶
func NewGetPrivateGetSettlementHistoryByInstrumentParamsWithTimeout(timeout time.Duration) *GetPrivateGetSettlementHistoryByInstrumentParams
NewGetPrivateGetSettlementHistoryByInstrumentParamsWithTimeout creates a new GetPrivateGetSettlementHistoryByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateGetSettlementHistoryByInstrumentParams) SetContext ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentParams) SetContext(ctx context.Context)
SetContext adds the context to the get private get settlement history by instrument params
func (*GetPrivateGetSettlementHistoryByInstrumentParams) SetCount ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentParams) SetCount(count *int64)
SetCount adds the count to the get private get settlement history by instrument params
func (*GetPrivateGetSettlementHistoryByInstrumentParams) SetHTTPClient ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private get settlement history by instrument params
func (*GetPrivateGetSettlementHistoryByInstrumentParams) SetInstrumentName ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentParams) SetInstrumentName(instrumentName string)
SetInstrumentName adds the instrumentName to the get private get settlement history by instrument params
func (*GetPrivateGetSettlementHistoryByInstrumentParams) SetTimeout ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private get settlement history by instrument params
func (*GetPrivateGetSettlementHistoryByInstrumentParams) SetType ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentParams) SetType(typeVar *string)
SetType adds the type to the get private get settlement history by instrument params
func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithContext ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentParams) WithContext(ctx context.Context) *GetPrivateGetSettlementHistoryByInstrumentParams
WithContext adds the context to the get private get settlement history by instrument params
func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithCount ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentParams) WithCount(count *int64) *GetPrivateGetSettlementHistoryByInstrumentParams
WithCount adds the count to the get private get settlement history by instrument params
func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithHTTPClient ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentParams) WithHTTPClient(client *http.Client) *GetPrivateGetSettlementHistoryByInstrumentParams
WithHTTPClient adds the HTTPClient to the get private get settlement history by instrument params
func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithInstrumentName ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentParams) WithInstrumentName(instrumentName string) *GetPrivateGetSettlementHistoryByInstrumentParams
WithInstrumentName adds the instrumentName to the get private get settlement history by instrument params
func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithTimeout ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentParams) WithTimeout(timeout time.Duration) *GetPrivateGetSettlementHistoryByInstrumentParams
WithTimeout adds the timeout to the get private get settlement history by instrument params
func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithType ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentParams) WithType(typeVar *string) *GetPrivateGetSettlementHistoryByInstrumentParams
WithType adds the typeVar to the get private get settlement history by instrument params
func (*GetPrivateGetSettlementHistoryByInstrumentParams) WriteToRequest ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateGetSettlementHistoryByInstrumentReader ¶
type GetPrivateGetSettlementHistoryByInstrumentReader struct {
// contains filtered or unexported fields
}
GetPrivateGetSettlementHistoryByInstrumentReader is a Reader for the GetPrivateGetSettlementHistoryByInstrument structure.
func (*GetPrivateGetSettlementHistoryByInstrumentReader) ReadResponse ¶
func (o *GetPrivateGetSettlementHistoryByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateGetStopOrderHistoryOK ¶
type GetPrivateGetStopOrderHistoryOK struct {
Payload *models.PrivateGetStopOrderHistoryResponse
}
GetPrivateGetStopOrderHistoryOK handles this case with default header values.
GetPrivateGetStopOrderHistoryOK get private get stop order history o k
func NewGetPrivateGetStopOrderHistoryOK ¶
func NewGetPrivateGetStopOrderHistoryOK() *GetPrivateGetStopOrderHistoryOK
NewGetPrivateGetStopOrderHistoryOK creates a GetPrivateGetStopOrderHistoryOK with default headers values
func (*GetPrivateGetStopOrderHistoryOK) Error ¶
func (o *GetPrivateGetStopOrderHistoryOK) Error() string
func (*GetPrivateGetStopOrderHistoryOK) GetPayload ¶
func (o *GetPrivateGetStopOrderHistoryOK) GetPayload() *models.PrivateGetStopOrderHistoryResponse
type GetPrivateGetStopOrderHistoryParams ¶
type GetPrivateGetStopOrderHistoryParams struct { /*Continuation Continuation token for pagination */ Continuation *string /*Count Number of requested items, default - `10` */ Count *int64 /*Currency The currency symbol */ Currency string /*InstrumentName Instrument name */ InstrumentName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateGetStopOrderHistoryParams contains all the parameters to send to the API endpoint for the get private get stop order history operation typically these are written to a http.Request
func NewGetPrivateGetStopOrderHistoryParams ¶
func NewGetPrivateGetStopOrderHistoryParams() *GetPrivateGetStopOrderHistoryParams
NewGetPrivateGetStopOrderHistoryParams creates a new GetPrivateGetStopOrderHistoryParams object with the default values initialized.
func NewGetPrivateGetStopOrderHistoryParamsWithContext ¶
func NewGetPrivateGetStopOrderHistoryParamsWithContext(ctx context.Context) *GetPrivateGetStopOrderHistoryParams
NewGetPrivateGetStopOrderHistoryParamsWithContext creates a new GetPrivateGetStopOrderHistoryParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateGetStopOrderHistoryParamsWithHTTPClient ¶
func NewGetPrivateGetStopOrderHistoryParamsWithHTTPClient(client *http.Client) *GetPrivateGetStopOrderHistoryParams
NewGetPrivateGetStopOrderHistoryParamsWithHTTPClient creates a new GetPrivateGetStopOrderHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateGetStopOrderHistoryParamsWithTimeout ¶
func NewGetPrivateGetStopOrderHistoryParamsWithTimeout(timeout time.Duration) *GetPrivateGetStopOrderHistoryParams
NewGetPrivateGetStopOrderHistoryParamsWithTimeout creates a new GetPrivateGetStopOrderHistoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateGetStopOrderHistoryParams) SetContext ¶
func (o *GetPrivateGetStopOrderHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get private get stop order history params
func (*GetPrivateGetStopOrderHistoryParams) SetContinuation ¶
func (o *GetPrivateGetStopOrderHistoryParams) SetContinuation(continuation *string)
SetContinuation adds the continuation to the get private get stop order history params
func (*GetPrivateGetStopOrderHistoryParams) SetCount ¶
func (o *GetPrivateGetStopOrderHistoryParams) SetCount(count *int64)
SetCount adds the count to the get private get stop order history params
func (*GetPrivateGetStopOrderHistoryParams) SetCurrency ¶
func (o *GetPrivateGetStopOrderHistoryParams) SetCurrency(currency string)
SetCurrency adds the currency to the get private get stop order history params
func (*GetPrivateGetStopOrderHistoryParams) SetHTTPClient ¶
func (o *GetPrivateGetStopOrderHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private get stop order history params
func (*GetPrivateGetStopOrderHistoryParams) SetInstrumentName ¶
func (o *GetPrivateGetStopOrderHistoryParams) SetInstrumentName(instrumentName string)
SetInstrumentName adds the instrumentName to the get private get stop order history params
func (*GetPrivateGetStopOrderHistoryParams) SetTimeout ¶
func (o *GetPrivateGetStopOrderHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private get stop order history params
func (*GetPrivateGetStopOrderHistoryParams) WithContext ¶
func (o *GetPrivateGetStopOrderHistoryParams) WithContext(ctx context.Context) *GetPrivateGetStopOrderHistoryParams
WithContext adds the context to the get private get stop order history params
func (*GetPrivateGetStopOrderHistoryParams) WithContinuation ¶
func (o *GetPrivateGetStopOrderHistoryParams) WithContinuation(continuation *string) *GetPrivateGetStopOrderHistoryParams
WithContinuation adds the continuation to the get private get stop order history params
func (*GetPrivateGetStopOrderHistoryParams) WithCount ¶
func (o *GetPrivateGetStopOrderHistoryParams) WithCount(count *int64) *GetPrivateGetStopOrderHistoryParams
WithCount adds the count to the get private get stop order history params
func (*GetPrivateGetStopOrderHistoryParams) WithCurrency ¶
func (o *GetPrivateGetStopOrderHistoryParams) WithCurrency(currency string) *GetPrivateGetStopOrderHistoryParams
WithCurrency adds the currency to the get private get stop order history params
func (*GetPrivateGetStopOrderHistoryParams) WithHTTPClient ¶
func (o *GetPrivateGetStopOrderHistoryParams) WithHTTPClient(client *http.Client) *GetPrivateGetStopOrderHistoryParams
WithHTTPClient adds the HTTPClient to the get private get stop order history params
func (*GetPrivateGetStopOrderHistoryParams) WithInstrumentName ¶
func (o *GetPrivateGetStopOrderHistoryParams) WithInstrumentName(instrumentName string) *GetPrivateGetStopOrderHistoryParams
WithInstrumentName adds the instrumentName to the get private get stop order history params
func (*GetPrivateGetStopOrderHistoryParams) WithTimeout ¶
func (o *GetPrivateGetStopOrderHistoryParams) WithTimeout(timeout time.Duration) *GetPrivateGetStopOrderHistoryParams
WithTimeout adds the timeout to the get private get stop order history params
func (*GetPrivateGetStopOrderHistoryParams) WriteToRequest ¶
func (o *GetPrivateGetStopOrderHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateGetStopOrderHistoryReader ¶
type GetPrivateGetStopOrderHistoryReader struct {
// contains filtered or unexported fields
}
GetPrivateGetStopOrderHistoryReader is a Reader for the GetPrivateGetStopOrderHistory structure.
func (*GetPrivateGetStopOrderHistoryReader) ReadResponse ¶
func (o *GetPrivateGetStopOrderHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateGetUserTradesByCurrencyAndTimeOK ¶
type GetPrivateGetUserTradesByCurrencyAndTimeOK struct {
Payload *models.PrivateGetUserTradesHistoryResponse
}
GetPrivateGetUserTradesByCurrencyAndTimeOK handles this case with default header values.
GetPrivateGetUserTradesByCurrencyAndTimeOK get private get user trades by currency and time o k
func NewGetPrivateGetUserTradesByCurrencyAndTimeOK ¶
func NewGetPrivateGetUserTradesByCurrencyAndTimeOK() *GetPrivateGetUserTradesByCurrencyAndTimeOK
NewGetPrivateGetUserTradesByCurrencyAndTimeOK creates a GetPrivateGetUserTradesByCurrencyAndTimeOK with default headers values
func (*GetPrivateGetUserTradesByCurrencyAndTimeOK) Error ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeOK) Error() string
func (*GetPrivateGetUserTradesByCurrencyAndTimeOK) GetPayload ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeOK) GetPayload() *models.PrivateGetUserTradesHistoryResponse
type GetPrivateGetUserTradesByCurrencyAndTimeParams ¶
type GetPrivateGetUserTradesByCurrencyAndTimeParams struct { /*Count Number of requested items, default - `10` */ Count *int64 /*Currency The currency symbol */ Currency string /*EndTimestamp The most recent timestamp to return result for */ EndTimestamp int64 /*IncludeOld Include trades older than 7 days, default - `false` */ IncludeOld *bool /*Kind Instrument kind, if not provided instruments of all kinds are considered */ Kind *string /*Sorting Direction of results sorting (`default` value means no sorting, results will be returned in order in which they left the database) */ Sorting *string /*StartTimestamp The earliest timestamp to return result for */ StartTimestamp int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateGetUserTradesByCurrencyAndTimeParams contains all the parameters to send to the API endpoint for the get private get user trades by currency and time operation typically these are written to a http.Request
func NewGetPrivateGetUserTradesByCurrencyAndTimeParams ¶
func NewGetPrivateGetUserTradesByCurrencyAndTimeParams() *GetPrivateGetUserTradesByCurrencyAndTimeParams
NewGetPrivateGetUserTradesByCurrencyAndTimeParams creates a new GetPrivateGetUserTradesByCurrencyAndTimeParams object with the default values initialized.
func NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithContext ¶
func NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithContext(ctx context.Context) *GetPrivateGetUserTradesByCurrencyAndTimeParams
NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithContext creates a new GetPrivateGetUserTradesByCurrencyAndTimeParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithHTTPClient ¶
func NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByCurrencyAndTimeParams
NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithHTTPClient creates a new GetPrivateGetUserTradesByCurrencyAndTimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithTimeout ¶
func NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByCurrencyAndTimeParams
NewGetPrivateGetUserTradesByCurrencyAndTimeParamsWithTimeout creates a new GetPrivateGetUserTradesByCurrencyAndTimeParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetContext ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetContext(ctx context.Context)
SetContext adds the context to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetCount ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetCount(count *int64)
SetCount adds the count to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetCurrency ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetCurrency(currency string)
SetCurrency adds the currency to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetEndTimestamp ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetEndTimestamp(endTimestamp int64)
SetEndTimestamp adds the endTimestamp to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetHTTPClient ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetIncludeOld ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetIncludeOld(includeOld *bool)
SetIncludeOld adds the includeOld to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetKind ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetKind(kind *string)
SetKind adds the kind to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetSorting ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetSorting(sorting *string)
SetSorting adds the sorting to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetStartTimestamp ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetStartTimestamp(startTimestamp int64)
SetStartTimestamp adds the startTimestamp to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetTimeout ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithContext ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithContext(ctx context.Context) *GetPrivateGetUserTradesByCurrencyAndTimeParams
WithContext adds the context to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithCount ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithCount(count *int64) *GetPrivateGetUserTradesByCurrencyAndTimeParams
WithCount adds the count to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithCurrency ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithCurrency(currency string) *GetPrivateGetUserTradesByCurrencyAndTimeParams
WithCurrency adds the currency to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithEndTimestamp ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithEndTimestamp(endTimestamp int64) *GetPrivateGetUserTradesByCurrencyAndTimeParams
WithEndTimestamp adds the endTimestamp to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithHTTPClient ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByCurrencyAndTimeParams
WithHTTPClient adds the HTTPClient to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithIncludeOld ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithIncludeOld(includeOld *bool) *GetPrivateGetUserTradesByCurrencyAndTimeParams
WithIncludeOld adds the includeOld to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithKind ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithKind(kind *string) *GetPrivateGetUserTradesByCurrencyAndTimeParams
WithKind adds the kind to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithSorting ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithSorting(sorting *string) *GetPrivateGetUserTradesByCurrencyAndTimeParams
WithSorting adds the sorting to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithStartTimestamp ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithStartTimestamp(startTimestamp int64) *GetPrivateGetUserTradesByCurrencyAndTimeParams
WithStartTimestamp adds the startTimestamp to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithTimeout ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByCurrencyAndTimeParams
WithTimeout adds the timeout to the get private get user trades by currency and time params
func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WriteToRequest ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateGetUserTradesByCurrencyAndTimeReader ¶
type GetPrivateGetUserTradesByCurrencyAndTimeReader struct {
// contains filtered or unexported fields
}
GetPrivateGetUserTradesByCurrencyAndTimeReader is a Reader for the GetPrivateGetUserTradesByCurrencyAndTime structure.
func (*GetPrivateGetUserTradesByCurrencyAndTimeReader) ReadResponse ¶
func (o *GetPrivateGetUserTradesByCurrencyAndTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateGetUserTradesByCurrencyOK ¶
type GetPrivateGetUserTradesByCurrencyOK struct {
Payload *models.PrivateGetUserTradesHistoryResponse
}
GetPrivateGetUserTradesByCurrencyOK handles this case with default header values.
GetPrivateGetUserTradesByCurrencyOK get private get user trades by currency o k
func NewGetPrivateGetUserTradesByCurrencyOK ¶
func NewGetPrivateGetUserTradesByCurrencyOK() *GetPrivateGetUserTradesByCurrencyOK
NewGetPrivateGetUserTradesByCurrencyOK creates a GetPrivateGetUserTradesByCurrencyOK with default headers values
func (*GetPrivateGetUserTradesByCurrencyOK) Error ¶
func (o *GetPrivateGetUserTradesByCurrencyOK) Error() string
func (*GetPrivateGetUserTradesByCurrencyOK) GetPayload ¶
func (o *GetPrivateGetUserTradesByCurrencyOK) GetPayload() *models.PrivateGetUserTradesHistoryResponse
type GetPrivateGetUserTradesByCurrencyParams ¶
type GetPrivateGetUserTradesByCurrencyParams struct { /*Count Number of requested items, default - `10` */ Count *int64 /*Currency The currency symbol */ Currency string /*EndID The ID number of the last trade to be returned */ EndID *string /*IncludeOld Include trades older than 7 days, default - `false` */ IncludeOld *bool /*Kind Instrument kind, if not provided instruments of all kinds are considered */ Kind *string /*Sorting Direction of results sorting (`default` value means no sorting, results will be returned in order in which they left the database) */ Sorting *string /*StartID The ID number of the first trade to be returned */ StartID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateGetUserTradesByCurrencyParams contains all the parameters to send to the API endpoint for the get private get user trades by currency operation typically these are written to a http.Request
func NewGetPrivateGetUserTradesByCurrencyParams ¶
func NewGetPrivateGetUserTradesByCurrencyParams() *GetPrivateGetUserTradesByCurrencyParams
NewGetPrivateGetUserTradesByCurrencyParams creates a new GetPrivateGetUserTradesByCurrencyParams object with the default values initialized.
func NewGetPrivateGetUserTradesByCurrencyParamsWithContext ¶
func NewGetPrivateGetUserTradesByCurrencyParamsWithContext(ctx context.Context) *GetPrivateGetUserTradesByCurrencyParams
NewGetPrivateGetUserTradesByCurrencyParamsWithContext creates a new GetPrivateGetUserTradesByCurrencyParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateGetUserTradesByCurrencyParamsWithHTTPClient ¶
func NewGetPrivateGetUserTradesByCurrencyParamsWithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByCurrencyParams
NewGetPrivateGetUserTradesByCurrencyParamsWithHTTPClient creates a new GetPrivateGetUserTradesByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateGetUserTradesByCurrencyParamsWithTimeout ¶
func NewGetPrivateGetUserTradesByCurrencyParamsWithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByCurrencyParams
NewGetPrivateGetUserTradesByCurrencyParamsWithTimeout creates a new GetPrivateGetUserTradesByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateGetUserTradesByCurrencyParams) SetContext ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) SetContext(ctx context.Context)
SetContext adds the context to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) SetCount ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) SetCount(count *int64)
SetCount adds the count to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) SetCurrency ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) SetCurrency(currency string)
SetCurrency adds the currency to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) SetEndID ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) SetEndID(endID *string)
SetEndID adds the endId to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) SetHTTPClient ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) SetIncludeOld ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) SetIncludeOld(includeOld *bool)
SetIncludeOld adds the includeOld to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) SetKind ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) SetKind(kind *string)
SetKind adds the kind to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) SetSorting ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) SetSorting(sorting *string)
SetSorting adds the sorting to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) SetStartID ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) SetStartID(startID *string)
SetStartID adds the startId to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) SetTimeout ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) WithContext ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) WithContext(ctx context.Context) *GetPrivateGetUserTradesByCurrencyParams
WithContext adds the context to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) WithCount ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) WithCount(count *int64) *GetPrivateGetUserTradesByCurrencyParams
WithCount adds the count to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) WithCurrency ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) WithCurrency(currency string) *GetPrivateGetUserTradesByCurrencyParams
WithCurrency adds the currency to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) WithEndID ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) WithEndID(endID *string) *GetPrivateGetUserTradesByCurrencyParams
WithEndID adds the endID to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) WithHTTPClient ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) WithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByCurrencyParams
WithHTTPClient adds the HTTPClient to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) WithIncludeOld ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) WithIncludeOld(includeOld *bool) *GetPrivateGetUserTradesByCurrencyParams
WithIncludeOld adds the includeOld to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) WithKind ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) WithKind(kind *string) *GetPrivateGetUserTradesByCurrencyParams
WithKind adds the kind to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) WithSorting ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) WithSorting(sorting *string) *GetPrivateGetUserTradesByCurrencyParams
WithSorting adds the sorting to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) WithStartID ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) WithStartID(startID *string) *GetPrivateGetUserTradesByCurrencyParams
WithStartID adds the startID to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) WithTimeout ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) WithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByCurrencyParams
WithTimeout adds the timeout to the get private get user trades by currency params
func (*GetPrivateGetUserTradesByCurrencyParams) WriteToRequest ¶
func (o *GetPrivateGetUserTradesByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateGetUserTradesByCurrencyReader ¶
type GetPrivateGetUserTradesByCurrencyReader struct {
// contains filtered or unexported fields
}
GetPrivateGetUserTradesByCurrencyReader is a Reader for the GetPrivateGetUserTradesByCurrency structure.
func (*GetPrivateGetUserTradesByCurrencyReader) ReadResponse ¶
func (o *GetPrivateGetUserTradesByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateGetUserTradesByInstrumentAndTimeOK ¶
type GetPrivateGetUserTradesByInstrumentAndTimeOK struct {
Payload *models.PrivateGetUserTradesHistoryResponse
}
GetPrivateGetUserTradesByInstrumentAndTimeOK handles this case with default header values.
GetPrivateGetUserTradesByInstrumentAndTimeOK get private get user trades by instrument and time o k
func NewGetPrivateGetUserTradesByInstrumentAndTimeOK ¶
func NewGetPrivateGetUserTradesByInstrumentAndTimeOK() *GetPrivateGetUserTradesByInstrumentAndTimeOK
NewGetPrivateGetUserTradesByInstrumentAndTimeOK creates a GetPrivateGetUserTradesByInstrumentAndTimeOK with default headers values
func (*GetPrivateGetUserTradesByInstrumentAndTimeOK) Error ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeOK) Error() string
func (*GetPrivateGetUserTradesByInstrumentAndTimeOK) GetPayload ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeOK) GetPayload() *models.PrivateGetUserTradesHistoryResponse
type GetPrivateGetUserTradesByInstrumentAndTimeParams ¶
type GetPrivateGetUserTradesByInstrumentAndTimeParams struct { /*Count Number of requested items, default - `10` */ Count *int64 /*EndTimestamp The most recent timestamp to return result for */ EndTimestamp int64 /*IncludeOld Include trades older than 7 days, default - `false` */ IncludeOld *bool /*InstrumentName Instrument name */ InstrumentName string /*Sorting Direction of results sorting (`default` value means no sorting, results will be returned in order in which they left the database) */ Sorting *string /*StartTimestamp The earliest timestamp to return result for */ StartTimestamp int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateGetUserTradesByInstrumentAndTimeParams contains all the parameters to send to the API endpoint for the get private get user trades by instrument and time operation typically these are written to a http.Request
func NewGetPrivateGetUserTradesByInstrumentAndTimeParams ¶
func NewGetPrivateGetUserTradesByInstrumentAndTimeParams() *GetPrivateGetUserTradesByInstrumentAndTimeParams
NewGetPrivateGetUserTradesByInstrumentAndTimeParams creates a new GetPrivateGetUserTradesByInstrumentAndTimeParams object with the default values initialized.
func NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithContext ¶
func NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithContext(ctx context.Context) *GetPrivateGetUserTradesByInstrumentAndTimeParams
NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithContext creates a new GetPrivateGetUserTradesByInstrumentAndTimeParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithHTTPClient ¶
func NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByInstrumentAndTimeParams
NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithHTTPClient creates a new GetPrivateGetUserTradesByInstrumentAndTimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithTimeout ¶
func NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByInstrumentAndTimeParams
NewGetPrivateGetUserTradesByInstrumentAndTimeParamsWithTimeout creates a new GetPrivateGetUserTradesByInstrumentAndTimeParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetContext ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetContext(ctx context.Context)
SetContext adds the context to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetCount ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetCount(count *int64)
SetCount adds the count to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetEndTimestamp ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetEndTimestamp(endTimestamp int64)
SetEndTimestamp adds the endTimestamp to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetHTTPClient ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetIncludeOld ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetIncludeOld(includeOld *bool)
SetIncludeOld adds the includeOld to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetInstrumentName ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetInstrumentName(instrumentName string)
SetInstrumentName adds the instrumentName to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetSorting ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetSorting(sorting *string)
SetSorting adds the sorting to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetStartTimestamp ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetStartTimestamp(startTimestamp int64)
SetStartTimestamp adds the startTimestamp to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetTimeout ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithContext ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithContext(ctx context.Context) *GetPrivateGetUserTradesByInstrumentAndTimeParams
WithContext adds the context to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithCount ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithCount(count *int64) *GetPrivateGetUserTradesByInstrumentAndTimeParams
WithCount adds the count to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithEndTimestamp ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithEndTimestamp(endTimestamp int64) *GetPrivateGetUserTradesByInstrumentAndTimeParams
WithEndTimestamp adds the endTimestamp to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithHTTPClient ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByInstrumentAndTimeParams
WithHTTPClient adds the HTTPClient to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithIncludeOld ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithIncludeOld(includeOld *bool) *GetPrivateGetUserTradesByInstrumentAndTimeParams
WithIncludeOld adds the includeOld to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithInstrumentName ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithInstrumentName(instrumentName string) *GetPrivateGetUserTradesByInstrumentAndTimeParams
WithInstrumentName adds the instrumentName to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithSorting ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithSorting(sorting *string) *GetPrivateGetUserTradesByInstrumentAndTimeParams
WithSorting adds the sorting to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithStartTimestamp ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithStartTimestamp(startTimestamp int64) *GetPrivateGetUserTradesByInstrumentAndTimeParams
WithStartTimestamp adds the startTimestamp to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithTimeout ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByInstrumentAndTimeParams
WithTimeout adds the timeout to the get private get user trades by instrument and time params
func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WriteToRequest ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateGetUserTradesByInstrumentAndTimeReader ¶
type GetPrivateGetUserTradesByInstrumentAndTimeReader struct {
// contains filtered or unexported fields
}
GetPrivateGetUserTradesByInstrumentAndTimeReader is a Reader for the GetPrivateGetUserTradesByInstrumentAndTime structure.
func (*GetPrivateGetUserTradesByInstrumentAndTimeReader) ReadResponse ¶
func (o *GetPrivateGetUserTradesByInstrumentAndTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateGetUserTradesByInstrumentOK ¶
type GetPrivateGetUserTradesByInstrumentOK struct {
Payload *models.PrivateGetUserTradesHistoryResponse
}
GetPrivateGetUserTradesByInstrumentOK handles this case with default header values.
GetPrivateGetUserTradesByInstrumentOK get private get user trades by instrument o k
func NewGetPrivateGetUserTradesByInstrumentOK ¶
func NewGetPrivateGetUserTradesByInstrumentOK() *GetPrivateGetUserTradesByInstrumentOK
NewGetPrivateGetUserTradesByInstrumentOK creates a GetPrivateGetUserTradesByInstrumentOK with default headers values
func (*GetPrivateGetUserTradesByInstrumentOK) Error ¶
func (o *GetPrivateGetUserTradesByInstrumentOK) Error() string
func (*GetPrivateGetUserTradesByInstrumentOK) GetPayload ¶
func (o *GetPrivateGetUserTradesByInstrumentOK) GetPayload() *models.PrivateGetUserTradesHistoryResponse
type GetPrivateGetUserTradesByInstrumentParams ¶
type GetPrivateGetUserTradesByInstrumentParams struct { /*Count Number of requested items, default - `10` */ Count *int64 /*EndSeq The sequence number of the last trade to be returned */ EndSeq *int64 /*IncludeOld Include trades older than 7 days, default - `false` */ IncludeOld *bool /*InstrumentName Instrument name */ InstrumentName string /*Sorting Direction of results sorting (`default` value means no sorting, results will be returned in order in which they left the database) */ Sorting *string /*StartSeq The sequence number of the first trade to be returned */ StartSeq *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateGetUserTradesByInstrumentParams contains all the parameters to send to the API endpoint for the get private get user trades by instrument operation typically these are written to a http.Request
func NewGetPrivateGetUserTradesByInstrumentParams ¶
func NewGetPrivateGetUserTradesByInstrumentParams() *GetPrivateGetUserTradesByInstrumentParams
NewGetPrivateGetUserTradesByInstrumentParams creates a new GetPrivateGetUserTradesByInstrumentParams object with the default values initialized.
func NewGetPrivateGetUserTradesByInstrumentParamsWithContext ¶
func NewGetPrivateGetUserTradesByInstrumentParamsWithContext(ctx context.Context) *GetPrivateGetUserTradesByInstrumentParams
NewGetPrivateGetUserTradesByInstrumentParamsWithContext creates a new GetPrivateGetUserTradesByInstrumentParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateGetUserTradesByInstrumentParamsWithHTTPClient ¶
func NewGetPrivateGetUserTradesByInstrumentParamsWithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByInstrumentParams
NewGetPrivateGetUserTradesByInstrumentParamsWithHTTPClient creates a new GetPrivateGetUserTradesByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateGetUserTradesByInstrumentParamsWithTimeout ¶
func NewGetPrivateGetUserTradesByInstrumentParamsWithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByInstrumentParams
NewGetPrivateGetUserTradesByInstrumentParamsWithTimeout creates a new GetPrivateGetUserTradesByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateGetUserTradesByInstrumentParams) SetContext ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) SetContext(ctx context.Context)
SetContext adds the context to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) SetCount ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) SetCount(count *int64)
SetCount adds the count to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) SetEndSeq ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) SetEndSeq(endSeq *int64)
SetEndSeq adds the endSeq to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) SetHTTPClient ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) SetIncludeOld ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) SetIncludeOld(includeOld *bool)
SetIncludeOld adds the includeOld to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) SetInstrumentName ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) SetInstrumentName(instrumentName string)
SetInstrumentName adds the instrumentName to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) SetSorting ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) SetSorting(sorting *string)
SetSorting adds the sorting to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) SetStartSeq ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) SetStartSeq(startSeq *int64)
SetStartSeq adds the startSeq to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) SetTimeout ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) WithContext ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) WithContext(ctx context.Context) *GetPrivateGetUserTradesByInstrumentParams
WithContext adds the context to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) WithCount ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) WithCount(count *int64) *GetPrivateGetUserTradesByInstrumentParams
WithCount adds the count to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) WithEndSeq ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) WithEndSeq(endSeq *int64) *GetPrivateGetUserTradesByInstrumentParams
WithEndSeq adds the endSeq to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) WithHTTPClient ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) WithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByInstrumentParams
WithHTTPClient adds the HTTPClient to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) WithIncludeOld ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) WithIncludeOld(includeOld *bool) *GetPrivateGetUserTradesByInstrumentParams
WithIncludeOld adds the includeOld to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) WithInstrumentName ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) WithInstrumentName(instrumentName string) *GetPrivateGetUserTradesByInstrumentParams
WithInstrumentName adds the instrumentName to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) WithSorting ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) WithSorting(sorting *string) *GetPrivateGetUserTradesByInstrumentParams
WithSorting adds the sorting to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) WithStartSeq ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) WithStartSeq(startSeq *int64) *GetPrivateGetUserTradesByInstrumentParams
WithStartSeq adds the startSeq to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) WithTimeout ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) WithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByInstrumentParams
WithTimeout adds the timeout to the get private get user trades by instrument params
func (*GetPrivateGetUserTradesByInstrumentParams) WriteToRequest ¶
func (o *GetPrivateGetUserTradesByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateGetUserTradesByInstrumentReader ¶
type GetPrivateGetUserTradesByInstrumentReader struct {
// contains filtered or unexported fields
}
GetPrivateGetUserTradesByInstrumentReader is a Reader for the GetPrivateGetUserTradesByInstrument structure.
func (*GetPrivateGetUserTradesByInstrumentReader) ReadResponse ¶
func (o *GetPrivateGetUserTradesByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPrivateGetUserTradesByOrderOK ¶
type GetPrivateGetUserTradesByOrderOK struct {
Payload *models.PrivateGetUserTradesByOrderResponse
}
GetPrivateGetUserTradesByOrderOK handles this case with default header values.
GetPrivateGetUserTradesByOrderOK get private get user trades by order o k
func NewGetPrivateGetUserTradesByOrderOK ¶
func NewGetPrivateGetUserTradesByOrderOK() *GetPrivateGetUserTradesByOrderOK
NewGetPrivateGetUserTradesByOrderOK creates a GetPrivateGetUserTradesByOrderOK with default headers values
func (*GetPrivateGetUserTradesByOrderOK) Error ¶
func (o *GetPrivateGetUserTradesByOrderOK) Error() string
func (*GetPrivateGetUserTradesByOrderOK) GetPayload ¶
func (o *GetPrivateGetUserTradesByOrderOK) GetPayload() *models.PrivateGetUserTradesByOrderResponse
type GetPrivateGetUserTradesByOrderParams ¶
type GetPrivateGetUserTradesByOrderParams struct { /*OrderID The order id */ OrderID string /*Sorting Direction of results sorting (`default` value means no sorting, results will be returned in order in which they left the database) */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPrivateGetUserTradesByOrderParams contains all the parameters to send to the API endpoint for the get private get user trades by order operation typically these are written to a http.Request
func NewGetPrivateGetUserTradesByOrderParams ¶
func NewGetPrivateGetUserTradesByOrderParams() *GetPrivateGetUserTradesByOrderParams
NewGetPrivateGetUserTradesByOrderParams creates a new GetPrivateGetUserTradesByOrderParams object with the default values initialized.
func NewGetPrivateGetUserTradesByOrderParamsWithContext ¶
func NewGetPrivateGetUserTradesByOrderParamsWithContext(ctx context.Context) *GetPrivateGetUserTradesByOrderParams
NewGetPrivateGetUserTradesByOrderParamsWithContext creates a new GetPrivateGetUserTradesByOrderParams object with the default values initialized, and the ability to set a context for a request
func NewGetPrivateGetUserTradesByOrderParamsWithHTTPClient ¶
func NewGetPrivateGetUserTradesByOrderParamsWithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByOrderParams
NewGetPrivateGetUserTradesByOrderParamsWithHTTPClient creates a new GetPrivateGetUserTradesByOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPrivateGetUserTradesByOrderParamsWithTimeout ¶
func NewGetPrivateGetUserTradesByOrderParamsWithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByOrderParams
NewGetPrivateGetUserTradesByOrderParamsWithTimeout creates a new GetPrivateGetUserTradesByOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPrivateGetUserTradesByOrderParams) SetContext ¶
func (o *GetPrivateGetUserTradesByOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the get private get user trades by order params
func (*GetPrivateGetUserTradesByOrderParams) SetHTTPClient ¶
func (o *GetPrivateGetUserTradesByOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get private get user trades by order params
func (*GetPrivateGetUserTradesByOrderParams) SetOrderID ¶
func (o *GetPrivateGetUserTradesByOrderParams) SetOrderID(orderID string)
SetOrderID adds the orderId to the get private get user trades by order params
func (*GetPrivateGetUserTradesByOrderParams) SetSorting ¶
func (o *GetPrivateGetUserTradesByOrderParams) SetSorting(sorting *string)
SetSorting adds the sorting to the get private get user trades by order params
func (*GetPrivateGetUserTradesByOrderParams) SetTimeout ¶
func (o *GetPrivateGetUserTradesByOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get private get user trades by order params
func (*GetPrivateGetUserTradesByOrderParams) WithContext ¶
func (o *GetPrivateGetUserTradesByOrderParams) WithContext(ctx context.Context) *GetPrivateGetUserTradesByOrderParams
WithContext adds the context to the get private get user trades by order params
func (*GetPrivateGetUserTradesByOrderParams) WithHTTPClient ¶
func (o *GetPrivateGetUserTradesByOrderParams) WithHTTPClient(client *http.Client) *GetPrivateGetUserTradesByOrderParams
WithHTTPClient adds the HTTPClient to the get private get user trades by order params
func (*GetPrivateGetUserTradesByOrderParams) WithOrderID ¶
func (o *GetPrivateGetUserTradesByOrderParams) WithOrderID(orderID string) *GetPrivateGetUserTradesByOrderParams
WithOrderID adds the orderID to the get private get user trades by order params
func (*GetPrivateGetUserTradesByOrderParams) WithSorting ¶
func (o *GetPrivateGetUserTradesByOrderParams) WithSorting(sorting *string) *GetPrivateGetUserTradesByOrderParams
WithSorting adds the sorting to the get private get user trades by order params
func (*GetPrivateGetUserTradesByOrderParams) WithTimeout ¶
func (o *GetPrivateGetUserTradesByOrderParams) WithTimeout(timeout time.Duration) *GetPrivateGetUserTradesByOrderParams
WithTimeout adds the timeout to the get private get user trades by order params
func (*GetPrivateGetUserTradesByOrderParams) WriteToRequest ¶
func (o *GetPrivateGetUserTradesByOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPrivateGetUserTradesByOrderReader ¶
type GetPrivateGetUserTradesByOrderReader struct {
// contains filtered or unexported fields
}
GetPrivateGetUserTradesByOrderReader is a Reader for the GetPrivateGetUserTradesByOrder structure.
func (*GetPrivateGetUserTradesByOrderReader) ReadResponse ¶
func (o *GetPrivateGetUserTradesByOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- get_private_cancel_all_by_currency_parameters.go
- get_private_cancel_all_by_currency_responses.go
- get_private_cancel_all_by_instrument_parameters.go
- get_private_cancel_all_by_instrument_responses.go
- get_private_cancel_all_parameters.go
- get_private_cancel_all_responses.go
- get_private_cancel_by_label_parameters.go
- get_private_cancel_by_label_responses.go
- get_private_cancel_parameters.go
- get_private_cancel_responses.go
- get_private_edit_parameters.go
- get_private_edit_responses.go
- get_private_get_margins_parameters.go
- get_private_get_margins_responses.go
- get_private_get_open_orders_by_currency_parameters.go
- get_private_get_open_orders_by_currency_responses.go
- get_private_get_open_orders_by_instrument_parameters.go
- get_private_get_open_orders_by_instrument_responses.go
- get_private_get_order_history_by_currency_parameters.go
- get_private_get_order_history_by_currency_responses.go
- get_private_get_order_history_by_instrument_parameters.go
- get_private_get_order_history_by_instrument_responses.go
- get_private_get_order_margin_by_ids_parameters.go
- get_private_get_order_margin_by_ids_responses.go
- get_private_get_settlement_history_by_currency_parameters.go
- get_private_get_settlement_history_by_currency_responses.go
- get_private_get_settlement_history_by_instrument_parameters.go
- get_private_get_settlement_history_by_instrument_responses.go
- get_private_get_stop_order_history_parameters.go
- get_private_get_stop_order_history_responses.go
- get_private_get_user_trades_by_currency_and_time_parameters.go
- get_private_get_user_trades_by_currency_and_time_responses.go
- get_private_get_user_trades_by_currency_parameters.go
- get_private_get_user_trades_by_currency_responses.go
- get_private_get_user_trades_by_instrument_and_time_parameters.go
- get_private_get_user_trades_by_instrument_and_time_responses.go
- get_private_get_user_trades_by_instrument_parameters.go
- get_private_get_user_trades_by_instrument_responses.go
- get_private_get_user_trades_by_order_parameters.go
- get_private_get_user_trades_by_order_responses.go
- trading_client.go