pub struct MacdParams {
pub fast_period: usize,
pub slow_period: usize,
pub signal_period: usize,
pub column: PriceColumn,
}Fields§
§fast_period: usizeFast EMA period. Python default: 12.
slow_period: usizeSlow EMA period. Python default: 26.
signal_period: usizeSignal line period. Python default: 9.
column: PriceColumnPrice field. Python default: "close".
Trait Implementations§
Source§impl Clone for MacdParams
impl Clone for MacdParams
Source§fn clone(&self) -> MacdParams
fn clone(&self) -> MacdParams
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 MacdParams
impl Debug for MacdParams
Auto Trait Implementations§
impl Freeze for MacdParams
impl RefUnwindSafe for MacdParams
impl Send for MacdParams
impl Sync for MacdParams
impl Unpin for MacdParams
impl UnsafeUnpin for MacdParams
impl UnwindSafe for MacdParams
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