#[derive(Debug, Clone)]
pub struct Agg {
pub open: Option<f64>,
pub high: Option<f64>,
pub low: Option<f64>,
pub close: Option<f64>,
pub volume: Option<f64>,
pub vwap: Option<f64>,
pub timestamp: Option<i64>,
pub transactions: Option<i64>,
pub otc: Option<bool>,
}
#[derive(Debug, Clone)]
pub struct GroupedDailyAgg {
pub ticker: Option<String>,
pub open: Option<f64>,
pub high: Option<f64>,
pub low: Option<f64>,
pub close: Option<f64>,
pub volume: Option<f64>,
pub vwap: Option<f64>,
pub timestamp: Option<i64>,
pub transactions: Option<i64>,
pub otc: Option<bool>,
}
#[derive(Debug, Clone)]
pub struct DailyOpenCloseAgg {
pub after_hours: Option<f64>,
pub close: Option<f64>,
pub from: Option<String>,
pub high: Option<f64>,
pub low: Option<f64>,
pub open: Option<f64>,
pub pre_market: Option<f64>,
pub status: Option<String>,
pub symbol: Option<String>,
pub volume: Option<f64>,
pub otc: Option<bool>,
}
#[derive(Debug, Clone)]
pub struct PreviousCloseAgg {
pub ticker: Option<String>,
pub close: Option<f64>,
pub high: Option<f64>,
pub low: Option<f64>,
pub open: Option<f64>,
pub timestamp: Option<i64>,
pub volume: Option<f64>,
pub vwap: Option<f64>,
}
#[cfg(feature = "decoder")]
impl crate::query::Decodable for Agg {}
#[cfg(feature = "decoder")]
impl crate::query::Decodable for Vec<Agg> {}
#[cfg(feature = "decoder")]
impl crate::query::Decodable for GroupedDailyAgg {}
#[cfg(feature = "decoder")]
impl crate::query::Decodable for Vec<GroupedDailyAgg> {}
#[cfg(feature = "decoder")]
impl crate::query::Decodable for DailyOpenCloseAgg {}
#[cfg(feature = "decoder")]
impl crate::query::Decodable for PreviousCloseAgg {}
#[cfg(feature = "decoder")]
impl crate::query::Decodable for Vec<PreviousCloseAgg> {}