Tai.Trading.Position (tai v0.0.75)
Link to this section Summary
Link to this section Types
Link to this type
credential_id()
Specs
credential_id() :: Tai.Venue.credential_id()
Link to this type
margin_mode()
Specs
margin_mode() :: :portfolio | :crossed | :fixed
Link to this type
product_symbol()
Specs
product_symbol() :: Tai.Venues.Product.symbol()
Specs
t() :: %Tai.Trading.Position{ credential_id: credential_id(), entry_price: Decimal.t(), leverage: Decimal.t() | nil, margin_mode: margin_mode(), product_symbol: product_symbol(), qty: Decimal.t(), side: :long | :short, venue_id: venue_id() }
Link to this type
venue_id()
Specs
venue_id() :: Tai.Venue.id()