chore: sync submodule state (parent ref update)
Made-with: Cursor
This commit is contained in:
@@ -470,6 +470,39 @@ graph TD
|
||||
|
||||
For detailed recommendations, see [RECOMMENDATIONS.md](./RECOMMENDATIONS.md).
|
||||
|
||||
## Exchange Integrations
|
||||
|
||||
### Crypto.com OTC 2.0 API
|
||||
|
||||
The DBIS Core includes integration with the [Crypto.com Exchange OTC 2.0 REST/WebSocket API](https://exchange-docs.crypto.com/exchange/v1/rest-ws/index_OTC2.html) for institutional OTC trading.
|
||||
|
||||
**Module Location:** `src/core/exchange/crypto-com-otc/`
|
||||
|
||||
**API Base Path:** `/api/v1/crypto-com-otc`
|
||||
|
||||
**Features:**
|
||||
- Request-for-Quote (RFQ) via WebSocket
|
||||
- Deal execution
|
||||
- FX price provider integration (FxService.getMarketPrice uses OTC when available)
|
||||
- Settle-later limit and unsettled amount tracking
|
||||
- Deal persistence to `otc_trades` table
|
||||
- Rate limiting (1 req/s REST, 2 req/s WebSocket)
|
||||
- Retry with exponential backoff
|
||||
|
||||
**Environment Variables:** `CRYPTO_COM_API_KEY`, `CRYPTO_COM_API_SECRET`, `CRYPTO_COM_ENVIRONMENT` (optional)
|
||||
|
||||
**Documentation:** [Crypto.com OTC Module README](../src/core/exchange/crypto-com-otc/README.md) | [DBIS Core API Reference](../../docs/11-references/DBIS_CORE_API_REFERENCE.md)
|
||||
|
||||
### Exchange Registry API
|
||||
|
||||
**Base Path:** `/api/v1/exchange`
|
||||
|
||||
Multi-exchange price aggregation with fallback. Providers: Binance, Kraken (public), Oanda, FXCM (optional API keys).
|
||||
|
||||
**Endpoints:** `GET /price?pair=BTC/USD`, `GET /providers`
|
||||
|
||||
**Location:** `src/core/exchange/exchange-registry.service.ts`, `exchange.routes.ts`
|
||||
|
||||
---
|
||||
|
||||
## Related Documentation
|
||||
|
||||
Reference in New Issue
Block a user