Designing a Broker-Agnostic API Layer in Elixir
Four Elixir behaviours — Broker, BrokerAdapter, AccountManager, MarketDataSource — keep broker-specific quirks out of the trading pipeline entirely; this post covers the dispatch mechanism, how partial implementations are handled, and two design decisions worth revisiting.
Read next ElixirCasts 205: Deploy Phoenix to a VPS
