pub struct MultiTimeframeData {
pub base_candles: Vec<Candle>,
pub htf_candles: Vec<Candle>,
pub multiplier: u32,
}Expand description
Aggregated multi-timeframe data: holds candles and indicators for both the base timeframe and a higher timeframe.
Fields§
§base_candles: Vec<Candle>Original (lower) timeframe candles.
htf_candles: Vec<Candle>Aggregated higher-timeframe candles.
multiplier: u32Multiplier used (e.g. 4 means “4x the base interval”).
Trait Implementations§
Source§impl Clone for MultiTimeframeData
impl Clone for MultiTimeframeData
Source§fn clone(&self) -> MultiTimeframeData
fn clone(&self) -> MultiTimeframeData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MultiTimeframeData
impl Debug for MultiTimeframeData
Source§impl<'de> Deserialize<'de> for MultiTimeframeData
impl<'de> Deserialize<'de> for MultiTimeframeData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MultiTimeframeData
impl RefUnwindSafe for MultiTimeframeData
impl Send for MultiTimeframeData
impl Sync for MultiTimeframeData
impl Unpin for MultiTimeframeData
impl UnsafeUnpin for MultiTimeframeData
impl UnwindSafe for MultiTimeframeData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more