pub struct OhlcvWindowConfig {
pub lookback: usize,
pub horizon: usize,
pub stride: usize,
}Expand description
Window shape; targets are the immediately following future close prices.
Fields§
§lookback: usizeNumber of history candles per input.
horizon: usizeNumber of future closes per label.
stride: usizeAdvance between consecutive window starts.
Trait Implementations§
Source§impl Clone for OhlcvWindowConfig
impl Clone for OhlcvWindowConfig
impl Copy for OhlcvWindowConfig
Auto Trait Implementations§
impl Forget for OhlcvWindowConfig
impl Freeze for OhlcvWindowConfig
impl Move for OhlcvWindowConfig
impl RefUnwindSafe for OhlcvWindowConfig
impl Send for OhlcvWindowConfig
impl Sync for OhlcvWindowConfig
impl Unpin for OhlcvWindowConfig
impl UnsafeUnpin for OhlcvWindowConfig
impl UnwindSafe for OhlcvWindowConfig
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