tai v0.0.23 Tai.Trading.OrderStoreBackends.ETS
Link to this section Summary
Functions
Return a list of all orders currently stored in the ETS table
Return the order from the ETS table that matches the given client_id
Insert an order into the ETS table
Update an existing order in the ETS table
Link to this section Types
Link to this type
client_id()
client_id()
client_id() :: Tai.Trading.Order.client_id()
client_id() :: Tai.Trading.Order.client_id()
Link to this type
name()
name()
name() :: atom()
name() :: atom()
Link to this type
order()
order()
order() :: Tai.Trading.Order.t()
order() :: Tai.Trading.Order.t()
Link to this section Functions
Link to this function
all(name)
Return a list of all orders currently stored in the ETS table
Link to this function
create(name)
Link to this function
find_by_client_id(client_id, name)
Return the order from the ETS table that matches the given client_id
Link to this function
insert(order, name)
Insert an order into the ETS table
Link to this function
update(action, state)
Update an existing order in the ETS table