DpExchange.Robinhood.Fake (DpExchangeRobinhood v0.1.1)

Copy Markdown View Source

An in-process Robinhood, for a consumer's tier-1 tests and for the conformance suite.

It is not a mock. A real implementation of DpExchange.Core.Venue answering from memory, running the same conformance suite as the real adapter.

What it models that is specific to this venue

  • Credentials are required for market data, because the real venue signs every call and has no anonymous endpoint. Without them: {:refused, :missing_credentials}.
  • Coverage is :internal_poll, not :stream — the one place a consumer can see that this venue has no socket, and it shows up as what is arriving, never as how.
  • No candles, no order book, no volume. The venue serves none, so neither does this.