Documentation Index
Fetch the complete documentation index at: https://docs.roxom.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Level 1 quotes provide real-time best bid and ask prices with quantities for all supported trading pairs. Use this stream to display current market prices and spreads.Channel information
| Property | Value |
|---|---|
| Channel Name | level1 |
| Authentication | Required |
| Update Frequency | Real-time |
| Data Type | Current best bid and ask |
Subscribe to level 1 data
Response format
Level 1 order book data
Implementation examples
JavaScript level 1 handler
Python level 1 monitor
Use cases
Price Display
Price Display
Display current market prices in trading interfaces with real-time updates for best bid/ask prices and spreads.
Spread Monitoring
Spread Monitoring
Monitor spreads across symbols to identify arbitrage opportunities or liquidity conditions.
Market Making
Market Making
Use level 1 data to adjust market making strategies based on current spreads and market conditions.
Price Alerts
Price Alerts
Set up price alerts based on best bid/ask movements.
Performance considerations
Update Frequency
Update Frequency
Level 1 updates are real-time and can be high frequency during active trading periods. Consider throttling UI updates:
Memory Management
Memory Management
For long-running applications, manage memory by limiting quote history:
Error handling
Common Level 1 stream errors and solutions:Invalid Symbol
Invalid Symbol
Error: Subscription rejected for unknown trading pairSolution: Verify symbol format matches exactly:
US500-BTC, GOLD-BTC, USDT-BTCStale Data
Stale Data
Error: Quotes not updating or delayedSolution: Check connection health and implement staleness detection:
Connection Issues
Connection Issues
Error: Intermittent connection dropsSolution: Implement reconnection logic and quote cache validation
Next steps
- Learn about Trade Executions for real-time trade data
- Explore Order Book Depth for multi-level market data
- Review Connection Management for reliable streaming