tai v0.0.48 Tai.Venues.Product
Link to this section Summary
Types
The product to buy/sell or the underlying product used to buy/sell. For the product BTCUSD
A derivative contract where the PnL settlement is in the base asset, e.g. XBTUSD settles PnL in XBT
A derivative contract where PnL settlement is a different asset to the base or quote assets.
The underlying value of the product. Spot products will always have a value = 1. Derivative products can have values > 1.
Link to this section Types
The product to buy/sell or the underlying product used to buy/sell. For the product BTCUSD
- BTC = base asset
- USD = quote asset
A derivative contract where the PnL settlement is in the base asset, e.g. XBTUSD settles PnL in XBT
A derivative contract where PnL settlement is a different asset to the base or quote assets.
status()
status() :: :pre_trading | :trading | :post_trading | :end_of_day | :halt | :auction_match | :break | :settled | :unlisted
t()
t() :: %Tai.Venues.Product{ alias: String.t() | nil, base: asset(), expiry: DateTime.t() | nil, is_inverse: inverse(), is_quanto: quanto(), listing: DateTime.t() | nil, maker_fee: Decimal.t() | nil, max_price: Decimal.t() | nil, max_size: Decimal.t() | nil, min_notional: Decimal.t() | nil, min_price: Decimal.t(), min_size: Decimal.t(), price_increment: Decimal.t(), quote: asset(), size_increment: Decimal.t(), status: status(), symbol: symbol(), taker_fee: Decimal.t() | nil, type: type(), value: value(), venue_id: Tai.Venue.id(), venue_symbol: venue_symbol() }
The underlying value of the product. Spot products will always have a value = 1. Derivative products can have values > 1.
e.g. OkEx quarterly futures product has a value of 100 where 1 contract represents $100 USD.