tai v0.0.1 Tai.Exchanges.Account
Uniform interface for private exchange actions
Link to this section Summary
Functions
Create a buy limit order from the given order struct. It returns an error tuple when the type is not accepted
Create a buy limit order on the exchange with the given
Cancels the order on the exchange and returns the order_id
Fetches the status of the order from the exchange
Create a sell limit order from the given order struct. It returns an error tuple when the type is not accepted
Create a sell limit order on the exchange with the given
Returns an atom which identifies the process for the given exchange_id
Link to this section Functions
Create a buy limit order from the given order struct. It returns an error tuple when the type is not accepted.
{:error, %OrderResponses.InvalidOrderType{}}
Create a buy limit order on the exchange with the given
- symbol
- price
- size
Cancels the order on the exchange and returns the order_id
Fetches the status of the order from the exchange
Create a sell limit order from the given order struct. It returns an error tuple when the type is not accepted.
{:error, %OrderResponses.InvalidOrderType{}}
Create a sell limit order on the exchange with the given
- symbol
- price
- size
Returns an atom which identifies the process for the given exchange_id
Examples
iex> Tai.Exchanges.Account.to_name(:my_test_exchange) :exchanges_account_my_test_exchange