Shredder Exchange Data
Documents Shredder exchange and data configuration: Binance Spot testnet default, BINANCE_BASE_URL and BINANCE_USE_MAINNET env vars, BinanceAdapter, and MarketDataSource placeholder for Polygon or klines. Use when configuring credentials, switching mainnet, or implementing data ingestion.
Exchange and market data
Binance Spot (@shredder/exchanges)
- Default REST base: testnet
https://testnet.binance.vision (via resolveBinanceSpotBaseUrl).
- Override (precedence):
BinanceAdapterConfig.baseUrl → BINANCE_BASE_URL → BINANCE_USE_MAINNET=true → testnet.
- Constants:
BINANCE_SPOT_TESTNET_BASE_URL, BINANCE_SPOT_MAINNET_BASE_URL (exported from package).
Environment variables
| Variable | Effect |
|---|
BINANCE_API_KEY / BINANCE_API_SECRET | Not read by @shredder/exchanges. Suggested names for the app that constructs : pass the values as / in . |