FixAlchemy.Portfolio.Plain (FIXAlchemy v0.3.0)

View Source

The plain-FIX portfolio handler for the baseline :fix backend.

Uses FixAlchemy.Portfolio with no overrides: working orders from ExecutionReports, net-per-symbol positions, and an account-id summary.

Summary

Functions

Returns a specification to start this module under a supervisor.

Types

t()

@type t() :: %FixAlchemy.Portfolio.Plain{
  accounts: term(),
  active_account: term(),
  collaterals: term(),
  connection_id: term(),
  default_account: term(),
  extra: term(),
  orders: term(),
  positions: term(),
  process_name: term(),
  pubsub_module: term(),
  session_name: term(),
  spec_name: term()
}

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)

@spec start_link(keyword()) :: GenServer.on_start()