tai v0.0.28 Tai.Trading.OrderStore.Backends.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 section Functions
Return a list of all orders currently stored in the ETS table
Link to this function
find_by_client_id(client_id, table_name)
find_by_client_id(client_id(), table_name()) :: {:ok, order()} | {:error, :not_found}
Return the order from the ETS table that matches the given client_id
Insert an order into the ETS table
Link to this function
update(action, table_name)
Update an existing order in the ETS table