Documentation ¶
Index ¶
- Constants
- type MarketClient
- func (a *MarketClient) GetInstrument(ctx context.Context, params *models.GetInstrumentParams, ...) (*models.GetInstrumentResponse, error)
- func (a *MarketClient) GetMarketData(ctx context.Context, params *models.GetMarketDataParams, ...) (*models.GetMarketDataResponse, error)
- func (a *MarketClient) Search(ctx context.Context, params *models.SearchParams, ...) (*models.SearchResponse, error)
Constants ¶
View Source
const ( GetInstrumentPath = "/_mobile/market/{instrument}/{id}" SearchPath = "/_mobile/market/search/{instrument}" GetMarketDataPath = "/_cqbe/trading/marketdata/{orderbookID}" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MarketClient ¶
func (*MarketClient) GetInstrument ¶
func (a *MarketClient) GetInstrument(ctx context.Context, params *models.GetInstrumentParams, options ...models.RequestOption) (*models.GetInstrumentResponse, error)
GetInstrument gets metadata information about a specific instrument
func (*MarketClient) GetMarketData ¶
func (a *MarketClient) GetMarketData(ctx context.Context, params *models.GetMarketDataParams, options ...models.RequestOption) (*models.GetMarketDataResponse, error)
GetMarketData gets the latest market for specific order-book
func (*MarketClient) Search ¶
func (a *MarketClient) Search(ctx context.Context, params *models.SearchParams, options ...models.RequestOption) (*models.SearchResponse, error)
Search for metadata information about tickers, fund or other instruments
Click to show internal directories.
Click to hide internal directories.