Spaces:
Sleeping
Sleeping
|
Download docs/integrations/PROVIDER_COMPARISON.md from deveshc23/drift-quant: direct link, hf CLI and curl.
- Browser
- Download file 1.98 kB
-
https://huggingface.co/spaces/deveshc23/drift-quant/resolve/main/docs/integrations/PROVIDER_COMPARISON.md
- Command line
-
hf download hf://spaces/deveshc23/drift-quant/docs/integrations/PROVIDER_COMPARISON.md
-
curl -L -o PROVIDER_COMPARISON.md https://huggingface.co/spaces/deveshc23/drift-quant/resolve/main/docs/integrations/PROVIDER_COMPARISON.md
1.98 kB
| # Provider Comparison | |
| | Criterion | Alpaca | Polygon.io | Interactive Brokers | | |
| | --- | --- | --- | --- | | |
| | Primary fit | Integrated US paper trading plus data candidate | Market-data-focused candidate | Broad multi-asset broker candidate | | |
| | Interfaces documented | REST/WebSocket | REST/WebSocket/flat files | Local socket API through TWS or IB Gateway | | |
| | Paper/sandbox | Paper trading is documented | Not an execution provider | Paper account is documented | | |
| | Initial implementation priority | Evaluate first for paper workflow | Evaluate as independent data source | Defer due to operational gateway/session complexity | | |
| | Key constraint | Paper simulation omits material live effects; plan governs feed/history access | Entitlements, commercial rights, and terms need procurement review | Requires TWS/IB Gateway/session operations and account-specific data entitlements | | |
| | Verification state | Docs only | Docs only | Docs only | | |
| ## Provisional selection logic | |
| For the first external proof of integration, choose one provider only after the user supplies jurisdiction, permitted use, data requirements, budget, and account eligibility. Alpaca is the provisional paper-trading research candidate because the official documentation clearly separates paper credentials and endpoint. This is not a production recommendation. Polygon is a plausible independent data candidate. Interactive Brokers is reserved for a future, separately designed adapter. | |
| ## Mandatory adapter acceptance checks | |
| 1. Configuration validation rejects missing credentials without revealing values. | |
| 2. Read-only account/data health check succeeds with approved non-production credentials. | |
| 3. Schema normalization, timestamp conversion, rate-limit handling, and error mapping have contract tests. | |
| 4. Broker order flow is paper-only and uses client-order ID, status lookup, cancellation, and reconciliation tests. | |
| 5. Legal, terms, exchange entitlement, retention, and redistribution review is recorded. | |