tai v0.0.10 Tai.Venue
Link to this section Summary
Link to this section Types
Link to this type
create_order_error_reason()
create_order_error_reason() :: :not_implemented | shared_error_reason() | Tai.Trading.InsufficientBalanceError.t()
Link to this section Functions
Link to this function
asset_balances(adapter, account_id)
asset_balances(adapter :: adapter(), account_id :: atom()) :: {:ok, [asset_balance()]}
Link to this function
cancel_order(order, adapters \\ %{bitmex: %{__struct__: Tai.Venues.Adapter, accounts: %{main: %{api_key: nil, api_secret: nil}}, adapter: Tai.VenueAdapters.Bitmex, id: :bitmex, products: "xbtz18 xbth19", timeout: 60000}, poloniex: %{__struct__: Tai.Venues.Adapter, accounts: %{main: %{}}, adapter: Tai.VenueAdapters.Poloniex, id: :poloniex, products: "btc_usdt ltc_usdt eth_usdt", timeout: 10000}})
Link to this function
create_order(order, adapters \\ %{bitmex: %{__struct__: Tai.Venues.Adapter, accounts: %{main: %{api_key: nil, api_secret: nil}}, adapter: Tai.VenueAdapters.Bitmex, id: :bitmex, products: "xbtz18 xbth19", timeout: 60000}, poloniex: %{__struct__: Tai.Venues.Adapter, accounts: %{main: %{}}, adapter: Tai.VenueAdapters.Poloniex, id: :poloniex, products: "btc_usdt ltc_usdt eth_usdt", timeout: 10000}})
Link to this function
maker_taker_fees(adapter, account_id)