tai v0.0.56 Tai.Venues.Client
Link to this section Summary
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 section Functions
Link to this function
accounts(venue, credential_id)
accounts(venue(), credential_id()) :: {:ok, [account()]} | {:error, shared_error_reason()}
Link to this function
amend_bulk_orders(orders_and_attributes, venue_provider \\ Tai.Venues.VenueStore)
Link to this function
amend_order(order, attrs, venue_provider \\ Tai.Venues.VenueStore)
Link to this function
cancel_order(order, venue_provider \\ Tai.Venues.VenueStore)
Link to this function
create_order(order, venue_provider \\ Tai.Venues.VenueStore)
Link to this function
maker_taker_fees(venue, credential_id)
maker_taker_fees(venue(), credential_id()) :: {:ok, {maker :: Decimal.t(), taker :: Decimal.t()} | nil} | {:error, shared_error_reason()}
Link to this function
positions(venue, credential_id)
positions(venue(), credential_id()) :: {:ok, [position()]} | {:error, positions_error_reason()}
Link to this function
products(venue)
products(venue()) :: {:ok, [product()]} | {:error, shared_error_reason()}