rangebar-cli
Command-line tools for range bar processing, analysis, and validation.
Overview
rangebar-cli consolidates all command-line binaries for the rangebar workspace. Provides tools for symbol discovery, data validation, batch analysis, benchmarking, and temporal validation.
Available Tools (6 binaries)
tier1-symbol-discovery
Discover Tier-1 cryptocurrency symbols across Binance markets:
# Comprehensive output with market matrix
# Minimal output (symbols only)
Output: 18 Tier-1 symbols available across spot, UM futures, and CM futures markets.
data-structure-validator
Validate Binance aggTrades data structure across markets:
# Validate all Tier-1 symbols across spot/um/cm markets
# Validate specific markets
# Custom date range
Features:
- Cross-market schema detection (spot vs futures differences)
- Timestamp precision validation (16-digit μs vs 13-digit ms)
- SHA256 checksum verification (optional)
- Parallel processing with configurable workers
rangebar-analyze
Parallel Tier-1 batch analysis (formerly parallel-tier1-analysis):
# Analyze with default settings
# Multi-symbol parallel analysis
Features:
- Multi-symbol parallel analysis using Rayon
- Comprehensive statistics generation
- JSON output with analysis reports
spot-tier1-processor
Batch processor for all Tier-1 spot symbols:
# Process all 18 Tier-1 symbols in parallel
# Custom parallelism
Features:
- Parallel execution using Rayon (default: 8 workers)
- Comprehensive execution statistics
- JSON metadata with symbol performance rankings
- Automatic output file naming
polars-benchmark
Benchmark Polars integration performance:
Tests:
- Parquet export (70%+ compression target)
- Arrow IPC export (zero-copy Python)
- Streaming CSV export (2x-5x speedup target)
- General Polars performance
temporal-integrity-validator
Validate temporal integrity of range bar data:
Validates:
- Monotonic timestamp ordering
- DataFrame operation safety
- Export readiness without round-trip conversion
Tool Categories
Discovery & Validation
tier1-symbol-discovery- Symbol discoverydata-structure-validator- Data validationtemporal-integrity-validator- Temporal validation
Processing & Analysis
rangebar-analyze- Parallel batch analysisspot-tier1-processor- Batch Tier-1 processing
Benchmarking
polars-benchmark- Performance benchmarks
Common Flags
All tools support standard flags:
Dependencies
rangebar-cli uses all workspace crates:
- rangebar-core - Core algorithm
- rangebar-providers - Data providers
- rangebar-config - Configuration
- rangebar-io - Export formats
- rangebar-streaming - Streaming processing
- rangebar-batch - Batch processing
Version
Current version: 6.1.0 (modular crate architecture with checkpoint system)
Documentation
- Architecture:
/docs/ARCHITECTURE.md - Algorithm spec:
/docs/specifications/algorithm-spec.md - Each tool has comprehensive
--helpdocumentation
License
See LICENSE file in the repository root.