Documentation
¶
Index ¶
- type Client
- func (a *Client) GetPublicGetBookSummaryByCurrency(params *GetPublicGetBookSummaryByCurrencyParams) (*GetPublicGetBookSummaryByCurrencyOK, error)
- func (a *Client) GetPublicGetBookSummaryByInstrument(params *GetPublicGetBookSummaryByInstrumentParams) (*GetPublicGetBookSummaryByInstrumentOK, error)
- func (a *Client) GetPublicGetIndex(params *GetPublicGetIndexParams) (*GetPublicGetIndexOK, error)
- func (a *Client) GetPublicGetLastSettlementsByCurrency(params *GetPublicGetLastSettlementsByCurrencyParams) (*GetPublicGetLastSettlementsByCurrencyOK, error)
- func (a *Client) GetPublicGetLastSettlementsByInstrument(params *GetPublicGetLastSettlementsByInstrumentParams) (*GetPublicGetLastSettlementsByInstrumentOK, error)
- func (a *Client) GetPublicGetLastTradesByCurrency(params *GetPublicGetLastTradesByCurrencyParams) (*GetPublicGetLastTradesByCurrencyOK, error)
- func (a *Client) GetPublicGetLastTradesByCurrencyAndTime(params *GetPublicGetLastTradesByCurrencyAndTimeParams) (*GetPublicGetLastTradesByCurrencyAndTimeOK, error)
- func (a *Client) GetPublicGetLastTradesByInstrument(params *GetPublicGetLastTradesByInstrumentParams) (*GetPublicGetLastTradesByInstrumentOK, error)
- func (a *Client) GetPublicGetLastTradesByInstrumentAndTime(params *GetPublicGetLastTradesByInstrumentAndTimeParams) (*GetPublicGetLastTradesByInstrumentAndTimeOK, error)
- func (a *Client) GetPublicGetOrderBook(params *GetPublicGetOrderBookParams) (*GetPublicGetOrderBookOK, error)
- func (a *Client) GetPublicGetTradeVolumes(params *GetPublicGetTradeVolumesParams) (*GetPublicGetTradeVolumesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetPublicGetBookSummaryByCurrencyOK
- type GetPublicGetBookSummaryByCurrencyParams
- func NewGetPublicGetBookSummaryByCurrencyParams() *GetPublicGetBookSummaryByCurrencyParams
- func NewGetPublicGetBookSummaryByCurrencyParamsWithContext(ctx context.Context) *GetPublicGetBookSummaryByCurrencyParams
- func NewGetPublicGetBookSummaryByCurrencyParamsWithHTTPClient(client *http.Client) *GetPublicGetBookSummaryByCurrencyParams
- func NewGetPublicGetBookSummaryByCurrencyParamsWithTimeout(timeout time.Duration) *GetPublicGetBookSummaryByCurrencyParams
- func (o *GetPublicGetBookSummaryByCurrencyParams) SetContext(ctx context.Context)
- func (o *GetPublicGetBookSummaryByCurrencyParams) SetCurrency(currency string)
- func (o *GetPublicGetBookSummaryByCurrencyParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetBookSummaryByCurrencyParams) SetKind(kind *string)
- func (o *GetPublicGetBookSummaryByCurrencyParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetBookSummaryByCurrencyParams) WithContext(ctx context.Context) *GetPublicGetBookSummaryByCurrencyParams
- func (o *GetPublicGetBookSummaryByCurrencyParams) WithCurrency(currency string) *GetPublicGetBookSummaryByCurrencyParams
- func (o *GetPublicGetBookSummaryByCurrencyParams) WithHTTPClient(client *http.Client) *GetPublicGetBookSummaryByCurrencyParams
- func (o *GetPublicGetBookSummaryByCurrencyParams) WithKind(kind *string) *GetPublicGetBookSummaryByCurrencyParams
- func (o *GetPublicGetBookSummaryByCurrencyParams) WithTimeout(timeout time.Duration) *GetPublicGetBookSummaryByCurrencyParams
- func (o *GetPublicGetBookSummaryByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetBookSummaryByCurrencyReader
- type GetPublicGetBookSummaryByInstrumentOK
- type GetPublicGetBookSummaryByInstrumentParams
- func NewGetPublicGetBookSummaryByInstrumentParams() *GetPublicGetBookSummaryByInstrumentParams
- func NewGetPublicGetBookSummaryByInstrumentParamsWithContext(ctx context.Context) *GetPublicGetBookSummaryByInstrumentParams
- func NewGetPublicGetBookSummaryByInstrumentParamsWithHTTPClient(client *http.Client) *GetPublicGetBookSummaryByInstrumentParams
- func NewGetPublicGetBookSummaryByInstrumentParamsWithTimeout(timeout time.Duration) *GetPublicGetBookSummaryByInstrumentParams
- func (o *GetPublicGetBookSummaryByInstrumentParams) SetContext(ctx context.Context)
- func (o *GetPublicGetBookSummaryByInstrumentParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetBookSummaryByInstrumentParams) SetInstrumentName(instrumentName string)
- func (o *GetPublicGetBookSummaryByInstrumentParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetBookSummaryByInstrumentParams) WithContext(ctx context.Context) *GetPublicGetBookSummaryByInstrumentParams
- func (o *GetPublicGetBookSummaryByInstrumentParams) WithHTTPClient(client *http.Client) *GetPublicGetBookSummaryByInstrumentParams
- func (o *GetPublicGetBookSummaryByInstrumentParams) WithInstrumentName(instrumentName string) *GetPublicGetBookSummaryByInstrumentParams
- func (o *GetPublicGetBookSummaryByInstrumentParams) WithTimeout(timeout time.Duration) *GetPublicGetBookSummaryByInstrumentParams
- func (o *GetPublicGetBookSummaryByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetBookSummaryByInstrumentReader
- type GetPublicGetIndexOK
- type GetPublicGetIndexParams
- func NewGetPublicGetIndexParams() *GetPublicGetIndexParams
- func NewGetPublicGetIndexParamsWithContext(ctx context.Context) *GetPublicGetIndexParams
- func NewGetPublicGetIndexParamsWithHTTPClient(client *http.Client) *GetPublicGetIndexParams
- func NewGetPublicGetIndexParamsWithTimeout(timeout time.Duration) *GetPublicGetIndexParams
- func (o *GetPublicGetIndexParams) SetContext(ctx context.Context)
- func (o *GetPublicGetIndexParams) SetCurrency(currency string)
- func (o *GetPublicGetIndexParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetIndexParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetIndexParams) WithContext(ctx context.Context) *GetPublicGetIndexParams
- func (o *GetPublicGetIndexParams) WithCurrency(currency string) *GetPublicGetIndexParams
- func (o *GetPublicGetIndexParams) WithHTTPClient(client *http.Client) *GetPublicGetIndexParams
- func (o *GetPublicGetIndexParams) WithTimeout(timeout time.Duration) *GetPublicGetIndexParams
- func (o *GetPublicGetIndexParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetIndexReader
- type GetPublicGetLastSettlementsByCurrencyOK
- type GetPublicGetLastSettlementsByCurrencyParams
- func NewGetPublicGetLastSettlementsByCurrencyParams() *GetPublicGetLastSettlementsByCurrencyParams
- func NewGetPublicGetLastSettlementsByCurrencyParamsWithContext(ctx context.Context) *GetPublicGetLastSettlementsByCurrencyParams
- func NewGetPublicGetLastSettlementsByCurrencyParamsWithHTTPClient(client *http.Client) *GetPublicGetLastSettlementsByCurrencyParams
- func NewGetPublicGetLastSettlementsByCurrencyParamsWithTimeout(timeout time.Duration) *GetPublicGetLastSettlementsByCurrencyParams
- func (o *GetPublicGetLastSettlementsByCurrencyParams) SetContext(ctx context.Context)
- func (o *GetPublicGetLastSettlementsByCurrencyParams) SetContinuation(continuation *string)
- func (o *GetPublicGetLastSettlementsByCurrencyParams) SetCount(count *int64)
- func (o *GetPublicGetLastSettlementsByCurrencyParams) SetCurrency(currency string)
- func (o *GetPublicGetLastSettlementsByCurrencyParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetLastSettlementsByCurrencyParams) SetSearchStartTimestamp(searchStartTimestamp *int64)
- func (o *GetPublicGetLastSettlementsByCurrencyParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetLastSettlementsByCurrencyParams) SetType(typeVar *string)
- func (o *GetPublicGetLastSettlementsByCurrencyParams) WithContext(ctx context.Context) *GetPublicGetLastSettlementsByCurrencyParams
- func (o *GetPublicGetLastSettlementsByCurrencyParams) WithContinuation(continuation *string) *GetPublicGetLastSettlementsByCurrencyParams
- func (o *GetPublicGetLastSettlementsByCurrencyParams) WithCount(count *int64) *GetPublicGetLastSettlementsByCurrencyParams
- func (o *GetPublicGetLastSettlementsByCurrencyParams) WithCurrency(currency string) *GetPublicGetLastSettlementsByCurrencyParams
- func (o *GetPublicGetLastSettlementsByCurrencyParams) WithHTTPClient(client *http.Client) *GetPublicGetLastSettlementsByCurrencyParams
- func (o *GetPublicGetLastSettlementsByCurrencyParams) WithSearchStartTimestamp(searchStartTimestamp *int64) *GetPublicGetLastSettlementsByCurrencyParams
- func (o *GetPublicGetLastSettlementsByCurrencyParams) WithTimeout(timeout time.Duration) *GetPublicGetLastSettlementsByCurrencyParams
- func (o *GetPublicGetLastSettlementsByCurrencyParams) WithType(typeVar *string) *GetPublicGetLastSettlementsByCurrencyParams
- func (o *GetPublicGetLastSettlementsByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetLastSettlementsByCurrencyReader
- type GetPublicGetLastSettlementsByInstrumentOK
- type GetPublicGetLastSettlementsByInstrumentParams
- func NewGetPublicGetLastSettlementsByInstrumentParams() *GetPublicGetLastSettlementsByInstrumentParams
- func NewGetPublicGetLastSettlementsByInstrumentParamsWithContext(ctx context.Context) *GetPublicGetLastSettlementsByInstrumentParams
- func NewGetPublicGetLastSettlementsByInstrumentParamsWithHTTPClient(client *http.Client) *GetPublicGetLastSettlementsByInstrumentParams
- func NewGetPublicGetLastSettlementsByInstrumentParamsWithTimeout(timeout time.Duration) *GetPublicGetLastSettlementsByInstrumentParams
- func (o *GetPublicGetLastSettlementsByInstrumentParams) SetContext(ctx context.Context)
- func (o *GetPublicGetLastSettlementsByInstrumentParams) SetContinuation(continuation *string)
- func (o *GetPublicGetLastSettlementsByInstrumentParams) SetCount(count *int64)
- func (o *GetPublicGetLastSettlementsByInstrumentParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetLastSettlementsByInstrumentParams) SetInstrumentName(instrumentName string)
- func (o *GetPublicGetLastSettlementsByInstrumentParams) SetSearchStartTimestamp(searchStartTimestamp *int64)
- func (o *GetPublicGetLastSettlementsByInstrumentParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetLastSettlementsByInstrumentParams) SetType(typeVar *string)
- func (o *GetPublicGetLastSettlementsByInstrumentParams) WithContext(ctx context.Context) *GetPublicGetLastSettlementsByInstrumentParams
- func (o *GetPublicGetLastSettlementsByInstrumentParams) WithContinuation(continuation *string) *GetPublicGetLastSettlementsByInstrumentParams
- func (o *GetPublicGetLastSettlementsByInstrumentParams) WithCount(count *int64) *GetPublicGetLastSettlementsByInstrumentParams
- func (o *GetPublicGetLastSettlementsByInstrumentParams) WithHTTPClient(client *http.Client) *GetPublicGetLastSettlementsByInstrumentParams
- func (o *GetPublicGetLastSettlementsByInstrumentParams) WithInstrumentName(instrumentName string) *GetPublicGetLastSettlementsByInstrumentParams
- func (o *GetPublicGetLastSettlementsByInstrumentParams) WithSearchStartTimestamp(searchStartTimestamp *int64) *GetPublicGetLastSettlementsByInstrumentParams
- func (o *GetPublicGetLastSettlementsByInstrumentParams) WithTimeout(timeout time.Duration) *GetPublicGetLastSettlementsByInstrumentParams
- func (o *GetPublicGetLastSettlementsByInstrumentParams) WithType(typeVar *string) *GetPublicGetLastSettlementsByInstrumentParams
- func (o *GetPublicGetLastSettlementsByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetLastSettlementsByInstrumentReader
- type GetPublicGetLastTradesByCurrencyAndTimeOK
- type GetPublicGetLastTradesByCurrencyAndTimeParams
- func NewGetPublicGetLastTradesByCurrencyAndTimeParams() *GetPublicGetLastTradesByCurrencyAndTimeParams
- func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithContext(ctx context.Context) *GetPublicGetLastTradesByCurrencyAndTimeParams
- func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithHTTPClient(client *http.Client) *GetPublicGetLastTradesByCurrencyAndTimeParams
- func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithTimeout(timeout time.Duration) *GetPublicGetLastTradesByCurrencyAndTimeParams
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetContext(ctx context.Context)
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetCount(count *int64)
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetCurrency(currency string)
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetEndTimestamp(endTimestamp int64)
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetIncludeOld(includeOld *bool)
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetKind(kind *string)
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetSorting(sorting *string)
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetStartTimestamp(startTimestamp int64)
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithContext(ctx context.Context) *GetPublicGetLastTradesByCurrencyAndTimeParams
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithCount(count *int64) *GetPublicGetLastTradesByCurrencyAndTimeParams
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithCurrency(currency string) *GetPublicGetLastTradesByCurrencyAndTimeParams
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithEndTimestamp(endTimestamp int64) *GetPublicGetLastTradesByCurrencyAndTimeParams
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithHTTPClient(client *http.Client) *GetPublicGetLastTradesByCurrencyAndTimeParams
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithIncludeOld(includeOld *bool) *GetPublicGetLastTradesByCurrencyAndTimeParams
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithKind(kind *string) *GetPublicGetLastTradesByCurrencyAndTimeParams
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithSorting(sorting *string) *GetPublicGetLastTradesByCurrencyAndTimeParams
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithStartTimestamp(startTimestamp int64) *GetPublicGetLastTradesByCurrencyAndTimeParams
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithTimeout(timeout time.Duration) *GetPublicGetLastTradesByCurrencyAndTimeParams
- func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetLastTradesByCurrencyAndTimeReader
- type GetPublicGetLastTradesByCurrencyOK
- type GetPublicGetLastTradesByCurrencyParams
- func NewGetPublicGetLastTradesByCurrencyParams() *GetPublicGetLastTradesByCurrencyParams
- func NewGetPublicGetLastTradesByCurrencyParamsWithContext(ctx context.Context) *GetPublicGetLastTradesByCurrencyParams
- func NewGetPublicGetLastTradesByCurrencyParamsWithHTTPClient(client *http.Client) *GetPublicGetLastTradesByCurrencyParams
- func NewGetPublicGetLastTradesByCurrencyParamsWithTimeout(timeout time.Duration) *GetPublicGetLastTradesByCurrencyParams
- func (o *GetPublicGetLastTradesByCurrencyParams) SetContext(ctx context.Context)
- func (o *GetPublicGetLastTradesByCurrencyParams) SetCount(count *int64)
- func (o *GetPublicGetLastTradesByCurrencyParams) SetCurrency(currency string)
- func (o *GetPublicGetLastTradesByCurrencyParams) SetEndID(endID *string)
- func (o *GetPublicGetLastTradesByCurrencyParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetLastTradesByCurrencyParams) SetIncludeOld(includeOld *bool)
- func (o *GetPublicGetLastTradesByCurrencyParams) SetKind(kind *string)
- func (o *GetPublicGetLastTradesByCurrencyParams) SetSorting(sorting *string)
- func (o *GetPublicGetLastTradesByCurrencyParams) SetStartID(startID *string)
- func (o *GetPublicGetLastTradesByCurrencyParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetLastTradesByCurrencyParams) WithContext(ctx context.Context) *GetPublicGetLastTradesByCurrencyParams
- func (o *GetPublicGetLastTradesByCurrencyParams) WithCount(count *int64) *GetPublicGetLastTradesByCurrencyParams
- func (o *GetPublicGetLastTradesByCurrencyParams) WithCurrency(currency string) *GetPublicGetLastTradesByCurrencyParams
- func (o *GetPublicGetLastTradesByCurrencyParams) WithEndID(endID *string) *GetPublicGetLastTradesByCurrencyParams
- func (o *GetPublicGetLastTradesByCurrencyParams) WithHTTPClient(client *http.Client) *GetPublicGetLastTradesByCurrencyParams
- func (o *GetPublicGetLastTradesByCurrencyParams) WithIncludeOld(includeOld *bool) *GetPublicGetLastTradesByCurrencyParams
- func (o *GetPublicGetLastTradesByCurrencyParams) WithKind(kind *string) *GetPublicGetLastTradesByCurrencyParams
- func (o *GetPublicGetLastTradesByCurrencyParams) WithSorting(sorting *string) *GetPublicGetLastTradesByCurrencyParams
- func (o *GetPublicGetLastTradesByCurrencyParams) WithStartID(startID *string) *GetPublicGetLastTradesByCurrencyParams
- func (o *GetPublicGetLastTradesByCurrencyParams) WithTimeout(timeout time.Duration) *GetPublicGetLastTradesByCurrencyParams
- func (o *GetPublicGetLastTradesByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetLastTradesByCurrencyReader
- type GetPublicGetLastTradesByInstrumentAndTimeOK
- type GetPublicGetLastTradesByInstrumentAndTimeParams
- func NewGetPublicGetLastTradesByInstrumentAndTimeParams() *GetPublicGetLastTradesByInstrumentAndTimeParams
- func NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithContext(ctx context.Context) *GetPublicGetLastTradesByInstrumentAndTimeParams
- func NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithHTTPClient(client *http.Client) *GetPublicGetLastTradesByInstrumentAndTimeParams
- func NewGetPublicGetLastTradesByInstrumentAndTimeParamsWithTimeout(timeout time.Duration) *GetPublicGetLastTradesByInstrumentAndTimeParams
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetContext(ctx context.Context)
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetCount(count *int64)
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetEndTimestamp(endTimestamp int64)
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetIncludeOld(includeOld *bool)
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetInstrumentName(instrumentName string)
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetSorting(sorting *string)
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetStartTimestamp(startTimestamp int64)
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithContext(ctx context.Context) *GetPublicGetLastTradesByInstrumentAndTimeParams
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithCount(count *int64) *GetPublicGetLastTradesByInstrumentAndTimeParams
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithEndTimestamp(endTimestamp int64) *GetPublicGetLastTradesByInstrumentAndTimeParams
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithHTTPClient(client *http.Client) *GetPublicGetLastTradesByInstrumentAndTimeParams
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithIncludeOld(includeOld *bool) *GetPublicGetLastTradesByInstrumentAndTimeParams
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithInstrumentName(instrumentName string) *GetPublicGetLastTradesByInstrumentAndTimeParams
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithSorting(sorting *string) *GetPublicGetLastTradesByInstrumentAndTimeParams
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithStartTimestamp(startTimestamp int64) *GetPublicGetLastTradesByInstrumentAndTimeParams
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithTimeout(timeout time.Duration) *GetPublicGetLastTradesByInstrumentAndTimeParams
- func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetLastTradesByInstrumentAndTimeReader
- type GetPublicGetLastTradesByInstrumentOK
- type GetPublicGetLastTradesByInstrumentParams
- func NewGetPublicGetLastTradesByInstrumentParams() *GetPublicGetLastTradesByInstrumentParams
- func NewGetPublicGetLastTradesByInstrumentParamsWithContext(ctx context.Context) *GetPublicGetLastTradesByInstrumentParams
- func NewGetPublicGetLastTradesByInstrumentParamsWithHTTPClient(client *http.Client) *GetPublicGetLastTradesByInstrumentParams
- func NewGetPublicGetLastTradesByInstrumentParamsWithTimeout(timeout time.Duration) *GetPublicGetLastTradesByInstrumentParams
- func (o *GetPublicGetLastTradesByInstrumentParams) SetContext(ctx context.Context)
- func (o *GetPublicGetLastTradesByInstrumentParams) SetCount(count *int64)
- func (o *GetPublicGetLastTradesByInstrumentParams) SetEndSeq(endSeq *int64)
- func (o *GetPublicGetLastTradesByInstrumentParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetLastTradesByInstrumentParams) SetIncludeOld(includeOld *bool)
- func (o *GetPublicGetLastTradesByInstrumentParams) SetInstrumentName(instrumentName string)
- func (o *GetPublicGetLastTradesByInstrumentParams) SetSorting(sorting *string)
- func (o *GetPublicGetLastTradesByInstrumentParams) SetStartSeq(startSeq *int64)
- func (o *GetPublicGetLastTradesByInstrumentParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetLastTradesByInstrumentParams) WithContext(ctx context.Context) *GetPublicGetLastTradesByInstrumentParams
- func (o *GetPublicGetLastTradesByInstrumentParams) WithCount(count *int64) *GetPublicGetLastTradesByInstrumentParams
- func (o *GetPublicGetLastTradesByInstrumentParams) WithEndSeq(endSeq *int64) *GetPublicGetLastTradesByInstrumentParams
- func (o *GetPublicGetLastTradesByInstrumentParams) WithHTTPClient(client *http.Client) *GetPublicGetLastTradesByInstrumentParams
- func (o *GetPublicGetLastTradesByInstrumentParams) WithIncludeOld(includeOld *bool) *GetPublicGetLastTradesByInstrumentParams
- func (o *GetPublicGetLastTradesByInstrumentParams) WithInstrumentName(instrumentName string) *GetPublicGetLastTradesByInstrumentParams
- func (o *GetPublicGetLastTradesByInstrumentParams) WithSorting(sorting *string) *GetPublicGetLastTradesByInstrumentParams
- func (o *GetPublicGetLastTradesByInstrumentParams) WithStartSeq(startSeq *int64) *GetPublicGetLastTradesByInstrumentParams
- func (o *GetPublicGetLastTradesByInstrumentParams) WithTimeout(timeout time.Duration) *GetPublicGetLastTradesByInstrumentParams
- func (o *GetPublicGetLastTradesByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetLastTradesByInstrumentReader
- type GetPublicGetOrderBookOK
- type GetPublicGetOrderBookParams
- func NewGetPublicGetOrderBookParams() *GetPublicGetOrderBookParams
- func NewGetPublicGetOrderBookParamsWithContext(ctx context.Context) *GetPublicGetOrderBookParams
- func NewGetPublicGetOrderBookParamsWithHTTPClient(client *http.Client) *GetPublicGetOrderBookParams
- func NewGetPublicGetOrderBookParamsWithTimeout(timeout time.Duration) *GetPublicGetOrderBookParams
- func (o *GetPublicGetOrderBookParams) SetContext(ctx context.Context)
- func (o *GetPublicGetOrderBookParams) SetDepth(depth *float64)
- func (o *GetPublicGetOrderBookParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetOrderBookParams) SetInstrumentName(instrumentName string)
- func (o *GetPublicGetOrderBookParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetOrderBookParams) WithContext(ctx context.Context) *GetPublicGetOrderBookParams
- func (o *GetPublicGetOrderBookParams) WithDepth(depth *float64) *GetPublicGetOrderBookParams
- func (o *GetPublicGetOrderBookParams) WithHTTPClient(client *http.Client) *GetPublicGetOrderBookParams
- func (o *GetPublicGetOrderBookParams) WithInstrumentName(instrumentName string) *GetPublicGetOrderBookParams
- func (o *GetPublicGetOrderBookParams) WithTimeout(timeout time.Duration) *GetPublicGetOrderBookParams
- func (o *GetPublicGetOrderBookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetOrderBookReader
- type GetPublicGetTradeVolumesOK
- type GetPublicGetTradeVolumesParams
- func NewGetPublicGetTradeVolumesParams() *GetPublicGetTradeVolumesParams
- func NewGetPublicGetTradeVolumesParamsWithContext(ctx context.Context) *GetPublicGetTradeVolumesParams
- func NewGetPublicGetTradeVolumesParamsWithHTTPClient(client *http.Client) *GetPublicGetTradeVolumesParams
- func NewGetPublicGetTradeVolumesParamsWithTimeout(timeout time.Duration) *GetPublicGetTradeVolumesParams
- func (o *GetPublicGetTradeVolumesParams) SetContext(ctx context.Context)
- func (o *GetPublicGetTradeVolumesParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicGetTradeVolumesParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicGetTradeVolumesParams) WithContext(ctx context.Context) *GetPublicGetTradeVolumesParams
- func (o *GetPublicGetTradeVolumesParams) WithHTTPClient(client *http.Client) *GetPublicGetTradeVolumesParams
- func (o *GetPublicGetTradeVolumesParams) WithTimeout(timeout time.Duration) *GetPublicGetTradeVolumesParams
- func (o *GetPublicGetTradeVolumesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicGetTradeVolumesReader
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 (*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 ClientService ¶
type ClientService interface { GetPublicGetBookSummaryByCurrency(params *GetPublicGetBookSummaryByCurrencyParams) (*GetPublicGetBookSummaryByCurrencyOK, error) GetPublicGetBookSummaryByInstrument(params *GetPublicGetBookSummaryByInstrumentParams) (*GetPublicGetBookSummaryByInstrumentOK, error) GetPublicGetIndex(params *GetPublicGetIndexParams) (*GetPublicGetIndexOK, error) GetPublicGetLastSettlementsByCurrency(params *GetPublicGetLastSettlementsByCurrencyParams) (*GetPublicGetLastSettlementsByCurrencyOK, error) GetPublicGetLastSettlementsByInstrument(params *GetPublicGetLastSettlementsByInstrumentParams) (*GetPublicGetLastSettlementsByInstrumentOK, error) GetPublicGetLastTradesByCurrency(params *GetPublicGetLastTradesByCurrencyParams) (*GetPublicGetLastTradesByCurrencyOK, error) GetPublicGetLastTradesByCurrencyAndTime(params *GetPublicGetLastTradesByCurrencyAndTimeParams) (*GetPublicGetLastTradesByCurrencyAndTimeOK, error) GetPublicGetLastTradesByInstrument(params *GetPublicGetLastTradesByInstrumentParams) (*GetPublicGetLastTradesByInstrumentOK, error) GetPublicGetLastTradesByInstrumentAndTime(params *GetPublicGetLastTradesByInstrumentAndTimeParams) (*GetPublicGetLastTradesByInstrumentAndTimeOK, error) GetPublicGetOrderBook(params *GetPublicGetOrderBookParams) (*GetPublicGetOrderBookOK, error) GetPublicGetTradeVolumes(params *GetPublicGetTradeVolumesParams) (*GetPublicGetTradeVolumesOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new market data API 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 (o *GetPublicGetBookSummaryByCurrencyOK) Error() string
func (*GetPublicGetBookSummaryByCurrencyOK) GetPayload ¶
func (o *GetPublicGetBookSummaryByCurrencyOK) GetPayload() *models.PublicGetBookSummaryResponse
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 ¶
func (o *GetPublicGetBookSummaryByCurrencyParams) SetContext(ctx context.Context)
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 ¶
func (o *GetPublicGetBookSummaryByCurrencyParams) SetKind(kind *string)
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 ¶
func (o *GetPublicGetBookSummaryByCurrencyParams) WithContext(ctx context.Context) *GetPublicGetBookSummaryByCurrencyParams
WithContext adds the context to the get public get book summary by currency params
func (*GetPublicGetBookSummaryByCurrencyParams) WithCurrency ¶
func (o *GetPublicGetBookSummaryByCurrencyParams) WithCurrency(currency string) *GetPublicGetBookSummaryByCurrencyParams
WithCurrency adds the currency to the get public get book summary by currency params
func (*GetPublicGetBookSummaryByCurrencyParams) WithHTTPClient ¶
func (o *GetPublicGetBookSummaryByCurrencyParams) WithHTTPClient(client *http.Client) *GetPublicGetBookSummaryByCurrencyParams
WithHTTPClient adds the HTTPClient to the get public get book summary by currency params
func (*GetPublicGetBookSummaryByCurrencyParams) WithKind ¶
func (o *GetPublicGetBookSummaryByCurrencyParams) WithKind(kind *string) *GetPublicGetBookSummaryByCurrencyParams
WithKind adds the kind to the get public get book summary by currency params
func (*GetPublicGetBookSummaryByCurrencyParams) WithTimeout ¶
func (o *GetPublicGetBookSummaryByCurrencyParams) WithTimeout(timeout time.Duration) *GetPublicGetBookSummaryByCurrencyParams
WithTimeout adds the timeout to the get public get book summary by currency params
func (*GetPublicGetBookSummaryByCurrencyParams) WriteToRequest ¶
func (o *GetPublicGetBookSummaryByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetPublicGetBookSummaryByInstrumentOK) Error() string
func (*GetPublicGetBookSummaryByInstrumentOK) GetPayload ¶
func (o *GetPublicGetBookSummaryByInstrumentOK) GetPayload() *models.PublicGetBookSummaryResponse
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 ¶
func (o *GetPublicGetBookSummaryByInstrumentParams) SetContext(ctx context.Context)
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 ¶
func (o *GetPublicGetBookSummaryByInstrumentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public get book summary by instrument params
func (*GetPublicGetBookSummaryByInstrumentParams) WithContext ¶
func (o *GetPublicGetBookSummaryByInstrumentParams) WithContext(ctx context.Context) *GetPublicGetBookSummaryByInstrumentParams
WithContext adds the context to the get public get book summary by instrument params
func (*GetPublicGetBookSummaryByInstrumentParams) WithHTTPClient ¶
func (o *GetPublicGetBookSummaryByInstrumentParams) WithHTTPClient(client *http.Client) *GetPublicGetBookSummaryByInstrumentParams
WithHTTPClient adds the HTTPClient to the get public get book summary by instrument params
func (*GetPublicGetBookSummaryByInstrumentParams) WithInstrumentName ¶
func (o *GetPublicGetBookSummaryByInstrumentParams) WithInstrumentName(instrumentName string) *GetPublicGetBookSummaryByInstrumentParams
WithInstrumentName adds the instrumentName to the get public get book summary by instrument params
func (*GetPublicGetBookSummaryByInstrumentParams) WithTimeout ¶
func (o *GetPublicGetBookSummaryByInstrumentParams) WithTimeout(timeout time.Duration) *GetPublicGetBookSummaryByInstrumentParams
WithTimeout adds the timeout to the get public get book summary by instrument params
func (*GetPublicGetBookSummaryByInstrumentParams) WriteToRequest ¶
func (o *GetPublicGetBookSummaryByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPublicGetIndexOK) GetPayload() *models.PublicIndexResponse
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 ¶
func (o *GetPublicGetIndexParams) WithContext(ctx context.Context) *GetPublicGetIndexParams
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 ¶
func (o *GetPublicGetIndexParams) WithTimeout(timeout time.Duration) *GetPublicGetIndexParams
WithTimeout adds the timeout to the get public get index params
func (*GetPublicGetIndexParams) WriteToRequest ¶
func (o *GetPublicGetIndexParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetPublicGetLastSettlementsByCurrencyOK) Error() string
func (*GetPublicGetLastSettlementsByCurrencyOK) GetPayload ¶
func (o *GetPublicGetLastSettlementsByCurrencyOK) GetPayload() *models.PublicSettlementResponse
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 ¶
func (o *GetPublicGetLastSettlementsByCurrencyParams) SetContext(ctx context.Context)
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 ¶
func (o *GetPublicGetLastSettlementsByCurrencyParams) SetCount(count *int64)
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 ¶
func (o *GetPublicGetLastSettlementsByCurrencyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public get last settlements by currency params
func (*GetPublicGetLastSettlementsByCurrencyParams) SetType ¶
func (o *GetPublicGetLastSettlementsByCurrencyParams) SetType(typeVar *string)
SetType adds the type to the get public get last settlements by currency params
func (*GetPublicGetLastSettlementsByCurrencyParams) WithContext ¶
func (o *GetPublicGetLastSettlementsByCurrencyParams) WithContext(ctx context.Context) *GetPublicGetLastSettlementsByCurrencyParams
WithContext adds the context to the get public get last settlements by currency params
func (*GetPublicGetLastSettlementsByCurrencyParams) WithContinuation ¶
func (o *GetPublicGetLastSettlementsByCurrencyParams) WithContinuation(continuation *string) *GetPublicGetLastSettlementsByCurrencyParams
WithContinuation adds the continuation to the get public get last settlements by currency params
func (*GetPublicGetLastSettlementsByCurrencyParams) WithCount ¶
func (o *GetPublicGetLastSettlementsByCurrencyParams) WithCount(count *int64) *GetPublicGetLastSettlementsByCurrencyParams
WithCount adds the count to the get public get last settlements by currency params
func (*GetPublicGetLastSettlementsByCurrencyParams) WithCurrency ¶
func (o *GetPublicGetLastSettlementsByCurrencyParams) WithCurrency(currency string) *GetPublicGetLastSettlementsByCurrencyParams
WithCurrency adds the currency to the get public get last settlements by currency params
func (*GetPublicGetLastSettlementsByCurrencyParams) WithHTTPClient ¶
func (o *GetPublicGetLastSettlementsByCurrencyParams) WithHTTPClient(client *http.Client) *GetPublicGetLastSettlementsByCurrencyParams
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 ¶
func (o *GetPublicGetLastSettlementsByCurrencyParams) WithTimeout(timeout time.Duration) *GetPublicGetLastSettlementsByCurrencyParams
WithTimeout adds the timeout to the get public get last settlements by currency params
func (*GetPublicGetLastSettlementsByCurrencyParams) WithType ¶
func (o *GetPublicGetLastSettlementsByCurrencyParams) WithType(typeVar *string) *GetPublicGetLastSettlementsByCurrencyParams
WithType adds the typeVar to the get public get last settlements by currency params
func (*GetPublicGetLastSettlementsByCurrencyParams) WriteToRequest ¶
func (o *GetPublicGetLastSettlementsByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetPublicGetLastSettlementsByInstrumentOK) Error() string
func (*GetPublicGetLastSettlementsByInstrumentOK) GetPayload ¶
func (o *GetPublicGetLastSettlementsByInstrumentOK) GetPayload() *models.PublicSettlementResponse
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 ¶
func (o *GetPublicGetLastSettlementsByInstrumentParams) SetContext(ctx context.Context)
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 ¶
func (o *GetPublicGetLastSettlementsByInstrumentParams) SetCount(count *int64)
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 ¶
func (o *GetPublicGetLastSettlementsByInstrumentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public get last settlements by instrument params
func (*GetPublicGetLastSettlementsByInstrumentParams) SetType ¶
func (o *GetPublicGetLastSettlementsByInstrumentParams) SetType(typeVar *string)
SetType adds the type to the get public get last settlements by instrument params
func (*GetPublicGetLastSettlementsByInstrumentParams) WithContext ¶
func (o *GetPublicGetLastSettlementsByInstrumentParams) WithContext(ctx context.Context) *GetPublicGetLastSettlementsByInstrumentParams
WithContext adds the context to the get public get last settlements by instrument params
func (*GetPublicGetLastSettlementsByInstrumentParams) WithContinuation ¶
func (o *GetPublicGetLastSettlementsByInstrumentParams) WithContinuation(continuation *string) *GetPublicGetLastSettlementsByInstrumentParams
WithContinuation adds the continuation to the get public get last settlements by instrument params
func (*GetPublicGetLastSettlementsByInstrumentParams) WithCount ¶
func (o *GetPublicGetLastSettlementsByInstrumentParams) WithCount(count *int64) *GetPublicGetLastSettlementsByInstrumentParams
WithCount adds the count to the get public get last settlements by instrument params
func (*GetPublicGetLastSettlementsByInstrumentParams) WithHTTPClient ¶
func (o *GetPublicGetLastSettlementsByInstrumentParams) WithHTTPClient(client *http.Client) *GetPublicGetLastSettlementsByInstrumentParams
WithHTTPClient adds the HTTPClient to the get public get last settlements by instrument params
func (*GetPublicGetLastSettlementsByInstrumentParams) WithInstrumentName ¶
func (o *GetPublicGetLastSettlementsByInstrumentParams) WithInstrumentName(instrumentName string) *GetPublicGetLastSettlementsByInstrumentParams
WithInstrumentName adds the instrumentName to the get public get last settlements by instrument params
func (*GetPublicGetLastSettlementsByInstrumentParams) WithSearchStartTimestamp ¶
func (o *GetPublicGetLastSettlementsByInstrumentParams) WithSearchStartTimestamp(searchStartTimestamp *int64) *GetPublicGetLastSettlementsByInstrumentParams
WithSearchStartTimestamp adds the searchStartTimestamp to the get public get last settlements by instrument params
func (*GetPublicGetLastSettlementsByInstrumentParams) WithTimeout ¶
func (o *GetPublicGetLastSettlementsByInstrumentParams) WithTimeout(timeout time.Duration) *GetPublicGetLastSettlementsByInstrumentParams
WithTimeout adds the timeout to the get public get last settlements by instrument params
func (*GetPublicGetLastSettlementsByInstrumentParams) WithType ¶
func (o *GetPublicGetLastSettlementsByInstrumentParams) WithType(typeVar *string) *GetPublicGetLastSettlementsByInstrumentParams
WithType adds the typeVar to the get public get last settlements by instrument params
func (*GetPublicGetLastSettlementsByInstrumentParams) WriteToRequest ¶
func (o *GetPublicGetLastSettlementsByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetPublicGetLastTradesByCurrencyAndTimeOK) Error() string
func (*GetPublicGetLastTradesByCurrencyAndTimeOK) GetPayload ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeOK) GetPayload() *models.PublicTradesHistoryResponse
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 ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetContext(ctx context.Context)
SetContext adds the context to the get public get last trades by currency and time params
func (*GetPublicGetLastTradesByCurrencyAndTimeParams) SetCount ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetCount(count *int64)
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 ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetKind(kind *string)
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 ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public get last trades by currency and time params
func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithContext ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithContext(ctx context.Context) *GetPublicGetLastTradesByCurrencyAndTimeParams
WithContext adds the context to the get public get last trades by currency and time params
func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithCount ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithCount(count *int64) *GetPublicGetLastTradesByCurrencyAndTimeParams
WithCount adds the count to the get public get last trades by currency and time params
func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithCurrency ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithCurrency(currency string) *GetPublicGetLastTradesByCurrencyAndTimeParams
WithCurrency adds the currency to the get public get last trades by currency and time params
func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithEndTimestamp ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithEndTimestamp(endTimestamp int64) *GetPublicGetLastTradesByCurrencyAndTimeParams
WithEndTimestamp adds the endTimestamp to the get public get last trades by currency and time params
func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithHTTPClient ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithHTTPClient(client *http.Client) *GetPublicGetLastTradesByCurrencyAndTimeParams
WithHTTPClient adds the HTTPClient to the get public get last trades by currency and time params
func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithIncludeOld ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithIncludeOld(includeOld *bool) *GetPublicGetLastTradesByCurrencyAndTimeParams
WithIncludeOld adds the includeOld to the get public get last trades by currency and time params
func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithKind ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithKind(kind *string) *GetPublicGetLastTradesByCurrencyAndTimeParams
WithKind adds the kind to the get public get last trades by currency and time params
func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithSorting ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithSorting(sorting *string) *GetPublicGetLastTradesByCurrencyAndTimeParams
WithSorting adds the sorting to the get public get last trades by currency and time params
func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithStartTimestamp ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithStartTimestamp(startTimestamp int64) *GetPublicGetLastTradesByCurrencyAndTimeParams
WithStartTimestamp adds the startTimestamp to the get public get last trades by currency and time params
func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WithTimeout ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithTimeout(timeout time.Duration) *GetPublicGetLastTradesByCurrencyAndTimeParams
WithTimeout adds the timeout to the get public get last trades by currency and time params
func (*GetPublicGetLastTradesByCurrencyAndTimeParams) WriteToRequest ¶
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetPublicGetLastTradesByCurrencyOK) Error() string
func (*GetPublicGetLastTradesByCurrencyOK) GetPayload ¶
func (o *GetPublicGetLastTradesByCurrencyOK) GetPayload() *models.PublicTradesHistoryResponse
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 ¶
func (o *GetPublicGetLastTradesByCurrencyParams) SetContext(ctx context.Context)
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 ¶
func (o *GetPublicGetLastTradesByCurrencyParams) SetKind(kind *string)
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 ¶
func (o *GetPublicGetLastTradesByCurrencyParams) WithContext(ctx context.Context) *GetPublicGetLastTradesByCurrencyParams
WithContext adds the context to the get public get last trades by currency params
func (*GetPublicGetLastTradesByCurrencyParams) WithCount ¶
func (o *GetPublicGetLastTradesByCurrencyParams) WithCount(count *int64) *GetPublicGetLastTradesByCurrencyParams
WithCount adds the count to the get public get last trades by currency params
func (*GetPublicGetLastTradesByCurrencyParams) WithCurrency ¶
func (o *GetPublicGetLastTradesByCurrencyParams) WithCurrency(currency string) *GetPublicGetLastTradesByCurrencyParams
WithCurrency adds the currency to the get public get last trades by currency params
func (*GetPublicGetLastTradesByCurrencyParams) WithEndID ¶
func (o *GetPublicGetLastTradesByCurrencyParams) WithEndID(endID *string) *GetPublicGetLastTradesByCurrencyParams
WithEndID adds the endID to the get public get last trades by currency params
func (*GetPublicGetLastTradesByCurrencyParams) WithHTTPClient ¶
func (o *GetPublicGetLastTradesByCurrencyParams) WithHTTPClient(client *http.Client) *GetPublicGetLastTradesByCurrencyParams
WithHTTPClient adds the HTTPClient to the get public get last trades by currency params
func (*GetPublicGetLastTradesByCurrencyParams) WithIncludeOld ¶
func (o *GetPublicGetLastTradesByCurrencyParams) WithIncludeOld(includeOld *bool) *GetPublicGetLastTradesByCurrencyParams
WithIncludeOld adds the includeOld to the get public get last trades by currency params
func (*GetPublicGetLastTradesByCurrencyParams) WithKind ¶
func (o *GetPublicGetLastTradesByCurrencyParams) WithKind(kind *string) *GetPublicGetLastTradesByCurrencyParams
WithKind adds the kind to the get public get last trades by currency params
func (*GetPublicGetLastTradesByCurrencyParams) WithSorting ¶
func (o *GetPublicGetLastTradesByCurrencyParams) WithSorting(sorting *string) *GetPublicGetLastTradesByCurrencyParams
WithSorting adds the sorting to the get public get last trades by currency params
func (*GetPublicGetLastTradesByCurrencyParams) WithStartID ¶
func (o *GetPublicGetLastTradesByCurrencyParams) WithStartID(startID *string) *GetPublicGetLastTradesByCurrencyParams
WithStartID adds the startID to the get public get last trades by currency params
func (*GetPublicGetLastTradesByCurrencyParams) WithTimeout ¶
func (o *GetPublicGetLastTradesByCurrencyParams) WithTimeout(timeout time.Duration) *GetPublicGetLastTradesByCurrencyParams
WithTimeout adds the timeout to the get public get last trades by currency params
func (*GetPublicGetLastTradesByCurrencyParams) WriteToRequest ¶
func (o *GetPublicGetLastTradesByCurrencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetPublicGetLastTradesByInstrumentAndTimeOK) Error() string
func (*GetPublicGetLastTradesByInstrumentAndTimeOK) GetPayload ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeOK) GetPayload() *models.PublicTradesHistoryResponse
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 ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetContext(ctx context.Context)
SetContext adds the context to the get public get last trades by instrument and time params
func (*GetPublicGetLastTradesByInstrumentAndTimeParams) SetCount ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetCount(count *int64)
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 ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetSorting(sorting *string)
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 ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public get last trades by instrument and time params
func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithContext ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithContext(ctx context.Context) *GetPublicGetLastTradesByInstrumentAndTimeParams
WithContext adds the context to the get public get last trades by instrument and time params
func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithCount ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithCount(count *int64) *GetPublicGetLastTradesByInstrumentAndTimeParams
WithCount adds the count to the get public get last trades by instrument and time params
func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithEndTimestamp ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithEndTimestamp(endTimestamp int64) *GetPublicGetLastTradesByInstrumentAndTimeParams
WithEndTimestamp adds the endTimestamp to the get public get last trades by instrument and time params
func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithHTTPClient ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithHTTPClient(client *http.Client) *GetPublicGetLastTradesByInstrumentAndTimeParams
WithHTTPClient adds the HTTPClient to the get public get last trades by instrument and time params
func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithIncludeOld ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithIncludeOld(includeOld *bool) *GetPublicGetLastTradesByInstrumentAndTimeParams
WithIncludeOld adds the includeOld to the get public get last trades by instrument and time params
func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithInstrumentName ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithInstrumentName(instrumentName string) *GetPublicGetLastTradesByInstrumentAndTimeParams
WithInstrumentName adds the instrumentName to the get public get last trades by instrument and time params
func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithSorting ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithSorting(sorting *string) *GetPublicGetLastTradesByInstrumentAndTimeParams
WithSorting adds the sorting to the get public get last trades by instrument and time params
func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithStartTimestamp ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithStartTimestamp(startTimestamp int64) *GetPublicGetLastTradesByInstrumentAndTimeParams
WithStartTimestamp adds the startTimestamp to the get public get last trades by instrument and time params
func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WithTimeout ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WithTimeout(timeout time.Duration) *GetPublicGetLastTradesByInstrumentAndTimeParams
WithTimeout adds the timeout to the get public get last trades by instrument and time params
func (*GetPublicGetLastTradesByInstrumentAndTimeParams) WriteToRequest ¶
func (o *GetPublicGetLastTradesByInstrumentAndTimeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetPublicGetLastTradesByInstrumentOK) Error() string
func (*GetPublicGetLastTradesByInstrumentOK) GetPayload ¶
func (o *GetPublicGetLastTradesByInstrumentOK) GetPayload() *models.PublicTradesHistoryResponse
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 ¶
func (o *GetPublicGetLastTradesByInstrumentParams) SetContext(ctx context.Context)
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 ¶
func (o *GetPublicGetLastTradesByInstrumentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public get last trades by instrument params
func (*GetPublicGetLastTradesByInstrumentParams) WithContext ¶
func (o *GetPublicGetLastTradesByInstrumentParams) WithContext(ctx context.Context) *GetPublicGetLastTradesByInstrumentParams
WithContext adds the context to the get public get last trades by instrument params
func (*GetPublicGetLastTradesByInstrumentParams) WithCount ¶
func (o *GetPublicGetLastTradesByInstrumentParams) WithCount(count *int64) *GetPublicGetLastTradesByInstrumentParams
WithCount adds the count to the get public get last trades by instrument params
func (*GetPublicGetLastTradesByInstrumentParams) WithEndSeq ¶
func (o *GetPublicGetLastTradesByInstrumentParams) WithEndSeq(endSeq *int64) *GetPublicGetLastTradesByInstrumentParams
WithEndSeq adds the endSeq to the get public get last trades by instrument params
func (*GetPublicGetLastTradesByInstrumentParams) WithHTTPClient ¶
func (o *GetPublicGetLastTradesByInstrumentParams) WithHTTPClient(client *http.Client) *GetPublicGetLastTradesByInstrumentParams
WithHTTPClient adds the HTTPClient to the get public get last trades by instrument params
func (*GetPublicGetLastTradesByInstrumentParams) WithIncludeOld ¶
func (o *GetPublicGetLastTradesByInstrumentParams) WithIncludeOld(includeOld *bool) *GetPublicGetLastTradesByInstrumentParams
WithIncludeOld adds the includeOld to the get public get last trades by instrument params
func (*GetPublicGetLastTradesByInstrumentParams) WithInstrumentName ¶
func (o *GetPublicGetLastTradesByInstrumentParams) WithInstrumentName(instrumentName string) *GetPublicGetLastTradesByInstrumentParams
WithInstrumentName adds the instrumentName to the get public get last trades by instrument params
func (*GetPublicGetLastTradesByInstrumentParams) WithSorting ¶
func (o *GetPublicGetLastTradesByInstrumentParams) WithSorting(sorting *string) *GetPublicGetLastTradesByInstrumentParams
WithSorting adds the sorting to the get public get last trades by instrument params
func (*GetPublicGetLastTradesByInstrumentParams) WithStartSeq ¶
func (o *GetPublicGetLastTradesByInstrumentParams) WithStartSeq(startSeq *int64) *GetPublicGetLastTradesByInstrumentParams
WithStartSeq adds the startSeq to the get public get last trades by instrument params
func (*GetPublicGetLastTradesByInstrumentParams) WithTimeout ¶
func (o *GetPublicGetLastTradesByInstrumentParams) WithTimeout(timeout time.Duration) *GetPublicGetLastTradesByInstrumentParams
WithTimeout adds the timeout to the get public get last trades by instrument params
func (*GetPublicGetLastTradesByInstrumentParams) WriteToRequest ¶
func (o *GetPublicGetLastTradesByInstrumentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPublicGetOrderBookOK) GetPayload() *models.PublicGetOrderBookResponse
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 ¶
func (o *GetPublicGetOrderBookParams) WithContext(ctx context.Context) *GetPublicGetOrderBookParams
WithContext adds the context to the get public get order book params
func (*GetPublicGetOrderBookParams) WithDepth ¶
func (o *GetPublicGetOrderBookParams) WithDepth(depth *float64) *GetPublicGetOrderBookParams
WithDepth adds the depth to the get public get order book params
func (*GetPublicGetOrderBookParams) WithHTTPClient ¶
func (o *GetPublicGetOrderBookParams) WithHTTPClient(client *http.Client) *GetPublicGetOrderBookParams
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 ¶
func (o *GetPublicGetOrderBookParams) WithTimeout(timeout time.Duration) *GetPublicGetOrderBookParams
WithTimeout adds the timeout to the get public get order book params
func (*GetPublicGetOrderBookParams) WriteToRequest ¶
func (o *GetPublicGetOrderBookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetPublicGetTradeVolumesOK) Error() string
func (*GetPublicGetTradeVolumesOK) GetPayload ¶
func (o *GetPublicGetTradeVolumesOK) GetPayload() *models.PublicGetTradesVolumesResponse
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 ¶
func (o *GetPublicGetTradeVolumesParams) WithContext(ctx context.Context) *GetPublicGetTradeVolumesParams
WithContext adds the context to the get public get trade volumes params
func (*GetPublicGetTradeVolumesParams) WithHTTPClient ¶
func (o *GetPublicGetTradeVolumesParams) WithHTTPClient(client *http.Client) *GetPublicGetTradeVolumesParams
WithHTTPClient adds the HTTPClient to the get public get trade volumes params
func (*GetPublicGetTradeVolumesParams) WithTimeout ¶
func (o *GetPublicGetTradeVolumesParams) WithTimeout(timeout time.Duration) *GetPublicGetTradeVolumesParams
WithTimeout adds the timeout to the get public get trade volumes params
func (*GetPublicGetTradeVolumesParams) WriteToRequest ¶
func (o *GetPublicGetTradeVolumesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- get_public_get_book_summary_by_currency_parameters.go
- get_public_get_book_summary_by_currency_responses.go
- get_public_get_book_summary_by_instrument_parameters.go
- get_public_get_book_summary_by_instrument_responses.go
- get_public_get_index_parameters.go
- get_public_get_index_responses.go
- get_public_get_last_settlements_by_currency_parameters.go
- get_public_get_last_settlements_by_currency_responses.go
- get_public_get_last_settlements_by_instrument_parameters.go
- get_public_get_last_settlements_by_instrument_responses.go
- get_public_get_last_trades_by_currency_and_time_parameters.go
- get_public_get_last_trades_by_currency_and_time_responses.go
- get_public_get_last_trades_by_currency_parameters.go
- get_public_get_last_trades_by_currency_responses.go
- get_public_get_last_trades_by_instrument_and_time_parameters.go
- get_public_get_last_trades_by_instrument_and_time_responses.go
- get_public_get_last_trades_by_instrument_parameters.go
- get_public_get_last_trades_by_instrument_responses.go
- get_public_get_order_book_parameters.go
- get_public_get_order_book_responses.go
- get_public_get_trade_volumes_parameters.go
- get_public_get_trade_volumes_responses.go
- market_data_client.go