pub trait Candle {
// Required methods
fn open_price(&self) -> f64;
fn high_price(&self) -> f64;
fn low_price(&self) -> f64;
fn close_price(&self) -> f64;
fn tot_exec_volume(&self) -> u64;
fn epoch_time(&self) -> u128;
}pub trait Candle {
// Required methods
fn open_price(&self) -> f64;
fn high_price(&self) -> f64;
fn low_price(&self) -> f64;
fn close_price(&self) -> f64;
fn tot_exec_volume(&self) -> u64;
fn epoch_time(&self) -> u128;
}