market_data

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 market data API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new market data API client.

func (*Client) GetPublicGetBookSummaryByCurrency

func (a *Client) GetPublicGetBookSummaryByCurrency(params *GetPublicGetBookSummaryByCurrencyParams) (*GetPublicGetBookSummaryByCurrencyOK, error)

GetPublicGetBookSummaryByCurrency retrieves the summary information such as open interest 24h volume etc for all instruments for the currency optionally filtered by kind

func (*Client) GetPublicGetBookSummaryByInstrument

func (a *Client) GetPublicGetBookSummaryByInstrument(params *GetPublicGetBookSummaryByInstrumentParams) (*GetPublicGetBookSummaryByInstrumentOK, error)

GetPublicGetBookSummaryByInstrument retrieves the summary information such as open interest 24h volume etc for a specific instrument

func (*Client) GetPublicGetIndex

func (a *Client) GetPublicGetIndex(params *GetPublicGetIndexParams) (*GetPublicGetIndexOK, error)

GetPublicGetIndex retrieves the current index price for the instruments for the selected currency

func (*Client) GetPublicGetLastSettlementsByCurrency

func (a *Client) GetPublicGetLastSettlementsByCurrency(params *GetPublicGetLastSettlementsByCurrencyParams) (*GetPublicGetLastSettlementsByCurrencyOK, error)

GetPublicGetLastSettlementsByCurrency retrieves historical settlement delivery and bankruptcy events coming from all instruments within given currency

func (*Client) GetPublicGetLastSettlementsByInstrument

func (a *Client) GetPublicGetLastSettlementsByInstrument(params *GetPublicGetLastSettlementsByInstrumentParams) (*GetPublicGetLastSettlementsByInstrumentOK, error)

GetPublicGetLastSettlementsByInstrument retrieves historical public settlement delivery and bankruptcy events filtered by instrument name

func (*Client) GetPublicGetLastTradesByCurrency

func (a *Client) GetPublicGetLastTradesByCurrency(params *GetPublicGetLastTradesByCurrencyParams) (*GetPublicGetLastTradesByCurrencyOK, error)

GetPublicGetLastTradesByCurrency retrieves the latest trades that have occurred for instruments in a specific currency symbol

func (*Client) GetPublicGetLastTradesByCurrencyAndTime

func (a *Client) GetPublicGetLastTradesByCurrencyAndTime(params *GetPublicGetLastTradesByCurrencyAndTimeParams) (*GetPublicGetLastTradesByCurrencyAndTimeOK, error)

GetPublicGetLastTradesByCurrencyAndTime retrieves the latest trades that have occurred for instruments in a specific currency symbol and within given time range

func (*Client) GetPublicGetLastTradesByInstrument

func (a *Client) GetPublicGetLastTradesByInstrument(params *GetPublicGetLastTradesByInstrumentParams) (*GetPublicGetLastTradesByInstrumentOK, error)

GetPublicGetLastTradesByInstrument retrieves the latest trades that have occurred for a specific instrument

func (*Client) GetPublicGetLastTradesByInstrumentAndTime

func (a *Client) GetPublicGetLastTradesByInstrumentAndTime(params *GetPublicGetLastTradesByInstrumentAndTimeParams) (*GetPublicGetLastTradesByInstrumentAndTimeOK, error)

GetPublicGetLastTradesByInstrumentAndTime retrieves the latest trades that have occurred for a specific instrument and within given time range

func (*Client) GetPublicGetOrderBook

func (a *Client) GetPublicGetOrderBook(params *GetPublicGetOrderBookParams) (*GetPublicGetOrderBookOK, error)

GetPublicGetOrderBook retrieves the order book along with other market values for a given instrument

func (*Client) GetPublicGetTradeVolumes

func (a *Client) GetPublicGetTradeVolumes(params *GetPublicGetTradeVolumesParams) (*GetPublicGetTradeVolumesOK, error)

GetPublicGetTradeVolumes retrieves aggregated 24h trade volumes for different instrument types and currencies

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type GetPublicGetBookSummaryByCurrencyOK

type GetPublicGetBookSummaryByCurrencyOK struct {
	Payload *models.PublicGetBookSummaryResponse
}

GetPublicGetBookSummaryByCurrencyOK handles this case with default header values.

GetPublicGetBookSummaryByCurrencyOK get public get book summary by currency o k

func NewGetPublicGetBookSummaryByCurrencyOK

func NewGetPublicGetBookSummaryByCurrencyOK() *GetPublicGetBookSummaryByCurrencyOK

NewGetPublicGetBookSummaryByCurrencyOK creates a GetPublicGetBookSummaryByCurrencyOK with default headers values

func (*GetPublicGetBookSummaryByCurrencyOK) Error

func (*GetPublicGetBookSummaryByCurrencyOK) GetPayload

type GetPublicGetBookSummaryByCurrencyParams

type GetPublicGetBookSummaryByCurrencyParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string
	/*Kind
	  Instrument kind, if not provided instruments of all kinds are considered

	*/
	Kind *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetBookSummaryByCurrencyParams contains all the parameters to send to the API endpoint for the get public get book summary by currency operation typically these are written to a http.Request

func NewGetPublicGetBookSummaryByCurrencyParams

func NewGetPublicGetBookSummaryByCurrencyParams() *GetPublicGetBookSummaryByCurrencyParams

NewGetPublicGetBookSummaryByCurrencyParams creates a new GetPublicGetBookSummaryByCurrencyParams object with the default values initialized.

func NewGetPublicGetBookSummaryByCurrencyParamsWithContext

func NewGetPublicGetBookSummaryByCurrencyParamsWithContext(ctx context.Context) *GetPublicGetBookSummaryByCurrencyParams

NewGetPublicGetBookSummaryByCurrencyParamsWithContext creates a new GetPublicGetBookSummaryByCurrencyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetBookSummaryByCurrencyParamsWithHTTPClient

func NewGetPublicGetBookSummaryByCurrencyParamsWithHTTPClient(client *http.Client) *GetPublicGetBookSummaryByCurrencyParams

NewGetPublicGetBookSummaryByCurrencyParamsWithHTTPClient creates a new GetPublicGetBookSummaryByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetBookSummaryByCurrencyParamsWithTimeout

func NewGetPublicGetBookSummaryByCurrencyParamsWithTimeout(timeout time.Duration) *GetPublicGetBookSummaryByCurrencyParams

NewGetPublicGetBookSummaryByCurrencyParamsWithTimeout creates a new GetPublicGetBookSummaryByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetBookSummaryByCurrencyParams) SetContext

SetContext adds the context to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) SetCurrency

func (o *GetPublicGetBookSummaryByCurrencyParams) SetCurrency(currency string)

SetCurrency adds the currency to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) SetHTTPClient

func (o *GetPublicGetBookSummaryByCurrencyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) SetKind

SetKind adds the kind to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) SetTimeout

func (o *GetPublicGetBookSummaryByCurrencyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) WithContext

WithContext adds the context to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) WithKind

WithKind adds the kind to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get public get book summary by currency params

func (*GetPublicGetBookSummaryByCurrencyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetBookSummaryByCurrencyReader

type GetPublicGetBookSummaryByCurrencyReader struct {
	// contains filtered or unexported fields
}

GetPublicGetBookSummaryByCurrencyReader is a Reader for the GetPublicGetBookSummaryByCurrency structure.

func (*GetPublicGetBookSummaryByCurrencyReader) ReadResponse

func (o *GetPublicGetBookSummaryByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetBookSummaryByInstrumentOK

type GetPublicGetBookSummaryByInstrumentOK struct {
	Payload *models.PublicGetBookSummaryResponse
}

GetPublicGetBookSummaryByInstrumentOK handles this case with default header values.

GetPublicGetBookSummaryByInstrumentOK get public get book summary by instrument o k

func NewGetPublicGetBookSummaryByInstrumentOK

func NewGetPublicGetBookSummaryByInstrumentOK() *GetPublicGetBookSummaryByInstrumentOK

NewGetPublicGetBookSummaryByInstrumentOK creates a GetPublicGetBookSummaryByInstrumentOK with default headers values

func (*GetPublicGetBookSummaryByInstrumentOK) Error

func (*GetPublicGetBookSummaryByInstrumentOK) GetPayload

type GetPublicGetBookSummaryByInstrumentParams

type GetPublicGetBookSummaryByInstrumentParams struct {

	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetBookSummaryByInstrumentParams contains all the parameters to send to the API endpoint for the get public get book summary by instrument operation typically these are written to a http.Request

func NewGetPublicGetBookSummaryByInstrumentParams

func NewGetPublicGetBookSummaryByInstrumentParams() *GetPublicGetBookSummaryByInstrumentParams

NewGetPublicGetBookSummaryByInstrumentParams creates a new GetPublicGetBookSummaryByInstrumentParams object with the default values initialized.

func NewGetPublicGetBookSummaryByInstrumentParamsWithContext

func NewGetPublicGetBookSummaryByInstrumentParamsWithContext(ctx context.Context) *GetPublicGetBookSummaryByInstrumentParams

NewGetPublicGetBookSummaryByInstrumentParamsWithContext creates a new GetPublicGetBookSummaryByInstrumentParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetBookSummaryByInstrumentParamsWithHTTPClient

func NewGetPublicGetBookSummaryByInstrumentParamsWithHTTPClient(client *http.Client) *GetPublicGetBookSummaryByInstrumentParams

NewGetPublicGetBookSummaryByInstrumentParamsWithHTTPClient creates a new GetPublicGetBookSummaryByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetBookSummaryByInstrumentParamsWithTimeout

func NewGetPublicGetBookSummaryByInstrumentParamsWithTimeout(timeout time.Duration) *GetPublicGetBookSummaryByInstrumentParams

NewGetPublicGetBookSummaryByInstrumentParamsWithTimeout creates a new GetPublicGetBookSummaryByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetBookSummaryByInstrumentParams) SetContext

SetContext adds the context to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) SetHTTPClient

func (o *GetPublicGetBookSummaryByInstrumentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) SetInstrumentName

func (o *GetPublicGetBookSummaryByInstrumentParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) SetTimeout

SetTimeout adds the timeout to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) WithContext

WithContext adds the context to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get public get book summary by instrument params

func (*GetPublicGetBookSummaryByInstrumentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetBookSummaryByInstrumentReader

type GetPublicGetBookSummaryByInstrumentReader struct {
	// contains filtered or unexported fields
}

GetPublicGetBookSummaryByInstrumentReader is a Reader for the GetPublicGetBookSummaryByInstrument structure.

func (*GetPublicGetBookSummaryByInstrumentReader) ReadResponse

func (o *GetPublicGetBookSummaryByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetIndexOK

type GetPublicGetIndexOK struct {
	Payload *models.PublicIndexResponse
}

GetPublicGetIndexOK handles this case with default header values.

GetPublicGetIndexOK get public get index o k

func NewGetPublicGetIndexOK

func NewGetPublicGetIndexOK() *GetPublicGetIndexOK

NewGetPublicGetIndexOK creates a GetPublicGetIndexOK with default headers values

func (*GetPublicGetIndexOK) Error

func (o *GetPublicGetIndexOK) Error() string

func (*GetPublicGetIndexOK) GetPayload

type GetPublicGetIndexParams

type GetPublicGetIndexParams struct {

	/*Currency
	  The currency symbol

	*/
	Currency string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetIndexParams contains all the parameters to send to the API endpoint for the get public get index operation typically these are written to a http.Request

func NewGetPublicGetIndexParams

func NewGetPublicGetIndexParams() *GetPublicGetIndexParams

NewGetPublicGetIndexParams creates a new GetPublicGetIndexParams object with the default values initialized.

func NewGetPublicGetIndexParamsWithContext

func NewGetPublicGetIndexParamsWithContext(ctx context.Context) *GetPublicGetIndexParams

NewGetPublicGetIndexParamsWithContext creates a new GetPublicGetIndexParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetIndexParamsWithHTTPClient

func NewGetPublicGetIndexParamsWithHTTPClient(client *http.Client) *GetPublicGetIndexParams

NewGetPublicGetIndexParamsWithHTTPClient creates a new GetPublicGetIndexParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetIndexParamsWithTimeout

func NewGetPublicGetIndexParamsWithTimeout(timeout time.Duration) *GetPublicGetIndexParams

NewGetPublicGetIndexParamsWithTimeout creates a new GetPublicGetIndexParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetIndexParams) SetContext

func (o *GetPublicGetIndexParams) SetContext(ctx context.Context)

SetContext adds the context to the get public get index params

func (*GetPublicGetIndexParams) SetCurrency

func (o *GetPublicGetIndexParams) SetCurrency(currency string)

SetCurrency adds the currency to the get public get index params

func (*GetPublicGetIndexParams) SetHTTPClient

func (o *GetPublicGetIndexParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get index params

func (*GetPublicGetIndexParams) SetTimeout

func (o *GetPublicGetIndexParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get index params

func (*GetPublicGetIndexParams) WithContext

WithContext adds the context to the get public get index params

func (*GetPublicGetIndexParams) WithCurrency

func (o *GetPublicGetIndexParams) WithCurrency(currency string) *GetPublicGetIndexParams

WithCurrency adds the currency to the get public get index params

func (*GetPublicGetIndexParams) WithHTTPClient

func (o *GetPublicGetIndexParams) WithHTTPClient(client *http.Client) *GetPublicGetIndexParams

WithHTTPClient adds the HTTPClient to the get public get index params

func (*GetPublicGetIndexParams) WithTimeout

WithTimeout adds the timeout to the get public get index params

func (*GetPublicGetIndexParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetIndexReader

type GetPublicGetIndexReader struct {
	// contains filtered or unexported fields
}

GetPublicGetIndexReader is a Reader for the GetPublicGetIndex structure.

func (*GetPublicGetIndexReader) ReadResponse

func (o *GetPublicGetIndexReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetLastSettlementsByCurrencyOK

type GetPublicGetLastSettlementsByCurrencyOK struct {
	Payload *models.PublicSettlementResponse
}

GetPublicGetLastSettlementsByCurrencyOK handles this case with default header values.

GetPublicGetLastSettlementsByCurrencyOK get public get last settlements by currency o k

func NewGetPublicGetLastSettlementsByCurrencyOK

func NewGetPublicGetLastSettlementsByCurrencyOK() *GetPublicGetLastSettlementsByCurrencyOK

NewGetPublicGetLastSettlementsByCurrencyOK creates a GetPublicGetLastSettlementsByCurrencyOK with default headers values

func (*GetPublicGetLastSettlementsByCurrencyOK) Error

func (*GetPublicGetLastSettlementsByCurrencyOK) GetPayload

type GetPublicGetLastSettlementsByCurrencyParams

type GetPublicGetLastSettlementsByCurrencyParams struct {

	/*Continuation
	  Continuation token for pagination

	*/
	Continuation *string
	/*Count
	  Number of requested items, default - `20`

	*/
	Count *int64
	/*Currency
	  The currency symbol

	*/
	Currency string
	/*SearchStartTimestamp
	  The latest timestamp to return result for

	*/
	SearchStartTimestamp *int64
	/*Type
	  Settlement type

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetLastSettlementsByCurrencyParams contains all the parameters to send to the API endpoint for the get public get last settlements by currency operation typically these are written to a http.Request

func NewGetPublicGetLastSettlementsByCurrencyParams

func NewGetPublicGetLastSettlementsByCurrencyParams() *GetPublicGetLastSettlementsByCurrencyParams

NewGetPublicGetLastSettlementsByCurrencyParams creates a new GetPublicGetLastSettlementsByCurrencyParams object with the default values initialized.

func NewGetPublicGetLastSettlementsByCurrencyParamsWithContext

func NewGetPublicGetLastSettlementsByCurrencyParamsWithContext(ctx context.Context) *GetPublicGetLastSettlementsByCurrencyParams

NewGetPublicGetLastSettlementsByCurrencyParamsWithContext creates a new GetPublicGetLastSettlementsByCurrencyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetLastSettlementsByCurrencyParamsWithHTTPClient

func NewGetPublicGetLastSettlementsByCurrencyParamsWithHTTPClient(client *http.Client) *GetPublicGetLastSettlementsByCurrencyParams

NewGetPublicGetLastSettlementsByCurrencyParamsWithHTTPClient creates a new GetPublicGetLastSettlementsByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetLastSettlementsByCurrencyParamsWithTimeout

func NewGetPublicGetLastSettlementsByCurrencyParamsWithTimeout(timeout time.Duration) *GetPublicGetLastSettlementsByCurrencyParams

NewGetPublicGetLastSettlementsByCurrencyParamsWithTimeout creates a new GetPublicGetLastSettlementsByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetLastSettlementsByCurrencyParams) SetContext

SetContext adds the context to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) SetContinuation

func (o *GetPublicGetLastSettlementsByCurrencyParams) SetContinuation(continuation *string)

SetContinuation adds the continuation to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) SetCount

SetCount adds the count to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) SetCurrency

func (o *GetPublicGetLastSettlementsByCurrencyParams) SetCurrency(currency string)

SetCurrency adds the currency to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) SetHTTPClient

func (o *GetPublicGetLastSettlementsByCurrencyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) SetSearchStartTimestamp

func (o *GetPublicGetLastSettlementsByCurrencyParams) SetSearchStartTimestamp(searchStartTimestamp *int64)

SetSearchStartTimestamp adds the searchStartTimestamp to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) SetTimeout

SetTimeout adds the timeout to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) SetType

SetType adds the type to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithContext

WithContext adds the context to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithContinuation

WithContinuation adds the continuation to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithCount

WithCount adds the count to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithSearchStartTimestamp

func (o *GetPublicGetLastSettlementsByCurrencyParams) WithSearchStartTimestamp(searchStartTimestamp *int64) *GetPublicGetLastSettlementsByCurrencyParams

WithSearchStartTimestamp adds the searchStartTimestamp to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WithType

WithType adds the typeVar to the get public get last settlements by currency params

func (*GetPublicGetLastSettlementsByCurrencyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetLastSettlementsByCurrencyReader

type GetPublicGetLastSettlementsByCurrencyReader struct {
	// contains filtered or unexported fields
}

GetPublicGetLastSettlementsByCurrencyReader is a Reader for the GetPublicGetLastSettlementsByCurrency structure.

func (*GetPublicGetLastSettlementsByCurrencyReader) ReadResponse

func (o *GetPublicGetLastSettlementsByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetLastSettlementsByInstrumentOK

type GetPublicGetLastSettlementsByInstrumentOK struct {
	Payload *models.PublicSettlementResponse
}

GetPublicGetLastSettlementsByInstrumentOK handles this case with default header values.

GetPublicGetLastSettlementsByInstrumentOK get public get last settlements by instrument o k

func NewGetPublicGetLastSettlementsByInstrumentOK

func NewGetPublicGetLastSettlementsByInstrumentOK() *GetPublicGetLastSettlementsByInstrumentOK

NewGetPublicGetLastSettlementsByInstrumentOK creates a GetPublicGetLastSettlementsByInstrumentOK with default headers values

func (*GetPublicGetLastSettlementsByInstrumentOK) Error

func (*GetPublicGetLastSettlementsByInstrumentOK) GetPayload

type GetPublicGetLastSettlementsByInstrumentParams

type GetPublicGetLastSettlementsByInstrumentParams struct {

	/*Continuation
	  Continuation token for pagination

	*/
	Continuation *string
	/*Count
	  Number of requested items, default - `20`

	*/
	Count *int64
	/*InstrumentName
	  Instrument name

	*/
	InstrumentName string
	/*SearchStartTimestamp
	  The latest timestamp to return result for

	*/
	SearchStartTimestamp *int64
	/*Type
	  Settlement type

	*/
	Type *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetLastSettlementsByInstrumentParams contains all the parameters to send to the API endpoint for the get public get last settlements by instrument operation typically these are written to a http.Request

func NewGetPublicGetLastSettlementsByInstrumentParams

func NewGetPublicGetLastSettlementsByInstrumentParams() *GetPublicGetLastSettlementsByInstrumentParams

NewGetPublicGetLastSettlementsByInstrumentParams creates a new GetPublicGetLastSettlementsByInstrumentParams object with the default values initialized.

func NewGetPublicGetLastSettlementsByInstrumentParamsWithContext

func NewGetPublicGetLastSettlementsByInstrumentParamsWithContext(ctx context.Context) *GetPublicGetLastSettlementsByInstrumentParams

NewGetPublicGetLastSettlementsByInstrumentParamsWithContext creates a new GetPublicGetLastSettlementsByInstrumentParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetLastSettlementsByInstrumentParamsWithHTTPClient

func NewGetPublicGetLastSettlementsByInstrumentParamsWithHTTPClient(client *http.Client) *GetPublicGetLastSettlementsByInstrumentParams

NewGetPublicGetLastSettlementsByInstrumentParamsWithHTTPClient creates a new GetPublicGetLastSettlementsByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetLastSettlementsByInstrumentParamsWithTimeout

func NewGetPublicGetLastSettlementsByInstrumentParamsWithTimeout(timeout time.Duration) *GetPublicGetLastSettlementsByInstrumentParams

NewGetPublicGetLastSettlementsByInstrumentParamsWithTimeout creates a new GetPublicGetLastSettlementsByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetLastSettlementsByInstrumentParams) SetContext

SetContext adds the context to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) SetContinuation

func (o *GetPublicGetLastSettlementsByInstrumentParams) SetContinuation(continuation *string)

SetContinuation adds the continuation to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) SetCount

SetCount adds the count to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) SetHTTPClient

func (o *GetPublicGetLastSettlementsByInstrumentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) SetInstrumentName

func (o *GetPublicGetLastSettlementsByInstrumentParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) SetSearchStartTimestamp

func (o *GetPublicGetLastSettlementsByInstrumentParams) SetSearchStartTimestamp(searchStartTimestamp *int64)

SetSearchStartTimestamp adds the searchStartTimestamp to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) SetTimeout

SetTimeout adds the timeout to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) SetType

SetType adds the type to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithContext

WithContext adds the context to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithContinuation

WithContinuation adds the continuation to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithCount

WithCount adds the count to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithSearchStartTimestamp

WithSearchStartTimestamp adds the searchStartTimestamp to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WithType

WithType adds the typeVar to the get public get last settlements by instrument params

func (*GetPublicGetLastSettlementsByInstrumentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetLastSettlementsByInstrumentReader

type GetPublicGetLastSettlementsByInstrumentReader struct {
	// contains filtered or unexported fields
}

GetPublicGetLastSettlementsByInstrumentReader is a Reader for the GetPublicGetLastSettlementsByInstrument structure.

func (*GetPublicGetLastSettlementsByInstrumentReader) ReadResponse

func (o *GetPublicGetLastSettlementsByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetLastTradesByCurrencyAndTimeOK

type GetPublicGetLastTradesByCurrencyAndTimeOK struct {
	Payload *models.PublicTradesHistoryResponse
}

GetPublicGetLastTradesByCurrencyAndTimeOK handles this case with default header values.

GetPublicGetLastTradesByCurrencyAndTimeOK get public get last trades by currency and time o k

func NewGetPublicGetLastTradesByCurrencyAndTimeOK

func NewGetPublicGetLastTradesByCurrencyAndTimeOK() *GetPublicGetLastTradesByCurrencyAndTimeOK

NewGetPublicGetLastTradesByCurrencyAndTimeOK creates a GetPublicGetLastTradesByCurrencyAndTimeOK with default headers values

func (*GetPublicGetLastTradesByCurrencyAndTimeOK) Error

func (*GetPublicGetLastTradesByCurrencyAndTimeOK) GetPayload

type GetPublicGetLastTradesByCurrencyAndTimeParams

type GetPublicGetLastTradesByCurrencyAndTimeParams 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
}

GetPublicGetLastTradesByCurrencyAndTimeParams contains all the parameters to send to the API endpoint for the get public get last trades by currency and time operation typically these are written to a http.Request

func NewGetPublicGetLastTradesByCurrencyAndTimeParams

func NewGetPublicGetLastTradesByCurrencyAndTimeParams() *GetPublicGetLastTradesByCurrencyAndTimeParams

NewGetPublicGetLastTradesByCurrencyAndTimeParams creates a new GetPublicGetLastTradesByCurrencyAndTimeParams object with the default values initialized.

func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithContext

func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithContext(ctx context.Context) *GetPublicGetLastTradesByCurrencyAndTimeParams

NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithContext creates a new GetPublicGetLastTradesByCurrencyAndTimeParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithHTTPClient

func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithHTTPClient(client *http.Client) *GetPublicGetLastTradesByCurrencyAndTimeParams

NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithHTTPClient creates a new GetPublicGetLastTradesByCurrencyAndTimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithTimeout

func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithTimeout(timeout time.Duration) *GetPublicGetLastTradesByCurrencyAndTimeParams

NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithTimeout creates a new GetPublicGetLastTradesByCurrencyAndTimeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetContext

SetContext adds the context to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetCount

SetCount adds the count to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetCurrency

func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetCurrency(currency string)

SetCurrency adds the currency to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetEndTimestamp

func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetEndTimestamp(endTimestamp int64)

SetEndTimestamp adds the endTimestamp to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetHTTPClient

func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetIncludeOld

func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetIncludeOld(includeOld *bool)

SetIncludeOld adds the includeOld to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetKind

SetKind adds the kind to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetSorting

func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetSorting(sorting *string)

SetSorting adds the sorting to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetStartTimestamp

func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetStartTimestamp(startTimestamp int64)

SetStartTimestamp adds the startTimestamp to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetTimeout

SetTimeout adds the timeout to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithContext

WithContext adds the context to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithCount

WithCount adds the count to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithCurrency

WithCurrency adds the currency to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithEndTimestamp

WithEndTimestamp adds the endTimestamp to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithKind

WithKind adds the kind to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithSorting

WithSorting adds the sorting to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithStartTimestamp

WithStartTimestamp adds the startTimestamp to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithTimeout

WithTimeout adds the timeout to the get public get last trades by currency and time params

func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetLastTradesByCurrencyAndTimeReader

type GetPublicGetLastTradesByCurrencyAndTimeReader struct {
	// contains filtered or unexported fields
}

GetPublicGetLastTradesByCurrencyAndTimeReader is a Reader for the GetPublicGetLastTradesByCurrencyAndTime structure.

func (*GetPublicGetLastTradesByCurrencyAndTimeReader) ReadResponse

func (o *GetPublicGetLastTradesByCurrencyAndTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetLastTradesByCurrencyOK

type GetPublicGetLastTradesByCurrencyOK struct {
	Payload *models.PublicTradesHistoryResponse
}

GetPublicGetLastTradesByCurrencyOK handles this case with default header values.

GetPublicGetLastTradesByCurrencyOK get public get last trades by currency o k

func NewGetPublicGetLastTradesByCurrencyOK

func NewGetPublicGetLastTradesByCurrencyOK() *GetPublicGetLastTradesByCurrencyOK

NewGetPublicGetLastTradesByCurrencyOK creates a GetPublicGetLastTradesByCurrencyOK with default headers values

func (*GetPublicGetLastTradesByCurrencyOK) Error

func (*GetPublicGetLastTradesByCurrencyOK) GetPayload

type GetPublicGetLastTradesByCurrencyParams

type GetPublicGetLastTradesByCurrencyParams 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
}

GetPublicGetLastTradesByCurrencyParams contains all the parameters to send to the API endpoint for the get public get last trades by currency operation typically these are written to a http.Request

func NewGetPublicGetLastTradesByCurrencyParams

func NewGetPublicGetLastTradesByCurrencyParams() *GetPublicGetLastTradesByCurrencyParams

NewGetPublicGetLastTradesByCurrencyParams creates a new GetPublicGetLastTradesByCurrencyParams object with the default values initialized.

func NewGetPublicGetLastTradesByCurrencyParamsWithContext

func NewGetPublicGetLastTradesByCurrencyParamsWithContext(ctx context.Context) *GetPublicGetLastTradesByCurrencyParams

NewGetPublicGetLastTradesByCurrencyParamsWithContext creates a new GetPublicGetLastTradesByCurrencyParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetLastTradesByCurrencyParamsWithHTTPClient

func NewGetPublicGetLastTradesByCurrencyParamsWithHTTPClient(client *http.Client) *GetPublicGetLastTradesByCurrencyParams

NewGetPublicGetLastTradesByCurrencyParamsWithHTTPClient creates a new GetPublicGetLastTradesByCurrencyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetLastTradesByCurrencyParamsWithTimeout

func NewGetPublicGetLastTradesByCurrencyParamsWithTimeout(timeout time.Duration) *GetPublicGetLastTradesByCurrencyParams

NewGetPublicGetLastTradesByCurrencyParamsWithTimeout creates a new GetPublicGetLastTradesByCurrencyParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetLastTradesByCurrencyParams) SetContext

SetContext adds the context to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetCount

func (o *GetPublicGetLastTradesByCurrencyParams) SetCount(count *int64)

SetCount adds the count to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetCurrency

func (o *GetPublicGetLastTradesByCurrencyParams) SetCurrency(currency string)

SetCurrency adds the currency to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetEndID

func (o *GetPublicGetLastTradesByCurrencyParams) SetEndID(endID *string)

SetEndID adds the endId to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetHTTPClient

func (o *GetPublicGetLastTradesByCurrencyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetIncludeOld

func (o *GetPublicGetLastTradesByCurrencyParams) SetIncludeOld(includeOld *bool)

SetIncludeOld adds the includeOld to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetKind

SetKind adds the kind to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetSorting

func (o *GetPublicGetLastTradesByCurrencyParams) SetSorting(sorting *string)

SetSorting adds the sorting to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetStartID

func (o *GetPublicGetLastTradesByCurrencyParams) SetStartID(startID *string)

SetStartID adds the startId to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) SetTimeout

func (o *GetPublicGetLastTradesByCurrencyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithContext

WithContext adds the context to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithCount

WithCount adds the count to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithCurrency

WithCurrency adds the currency to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithEndID

WithEndID adds the endID to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithKind

WithKind adds the kind to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithSorting

WithSorting adds the sorting to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithStartID

WithStartID adds the startID to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WithTimeout

WithTimeout adds the timeout to the get public get last trades by currency params

func (*GetPublicGetLastTradesByCurrencyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetLastTradesByCurrencyReader

type GetPublicGetLastTradesByCurrencyReader struct {
	// contains filtered or unexported fields
}

GetPublicGetLastTradesByCurrencyReader is a Reader for the GetPublicGetLastTradesByCurrency structure.

func (*GetPublicGetLastTradesByCurrencyReader) ReadResponse

func (o *GetPublicGetLastTradesByCurrencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetLastTradesByInstrumentAndTimeOK

type GetPublicGetLastTradesByInstrumentAndTimeOK struct {
	Payload *models.PublicTradesHistoryResponse
}

GetPublicGetLastTradesByInstrumentAndTimeOK handles this case with default header values.

GetPublicGetLastTradesByInstrumentAndTimeOK get public get last trades by instrument and time o k

func NewGetPublicGetLastTradesByInstrumentAndTimeOK

func NewGetPublicGetLastTradesByInstrumentAndTimeOK() *GetPublicGetLastTradesByInstrumentAndTimeOK

NewGetPublicGetLastTradesByInstrumentAndTimeOK creates a GetPublicGetLastTradesByInstrumentAndTimeOK with default headers values

func (*GetPublicGetLastTradesByInstrumentAndTimeOK) Error

func (*GetPublicGetLastTradesByInstrumentAndTimeOK) GetPayload

type GetPublicGetLastTradesByInstrumentAndTimeParams

type GetPublicGetLastTradesByInstrumentAndTimeParams 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
}

GetPublicGetLastTradesByInstrumentAndTimeParams contains all the parameters to send to the API endpoint for the get public get last trades by instrument and time operation typically these are written to a http.Request

func NewGetPublicGetLastTradesByInstrumentAndTimeParams

func NewGetPublicGetLastTradesByInstrumentAndTimeParams() *GetPublicGetLastTradesByInstrumentAndTimeParams

NewGetPublicGetLastTradesByInstrumentAndTimeParams creates a new GetPublicGetLastTradesByInstrumentAndTimeParams object with the default values initialized.

func NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithContext

func NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithContext(ctx context.Context) *GetPublicGetLastTradesByInstrumentAndTimeParams

NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithContext creates a new GetPublicGetLastTradesByInstrumentAndTimeParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithHTTPClient

func NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithHTTPClient(client *http.Client) *GetPublicGetLastTradesByInstrumentAndTimeParams

NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithHTTPClient creates a new GetPublicGetLastTradesByInstrumentAndTimeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithTimeout

func NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithTimeout(timeout time.Duration) *GetPublicGetLastTradesByInstrumentAndTimeParams

NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithTimeout creates a new GetPublicGetLastTradesByInstrumentAndTimeParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetContext

SetContext adds the context to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetCount

SetCount adds the count to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetEndTimestamp

func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetEndTimestamp(endTimestamp int64)

SetEndTimestamp adds the endTimestamp to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetIncludeOld

func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetIncludeOld(includeOld *bool)

SetIncludeOld adds the includeOld to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetInstrumentName

func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetSorting

SetSorting adds the sorting to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetStartTimestamp

func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetStartTimestamp(startTimestamp int64)

SetStartTimestamp adds the startTimestamp to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetTimeout

SetTimeout adds the timeout to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithContext

WithContext adds the context to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithCount

WithCount adds the count to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithEndTimestamp

WithEndTimestamp adds the endTimestamp to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithSorting

WithSorting adds the sorting to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithStartTimestamp

WithStartTimestamp adds the startTimestamp to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithTimeout

WithTimeout adds the timeout to the get public get last trades by instrument and time params

func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetLastTradesByInstrumentAndTimeReader

type GetPublicGetLastTradesByInstrumentAndTimeReader struct {
	// contains filtered or unexported fields
}

GetPublicGetLastTradesByInstrumentAndTimeReader is a Reader for the GetPublicGetLastTradesByInstrumentAndTime structure.

func (*GetPublicGetLastTradesByInstrumentAndTimeReader) ReadResponse

func (o *GetPublicGetLastTradesByInstrumentAndTimeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetLastTradesByInstrumentOK

type GetPublicGetLastTradesByInstrumentOK struct {
	Payload *models.PublicTradesHistoryResponse
}

GetPublicGetLastTradesByInstrumentOK handles this case with default header values.

GetPublicGetLastTradesByInstrumentOK get public get last trades by instrument o k

func NewGetPublicGetLastTradesByInstrumentOK

func NewGetPublicGetLastTradesByInstrumentOK() *GetPublicGetLastTradesByInstrumentOK

NewGetPublicGetLastTradesByInstrumentOK creates a GetPublicGetLastTradesByInstrumentOK with default headers values

func (*GetPublicGetLastTradesByInstrumentOK) Error

func (*GetPublicGetLastTradesByInstrumentOK) GetPayload

type GetPublicGetLastTradesByInstrumentParams

type GetPublicGetLastTradesByInstrumentParams 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
}

GetPublicGetLastTradesByInstrumentParams contains all the parameters to send to the API endpoint for the get public get last trades by instrument operation typically these are written to a http.Request

func NewGetPublicGetLastTradesByInstrumentParams

func NewGetPublicGetLastTradesByInstrumentParams() *GetPublicGetLastTradesByInstrumentParams

NewGetPublicGetLastTradesByInstrumentParams creates a new GetPublicGetLastTradesByInstrumentParams object with the default values initialized.

func NewGetPublicGetLastTradesByInstrumentParamsWithContext

func NewGetPublicGetLastTradesByInstrumentParamsWithContext(ctx context.Context) *GetPublicGetLastTradesByInstrumentParams

NewGetPublicGetLastTradesByInstrumentParamsWithContext creates a new GetPublicGetLastTradesByInstrumentParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetLastTradesByInstrumentParamsWithHTTPClient

func NewGetPublicGetLastTradesByInstrumentParamsWithHTTPClient(client *http.Client) *GetPublicGetLastTradesByInstrumentParams

NewGetPublicGetLastTradesByInstrumentParamsWithHTTPClient creates a new GetPublicGetLastTradesByInstrumentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetLastTradesByInstrumentParamsWithTimeout

func NewGetPublicGetLastTradesByInstrumentParamsWithTimeout(timeout time.Duration) *GetPublicGetLastTradesByInstrumentParams

NewGetPublicGetLastTradesByInstrumentParamsWithTimeout creates a new GetPublicGetLastTradesByInstrumentParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetLastTradesByInstrumentParams) SetContext

SetContext adds the context to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetCount

func (o *GetPublicGetLastTradesByInstrumentParams) SetCount(count *int64)

SetCount adds the count to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetEndSeq

func (o *GetPublicGetLastTradesByInstrumentParams) SetEndSeq(endSeq *int64)

SetEndSeq adds the endSeq to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetHTTPClient

func (o *GetPublicGetLastTradesByInstrumentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetIncludeOld

func (o *GetPublicGetLastTradesByInstrumentParams) SetIncludeOld(includeOld *bool)

SetIncludeOld adds the includeOld to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetInstrumentName

func (o *GetPublicGetLastTradesByInstrumentParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetSorting

func (o *GetPublicGetLastTradesByInstrumentParams) SetSorting(sorting *string)

SetSorting adds the sorting to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetStartSeq

func (o *GetPublicGetLastTradesByInstrumentParams) SetStartSeq(startSeq *int64)

SetStartSeq adds the startSeq to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) SetTimeout

SetTimeout adds the timeout to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithContext

WithContext adds the context to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithCount

WithCount adds the count to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithEndSeq

WithEndSeq adds the endSeq to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithIncludeOld

WithIncludeOld adds the includeOld to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithInstrumentName

WithInstrumentName adds the instrumentName to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithSorting

WithSorting adds the sorting to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithStartSeq

WithStartSeq adds the startSeq to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WithTimeout

WithTimeout adds the timeout to the get public get last trades by instrument params

func (*GetPublicGetLastTradesByInstrumentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetLastTradesByInstrumentReader

type GetPublicGetLastTradesByInstrumentReader struct {
	// contains filtered or unexported fields
}

GetPublicGetLastTradesByInstrumentReader is a Reader for the GetPublicGetLastTradesByInstrument structure.

func (*GetPublicGetLastTradesByInstrumentReader) ReadResponse

func (o *GetPublicGetLastTradesByInstrumentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetOrderBookOK

type GetPublicGetOrderBookOK struct {
	Payload *models.PublicGetOrderBookResponse
}

GetPublicGetOrderBookOK handles this case with default header values.

GetPublicGetOrderBookOK get public get order book o k

func NewGetPublicGetOrderBookOK

func NewGetPublicGetOrderBookOK() *GetPublicGetOrderBookOK

NewGetPublicGetOrderBookOK creates a GetPublicGetOrderBookOK with default headers values

func (*GetPublicGetOrderBookOK) Error

func (o *GetPublicGetOrderBookOK) Error() string

func (*GetPublicGetOrderBookOK) GetPayload

type GetPublicGetOrderBookParams

type GetPublicGetOrderBookParams struct {

	/*Depth
	  The number of entries to return for bids and asks.

	*/
	Depth *float64
	/*InstrumentName
	  The instrument name for which to retrieve the order book, see [`getinstruments`](#getinstruments) to obtain instrument names.

	*/
	InstrumentName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetOrderBookParams contains all the parameters to send to the API endpoint for the get public get order book operation typically these are written to a http.Request

func NewGetPublicGetOrderBookParams

func NewGetPublicGetOrderBookParams() *GetPublicGetOrderBookParams

NewGetPublicGetOrderBookParams creates a new GetPublicGetOrderBookParams object with the default values initialized.

func NewGetPublicGetOrderBookParamsWithContext

func NewGetPublicGetOrderBookParamsWithContext(ctx context.Context) *GetPublicGetOrderBookParams

NewGetPublicGetOrderBookParamsWithContext creates a new GetPublicGetOrderBookParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetOrderBookParamsWithHTTPClient

func NewGetPublicGetOrderBookParamsWithHTTPClient(client *http.Client) *GetPublicGetOrderBookParams

NewGetPublicGetOrderBookParamsWithHTTPClient creates a new GetPublicGetOrderBookParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetOrderBookParamsWithTimeout

func NewGetPublicGetOrderBookParamsWithTimeout(timeout time.Duration) *GetPublicGetOrderBookParams

NewGetPublicGetOrderBookParamsWithTimeout creates a new GetPublicGetOrderBookParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetOrderBookParams) SetContext

func (o *GetPublicGetOrderBookParams) SetContext(ctx context.Context)

SetContext adds the context to the get public get order book params

func (*GetPublicGetOrderBookParams) SetDepth

func (o *GetPublicGetOrderBookParams) SetDepth(depth *float64)

SetDepth adds the depth to the get public get order book params

func (*GetPublicGetOrderBookParams) SetHTTPClient

func (o *GetPublicGetOrderBookParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get order book params

func (*GetPublicGetOrderBookParams) SetInstrumentName

func (o *GetPublicGetOrderBookParams) SetInstrumentName(instrumentName string)

SetInstrumentName adds the instrumentName to the get public get order book params

func (*GetPublicGetOrderBookParams) SetTimeout

func (o *GetPublicGetOrderBookParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get order book params

func (*GetPublicGetOrderBookParams) WithContext

WithContext adds the context to the get public get order book params

func (*GetPublicGetOrderBookParams) WithDepth

WithDepth adds the depth to the get public get order book params

func (*GetPublicGetOrderBookParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get order book params

func (*GetPublicGetOrderBookParams) WithInstrumentName

func (o *GetPublicGetOrderBookParams) WithInstrumentName(instrumentName string) *GetPublicGetOrderBookParams

WithInstrumentName adds the instrumentName to the get public get order book params

func (*GetPublicGetOrderBookParams) WithTimeout

WithTimeout adds the timeout to the get public get order book params

func (*GetPublicGetOrderBookParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetOrderBookReader

type GetPublicGetOrderBookReader struct {
	// contains filtered or unexported fields
}

GetPublicGetOrderBookReader is a Reader for the GetPublicGetOrderBook structure.

func (*GetPublicGetOrderBookReader) ReadResponse

func (o *GetPublicGetOrderBookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPublicGetTradeVolumesOK

type GetPublicGetTradeVolumesOK struct {
	Payload *models.PublicGetTradesVolumesResponse
}

GetPublicGetTradeVolumesOK handles this case with default header values.

GetPublicGetTradeVolumesOK get public get trade volumes o k

func NewGetPublicGetTradeVolumesOK

func NewGetPublicGetTradeVolumesOK() *GetPublicGetTradeVolumesOK

NewGetPublicGetTradeVolumesOK creates a GetPublicGetTradeVolumesOK with default headers values

func (*GetPublicGetTradeVolumesOK) Error

func (*GetPublicGetTradeVolumesOK) GetPayload

type GetPublicGetTradeVolumesParams

type GetPublicGetTradeVolumesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicGetTradeVolumesParams contains all the parameters to send to the API endpoint for the get public get trade volumes operation typically these are written to a http.Request

func NewGetPublicGetTradeVolumesParams

func NewGetPublicGetTradeVolumesParams() *GetPublicGetTradeVolumesParams

NewGetPublicGetTradeVolumesParams creates a new GetPublicGetTradeVolumesParams object with the default values initialized.

func NewGetPublicGetTradeVolumesParamsWithContext

func NewGetPublicGetTradeVolumesParamsWithContext(ctx context.Context) *GetPublicGetTradeVolumesParams

NewGetPublicGetTradeVolumesParamsWithContext creates a new GetPublicGetTradeVolumesParams object with the default values initialized, and the ability to set a context for a request

func NewGetPublicGetTradeVolumesParamsWithHTTPClient

func NewGetPublicGetTradeVolumesParamsWithHTTPClient(client *http.Client) *GetPublicGetTradeVolumesParams

NewGetPublicGetTradeVolumesParamsWithHTTPClient creates a new GetPublicGetTradeVolumesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetPublicGetTradeVolumesParamsWithTimeout

func NewGetPublicGetTradeVolumesParamsWithTimeout(timeout time.Duration) *GetPublicGetTradeVolumesParams

NewGetPublicGetTradeVolumesParamsWithTimeout creates a new GetPublicGetTradeVolumesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetPublicGetTradeVolumesParams) SetContext

func (o *GetPublicGetTradeVolumesParams) SetContext(ctx context.Context)

SetContext adds the context to the get public get trade volumes params

func (*GetPublicGetTradeVolumesParams) SetHTTPClient

func (o *GetPublicGetTradeVolumesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get public get trade volumes params

func (*GetPublicGetTradeVolumesParams) SetTimeout

func (o *GetPublicGetTradeVolumesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get public get trade volumes params

func (*GetPublicGetTradeVolumesParams) WithContext

WithContext adds the context to the get public get trade volumes params

func (*GetPublicGetTradeVolumesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public get trade volumes params

func (*GetPublicGetTradeVolumesParams) WithTimeout

WithTimeout adds the timeout to the get public get trade volumes params

func (*GetPublicGetTradeVolumesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicGetTradeVolumesReader

type GetPublicGetTradeVolumesReader struct {
	// contains filtered or unexported fields
}

GetPublicGetTradeVolumesReader is a Reader for the GetPublicGetTradeVolumes structure.

func (*GetPublicGetTradeVolumesReader) ReadResponse

func (o *GetPublicGetTradeVolumesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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