3edf2d9ece
- Create README.md for paracas-daemon and paracas-estimate
- Add #![doc = include_str!("../README.md")] to daemon/estimate lib.rs
- Add missing Cargo.toml metadata (docs.rs, authors, keywords, categories)
- Reorder workspace dependencies by line length per style guide
- Document background jobs, download-all, status, and job commands
paracas-estimate
Download size and time estimation for the paracas tick data downloader.
Features
- Historical size estimates per instrument category
- Download time estimation based on data volume
- Confidence levels for estimates
Types
EstimateDatabase- Database of historical size estimates per categoryCategoryEstimate- Size estimates for a single categoryEstimator- Computes download estimates for instruments and date rangesDownloadEstimate- Estimated download metricsEstimateConfidence- Confidence level of the estimate
Usage
use paracas_estimate::{Estimator, EstimateDatabase};
use paracas_types::{Category, DateRange};
// Create an estimator with the default database
let db = EstimateDatabase::default();
let estimator = Estimator::new(&db);
// Estimate download for a date range
let range = DateRange::new(start, end)?;
let estimate = estimator.estimate(Category::Forex, &range);
println!("Estimated size: {} bytes", estimate.size_bytes);
println!("Confidence: {:?}", estimate.confidence);
License
MIT License - see LICENSE for details.