| Crates.io | paracas-estimate |
| lib.rs | paracas-estimate |
| version | 0.3.1 |
| created_at | 2025-12-29 22:15:45.787803+00 |
| updated_at | 2025-12-29 23:04:38.454055+00 |
| description | Download size and time estimation for paracas tick data downloader |
| homepage | https://github.com/factordynamics/paracas |
| repository | https://github.com/factordynamics/paracas |
| max_upload_size | |
| id | 2011577 |
| size | 35,024 |
Download size and time estimation for the paracas tick data downloader.
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 estimateuse 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);
MIT License - see LICENSE for details.