tai v0.0.53 Tai.Venues.Client

Link to this section Summary

Link to this section Types

Link to this type

account()

account() :: Tai.Venues.Account.t()
Link to this type

amend_attrs()

amend_attrs() :: Tai.Trading.Orders.Amend.attrs()
Link to this type

amend_bulk_attrs()

amend_bulk_attrs() :: Tai.Trading.Orders.AmendBulk.attrs()
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

amend_response()

amend_response() :: Tai.Trading.OrderResponses.Amend.t()
Link to this type

cancel_order_error_reason()

cancel_order_error_reason() :: Tai.Venues.Adapter.cancel_order_error_reason()
Link to this type

create_order_error_reason()

create_order_error_reason() :: Tai.Venues.Adapter.create_order_error_reason()
Link to this type

credential_id()

credential_id() :: Tai.Venue.credential_id()
Link to this type

position()

position() :: Tai.Trading.Position.t()
Link to this type

positions_error_reason()

positions_error_reason() :: Tai.Venues.Adapter.positions_error_reason()
Link to this type

product()

product() :: Tai.Venues.Product.t()
Link to this type

shared_error_reason()

shared_error_reason() :: Tai.Venues.Adapter.shared_error_reason()
Link to this type

venue()

venue() :: Tai.Venue.t()

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()}