tai v0.0.48 Tai.Venue
Link to this section Summary
Functions
accounts(venue, credential_id)
deprecated
maker_taker_fees(venue, credential_id)
deprecated
positions(venue, credential_id)
deprecated
products(venue_adapter)
deprecated
Link to this section Types
Link to this type
amend_bulk_order_error_reason()
amend_bulk_order_error_reason() :: Tai.Venues.Adapter.amend_order_error_reason()
Link to this type
amend_bulk_response()
amend_bulk_response() :: Tai.Trading.OrderResponses.AmendBulk.t()
Link to this type
amend_order_error_reason()
amend_order_error_reason() :: Tai.Venues.Adapter.amend_order_error_reason()
Link to this type
cancel_order_error_reason()
cancel_order_error_reason() :: Tai.Venues.Adapter.cancel_order_error_reason()
Link to this type
cancel_response()
cancel_response() :: Tai.Trading.OrderResponses.Cancel.t() | Tai.Trading.OrderResponses.CancelAccepted.t()
Link to this type
create_order_error_reason()
create_order_error_reason() :: Tai.Venues.Adapter.create_order_error_reason()
Link to this type
create_response()
create_response() :: Tai.Trading.OrderResponses.Create.t() | Tai.Trading.OrderResponses.CreateAccepted.t()
Link to this type
positions_error_reason()
positions_error_reason() :: Tai.Venues.Adapter.positions_error_reason()
Link to this type
t()
t() :: %Tai.Venue{ accounts: String.t() | function(), adapter: adapter(), channels: [channel()], credentials: credentials(), id: id(), opts: map(), products: String.t() | function(), quote_depth: pos_integer(), timeout: non_neg_integer() }
Link to this section Functions
Link to this function
accounts(venue, credential_id)
accounts(t(), credential_id()) :: {:ok, [account()]} | {:error, shared_error_reason()}
This function is deprecated. Use Tai.Venues.Client.accounts/2 instead..
Link to this function
amend_bulk_orders(orders_and_attributes, adapters \\ Tai.Venues.Config.parse())
This function is deprecated. Use Tai.Venues.Client.amend_bulk_orders/2 instead..
Link to this function
amend_order(order, attrs, adapters \\ Tai.Venues.Config.parse())
This function is deprecated. Use Tai.Venues.Client.amend_order/3 instead..
Link to this function
cancel_order(order, adapters \\ Tai.Venues.Config.parse())
This function is deprecated. Use Tai.Venues.Client.cancel_order/2 instead..
Link to this function
create_order(order, adapters \\ Tai.Venues.Config.parse())
This function is deprecated. Use Tai.Venues.Client.create_order/2 instead..
Link to this function
maker_taker_fees(venue, credential_id)
maker_taker_fees(t(), credential_id()) :: {:ok, {maker :: Decimal.t(), taker :: Decimal.t()} | nil} | {:error, shared_error_reason()}
This function is deprecated. Use Tai.Venues.Client.maker_taker_fees/2 instead..
Link to this function
positions(venue, credential_id)
positions(t(), credential_id()) :: {:ok, [position()]} | {:error, positions_error_reason()}
This function is deprecated. Use Tai.Venues.Client.positions/2 instead..
Link to this function
products(venue_adapter)
products(t()) :: {:ok, [product()]} | {:error, shared_error_reason()}
This function is deprecated. Use Tai.Venues.Client.products/1 instead..