trading

package
v3.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 (*GetPrivateCancelAllByCurrencyOK) GetPayload

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

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

WithContext adds the context to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) WithKind

WithKind adds the kind to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) WithType

WithType adds the typeVar to the get private cancel all by currency params

func (*GetPrivateCancelAllByCurrencyParams) WriteToRequest

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 (*GetPrivateCancelAllByInstrumentOK) GetPayload

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

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

WithContext adds the context to the get private cancel all by instrument params

func (*GetPrivateCancelAllByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private cancel all by instrument params

func (*GetPrivateCancelAllByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get private cancel all by instrument params

func (*GetPrivateCancelAllByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get private cancel all by instrument params

func (*GetPrivateCancelAllByInstrumentParams) WithType

WithType adds the typeVar to the get private cancel all by instrument params

func (*GetPrivateCancelAllByInstrumentParams) WriteToRequest

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

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

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

WithTimeout adds the timeout to the get private cancel all params

func (*GetPrivateCancelAllParams) WriteToRequest

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

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

WithContext adds the context to the get private cancel by label params

func (*GetPrivateCancelByLabelParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private cancel by label params

func (*GetPrivateCancelByLabelParams) WithLabel

WithLabel adds the label to the get private cancel by label params

func (*GetPrivateCancelByLabelParams) WithTimeout

WithTimeout adds the timeout to the get private cancel by label params

func (*GetPrivateCancelByLabelParams) WriteToRequest

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

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

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

WithTimeout adds the timeout to the get private cancel params

func (*GetPrivateCancelParams) WriteToRequest

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

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

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

WithAmount adds the amount to the get private get margins params

func (*GetPrivateGetMarginsParams) WithContext

WithContext adds the context to the get private get margins params

func (*GetPrivateGetMarginsParams) WithHTTPClient

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

WithPrice adds the price to the get private get margins params

func (*GetPrivateGetMarginsParams) WithTimeout

WithTimeout adds the timeout to the get private get margins params

func (*GetPrivateGetMarginsParams) WriteToRequest

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 (*GetPrivateGetOpenOrdersByCurrencyOK) GetPayload

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

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

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

WithContext adds the context to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) WithKind

WithKind adds the kind to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) WithType

WithType adds the typeVar to the get private get open orders by currency params

func (*GetPrivateGetOpenOrdersByCurrencyParams) WriteToRequest

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 (*GetPrivateGetOpenOrdersByInstrumentOK) GetPayload

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

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

SetTimeout adds the timeout to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) SetType

SetType adds the type to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) WithContext

WithContext adds the context to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) WithType

WithType adds the typeVar to the get private get open orders by instrument params

func (*GetPrivateGetOpenOrdersByInstrumentParams) WriteToRequest

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 (*GetPrivateGetOrderHistoryByCurrencyOK) GetPayload

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

SetContext adds the context to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) SetCount

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

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

SetTimeout adds the timeout to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithContext

WithContext adds the context to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithCount

WithCount adds the count to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithIncludeUnfilled

WithIncludeUnfilled adds the includeUnfilled to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithKind

WithKind adds the kind to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithOffset

WithOffset adds the offset to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get private get order history by currency params

func (*GetPrivateGetOrderHistoryByCurrencyParams) WriteToRequest

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 (*GetPrivateGetOrderHistoryByInstrumentOK) GetPayload

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

SetContext adds the context to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) SetCount

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

SetTimeout adds the timeout to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithContext

WithContext adds the context to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithCount

WithCount adds the count to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithIncludeUnfilled

WithIncludeUnfilled adds the includeUnfilled to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithOffset

WithOffset adds the offset to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get private get order history by instrument params

func (*GetPrivateGetOrderHistoryByInstrumentParams) WriteToRequest

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 (*GetPrivateGetOrderMarginByIdsOK) GetPayload

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

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

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

WithContext adds the context to the get private get order margin by ids params

func (*GetPrivateGetOrderMarginByIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get order margin by ids params

func (*GetPrivateGetOrderMarginByIdsParams) WithIds

WithIds adds the ids to the get private get order margin by ids params

func (*GetPrivateGetOrderMarginByIdsParams) WithTimeout

WithTimeout adds the timeout to the get private get order margin by ids params

func (*GetPrivateGetOrderMarginByIdsParams) WriteToRequest

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 (*GetPrivateGetSettlementHistoryByCurrencyOK) GetPayload

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

SetContext adds the context to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) SetCount

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

SetHTTPClient adds the HTTPClient to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) SetTimeout

SetTimeout adds the timeout to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) SetType

SetType adds the type to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithContext

WithContext adds the context to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithCount

WithCount adds the count to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) WithType

WithType adds the typeVar to the get private get settlement history by currency params

func (*GetPrivateGetSettlementHistoryByCurrencyParams) WriteToRequest

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 (*GetPrivateGetSettlementHistoryByInstrumentOK) GetPayload

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

SetContext adds the context to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) SetCount

SetCount adds the count to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) SetHTTPClient

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

SetTimeout adds the timeout to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) SetType

SetType adds the type to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithContext

WithContext adds the context to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithCount

WithCount adds the count to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) WithType

WithType adds the typeVar to the get private get settlement history by instrument params

func (*GetPrivateGetSettlementHistoryByInstrumentParams) WriteToRequest

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 (*GetPrivateGetStopOrderHistoryOK) GetPayload

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

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

WithContext adds the context to the get private get stop order history params

func (*GetPrivateGetStopOrderHistoryParams) WithContinuation

WithContinuation adds the continuation to the get private get stop order history params

func (*GetPrivateGetStopOrderHistoryParams) WithCount

WithCount adds the count to the get private get stop order history params

func (*GetPrivateGetStopOrderHistoryParams) WithCurrency

WithCurrency adds the currency to the get private get stop order history params

func (*GetPrivateGetStopOrderHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get stop order history params

func (*GetPrivateGetStopOrderHistoryParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get private get stop order history params

func (*GetPrivateGetStopOrderHistoryParams) WithTimeout

WithTimeout adds the timeout to the get private get stop order history params

func (*GetPrivateGetStopOrderHistoryParams) WriteToRequest

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 (*GetPrivateGetUserTradesByCurrencyAndTimeOK) GetPayload

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

SetContext adds the context to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetCount

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

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

SetKind adds the kind to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) SetSorting

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

SetTimeout adds the timeout to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithContext

WithContext adds the context to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithCount

WithCount adds the count to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithCurrency

WithCurrency adds the currency to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithEndTimestamp

WithEndTimestamp adds the endTimestamp to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithKind

WithKind adds the kind to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithSorting

WithSorting adds the sorting to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithStartTimestamp

WithStartTimestamp adds the startTimestamp to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WithTimeout

WithTimeout adds the timeout to the get private get user trades by currency and time params

func (*GetPrivateGetUserTradesByCurrencyAndTimeParams) WriteToRequest

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 (*GetPrivateGetUserTradesByCurrencyOK) GetPayload

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

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

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

WithContext adds the context to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithCount

WithCount adds the count to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithEndID

WithEndID adds the endID to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithKind

WithKind adds the kind to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithSorting

WithSorting adds the sorting to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithStartID

WithStartID adds the startID to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get private get user trades by currency params

func (*GetPrivateGetUserTradesByCurrencyParams) WriteToRequest

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 (*GetPrivateGetUserTradesByInstrumentAndTimeOK) GetPayload

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

SetContext adds the context to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) SetCount

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

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

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

SetTimeout adds the timeout to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithContext

WithContext adds the context to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithCount

WithCount adds the count to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithEndTimestamp

WithEndTimestamp adds the endTimestamp to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithSorting

WithSorting adds the sorting to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithStartTimestamp

WithStartTimestamp adds the startTimestamp to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WithTimeout

WithTimeout adds the timeout to the get private get user trades by instrument and time params

func (*GetPrivateGetUserTradesByInstrumentAndTimeParams) WriteToRequest

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 (*GetPrivateGetUserTradesByInstrumentOK) GetPayload

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

SetContext adds the context to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) SetCount

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

SetTimeout adds the timeout to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithContext

WithContext adds the context to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithCount

WithCount adds the count to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithEndSeq

WithEndSeq adds the endSeq to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithSorting

WithSorting adds the sorting to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithStartSeq

WithStartSeq adds the startSeq to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get private get user trades by instrument params

func (*GetPrivateGetUserTradesByInstrumentParams) WriteToRequest

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 (*GetPrivateGetUserTradesByOrderOK) GetPayload

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

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

WithContext adds the context to the get private get user trades by order params

func (*GetPrivateGetUserTradesByOrderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private get user trades by order params

func (*GetPrivateGetUserTradesByOrderParams) WithOrderID

WithOrderID adds the orderID to the get private get user trades by order params

func (*GetPrivateGetUserTradesByOrderParams) WithSorting

WithSorting adds the sorting to the get private get user trades by order params

func (*GetPrivateGetUserTradesByOrderParams) WithTimeout

WithTimeout adds the timeout to the get private get user trades by order params

func (*GetPrivateGetUserTradesByOrderParams) WriteToRequest

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL