Generates a steady stream of random trades so the risk engine has data to process without a real market feed.
On a timer (default every second), submits a random trade for a random
portfolio id and symbol drawn from the configured pools, through
RiskEngine.TradeIngestion.submit/1 — exactly as an external feed would.
config :risk_engine, RiskEngine.Simulator,
tick_interval: 1_000,
portfolio_ids: ["acct_1", "acct_2", "acct_3"],
symbols: ["AAPL", "TSLA", "GOOG", "MSFT"]Intended for local development and demos, not production trade data.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.