stocks_api/chart.rs
1#[derive(Clone, Debug)]
2pub struct QuoteIndicator {
3 pub volume: Vec<Option<u64>>,
4 pub low: Vec<Option<f64>>,
5 pub high: Vec<Option<f64>>,
6 pub open: Vec<Option<f64>>,
7 pub close: Vec<Option<f64>>,
8}
9
10#[derive(Clone, Debug)]
11pub struct Chart {
12 pub timestamps: Vec<u64>,
13 pub indicators: Vec<QuoteIndicator>,
14}