Packages
dp_exchange_robinhood
0.1.7
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.2.27
0.2.26
0.2.25
0.2.24
0.2.23
0.2.22
0.2.21
0.2.20
0.2.19
0.2.18
0.2.17
0.2.16
0.2.15
0.2.14
0.2.13
0.2.12
0.2.11
0.2.10
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.1.19
0.1.18
0.1.17
0.1.16
0.1.15
0.1.14
0.1.13
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
EXPERIMENTAL — Robinhood venue package for the DpExchange family. Market data, trading and streaming behind the shared DpExchange.Core.Venue facade.
Current section
Files
Jump to
Current section
Files
dp_exchange_robinhood
README.md
README.md
# DpExchangeRobinhood
> ## ⚠️ EXPERIMENTAL — read this before depending on it
>
> This package has **never run in production.** It is published early and openly so it
> can be used and reported on, not because it is finished.
>
> - **The API may change without a major version.** Pin three-part (`~> 0.1.0`).
> - **Verification is uneven, and the gaps are on the expensive side.** The conformance
> suite passes against a fake, and against Robinhood's live public endpoints.
> **Order placement and authenticated flows are thinly covered.** No test in this repo
> spends money.
> - **Maturity is declared per endpoint.** Read `capabilities/0`, not this banner.
>
> [Report a divergence](https://github.com/DistortionPoint/dp-exchange-robinhood/issues).
Robinhood for the **DpExchange** family: market data, trading and streaming behind the
same facade every venue in the family exposes.
## Installation
```elixir
def deps do
[
{:dp_exchange_robinhood, "~> 0.1.0"}
]
end
```
## Usage
```elixir
# In your supervision tree. Nothing starts itself.
children = [{DpExchange.Robinhood, credentials: my_credentials()}]
{:ok, quote} = DpExchange.Robinhood.get_price("BTCUSD", [])
:ok = DpExchange.Robinhood.subscribe(["BTCUSD"], to: self())
```
`DpExchange.Robinhood` is the **entire public API**. Everything else — transport, signing,
session handling, supervision — is internal, and the conformance suite asserts it.
See [`dp_exchange_core`](https://hex.pm/packages/dp_exchange_core) for the contract, and
this package's `usage-rules.md` for what is specific to Robinhood.
## License
MIT. See [LICENSE](https://github.com/DistortionPoint/dp-exchange-robinhood/blob/main/LICENSE).