Tai.Venues.Client (tai v0.0.75)
Link to this section Summary
Link to this section Types
Link to this type
account()
Specs
account() :: Tai.Venues.Account.t()
Link to this type
amend_attrs()
Specs
amend_attrs() :: Tai.Orders.Worker.amend_attrs()
Link to this type
amend_bulk_attrs()
Specs
amend_bulk_attrs() :: Tai.Orders.Worker.amend_attrs()
Link to this type
amend_bulk_order_error_reason()
Specs
amend_bulk_order_error_reason() :: Tai.Venues.Adapter.amend_order_error_reason()
Link to this type
amend_bulk_response()
Specs
amend_bulk_response() :: Tai.Orders.Responses.AmendBulk.t()
Link to this type
amend_order_error_reason()
Specs
amend_order_error_reason() :: Tai.Venues.Adapter.amend_order_error_reason()
Link to this type
amend_response()
Specs
amend_response() :: Tai.Orders.Responses.AmendAccepted.t()
Link to this type
cancel_order_error_reason()
Specs
cancel_order_error_reason() :: Tai.Venues.Adapter.cancel_order_error_reason()
Link to this type
cancel_response()
Specs
cancel_response() :: Tai.Orders.Responses.CancelAccepted.t()
Link to this type
create_order_error_reason()
Specs
create_order_error_reason() :: Tai.Venues.Adapter.create_order_error_reason()
Link to this type
create_response()
Specs
create_response() :: Tai.Orders.Responses.CreateAccepted.t()
Link to this type
credential_id()
Specs
credential_id() :: Tai.Venue.credential_id()
Link to this type
order()
Specs
order() :: Tai.Orders.Order.t()
Link to this type
position()
Specs
position() :: Tai.Trading.Position.t()
Link to this type
positions_error_reason()
Specs
positions_error_reason() :: Tai.Venues.Adapter.positions_error_reason()
Link to this type
product()
Specs
product() :: Tai.Venues.Product.t()
Link to this type
venue()
Specs
venue() :: Tai.Venue.t()
Link to this section Functions
Link to this function
accounts(venue, credential_id)
Specs
accounts(venue(), credential_id()) :: {:ok, [account()]} | {:error, shared_error_reason()}
Link to this function
amend_bulk_orders(amend_set)
Specs
amend_bulk_orders([{order(), amend_bulk_attrs()}]) :: {:ok, amend_bulk_response()} | {:error, amend_bulk_order_error_reason()}
Link to this function
amend_order(order, attrs)
Specs
amend_order(order(), amend_attrs()) :: {:ok, amend_response()} | {:error, amend_order_error_reason()}
Link to this function
cancel_order(order)
Specs
cancel_order(order()) :: {:ok, cancel_response()} | {:error, cancel_order_error_reason()}
Link to this function
create_order(order)
Specs
create_order(order()) :: {:ok, create_response()} | {:error, create_order_error_reason()}
Link to this function
maker_taker_fees(venue, credential_id)
Specs
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)
Specs
positions(venue(), credential_id()) :: {:ok, [position()]} | {:error, positions_error_reason()}
Link to this function
products(venue)
Specs
products(venue()) :: {:ok, [product()]} | {:error, shared_error_reason()}