FixAlchemy.Orders (FIXAlchemy v0.2.0)
View SourceNormalization of working orders from parsed ExecutionReports.
FixAlchemy.Portfolio keeps active orders as raw parsed messages keyed by
order id; this module turns them into the backend-neutral order shape the
platform renders and acts on. Unknown FIX codes pass through untouched.
Summary
Types
@type summary() :: %{ order_id: String.t(), cl_ord_id: String.t() | nil, symbol: String.t() | nil, side: atom() | String.t() | nil, type: atom() | String.t() | nil, quantity: integer(), filled: integer(), price: String.t() | nil, stop_price: String.t() | nil, tif: atom() | String.t() | nil, status: atom() | String.t() | nil, time: String.t() | nil, account: String.t() | nil }