Versions in this module Expand all Collapse all v0 v0.10.0 May 15, 2022 Changes in this version + type Client struct + func New(config Config) (*Client, error) + func (c *Client) Close() + func (c *Client) Connect() error + func (c *Client) Error() <-chan error + func (c *Client) Output() <-chan any + func (c *Client) Subscribe(topic Topic, tickers ...string) error + func (c *Client) Unsubscribe(topic Topic, tickers ...string) error + type Config struct + APIKey string + Feed Feed + Log Logger + Market Market + MaxRetries *uint64 + RawData bool + type Feed string + const Delayed + const Nasdaq + const PolyFeed + const PolyFeedPlus + const RealTime + type Logger interface + Debugf func(template string, args ...any) + Errorf func(template string, args ...any) + Infof func(template string, args ...any) + type Market string + const Crypto + const Forex + const Options + const Stocks + type Topic uint8 + const CryptoL2Book + const CryptoMinAggs + const CryptoQuotes + const CryptoTrades + const ForexMinAggs + const ForexQuotes + const OptionsMinAggs + const OptionsQuotes + const OptionsSecAggs + const OptionsTrades + const StocksImbalances + const StocksLULD + const StocksMinAggs + const StocksQuotes + const StocksSecAggs + const StocksTrades