pub struct CapLossMvrvNetPriceProfitSoprPattern {
pub cap: CentsDeltaUsdPattern,
pub loss: BlockCumulativeNegativeSumPattern,
pub mvrv: SeriesPattern1<StoredF32>,
pub net_pnl: BlockCumulativeDeltaSumPattern,
pub price: BpsCentsRatioSatsUsdPattern,
pub profit: BlockCumulativeSumPattern,
pub sopr: RatioValuePattern,
}Expand description
Pattern struct for repeated tree structure.
Fields§
§cap: CentsDeltaUsdPattern§loss: BlockCumulativeNegativeSumPattern§mvrv: SeriesPattern1<StoredF32>§net_pnl: BlockCumulativeDeltaSumPattern§price: BpsCentsRatioSatsUsdPattern§profit: BlockCumulativeSumPattern§sopr: RatioValuePatternImplementations§
Source§impl CapLossMvrvNetPriceProfitSoprPattern
impl CapLossMvrvNetPriceProfitSoprPattern
Sourcepub fn new(client: Arc<BrkClientBase>, acc: String) -> Self
pub fn new(client: Arc<BrkClientBase>, acc: String) -> Self
Create a new pattern node with accumulated series name.
Auto Trait Implementations§
impl Freeze for CapLossMvrvNetPriceProfitSoprPattern
impl !RefUnwindSafe for CapLossMvrvNetPriceProfitSoprPattern
impl Send for CapLossMvrvNetPriceProfitSoprPattern
impl Sync for CapLossMvrvNetPriceProfitSoprPattern
impl Unpin for CapLossMvrvNetPriceProfitSoprPattern
impl UnsafeUnpin for CapLossMvrvNetPriceProfitSoprPattern
impl !UnwindSafe for CapLossMvrvNetPriceProfitSoprPattern
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more