Tai.Markets (tai v0.0.75)

Link to this section Summary

Link to this section Types

Link to this type

market_quote()

Specs

market_quote() :: Tai.Markets.Quote.t()
Link to this type

product_symbol()

Specs

product_symbol() :: Tai.Venues.Product.symbol()

Specs

trade() :: Tai.Markets.Trade.t()

Specs

venue() :: Tai.Venue.id()

Link to this section Functions

Link to this function

publish_quote(market_quote)

Specs

publish_quote(market_quote()) :: [:ok | {:error, term()}]
Link to this function

publish_trade(trade)

Specs

publish_trade(trade()) :: [:ok | {:error, term()}]
Link to this function

subscribe_quote(venue)

Specs

subscribe_quote(String.t() | venue() | {venue(), product_symbol()}) ::
  :ok | {:error, term()}
Link to this function

subscribe_trade(venue)

Specs

subscribe_trade(String.t() | venue() | {venue(), product_symbol()}) ::
  :ok | {:error, term()}