pub struct FreeSpaceScore {
pub score: f64,
pub lvn_width_atr: f64,
pub distance_to_hvn_atr: f64,
pub volume_density: f64,
}Expand description
Quantitative version of “da ist nichts im Weg” (plan Anhang G.3). lvn_width_atr and
distance_to_hvn_atr are expected to already be ATR-normalized by the caller;
volume_density is the traded-volume share at the current price bucket (0.0..1.0, lower
= thinner / more “free space”).
Deliberately distinct from real-time order-book liquidity — this measures historical volume void / LVN, not current order-book liquidity (plan Anhang G.3: “keine Liquidität im Weg” clarification). The latter needs order-book data this crate does not have.
Fields§
§score: f640.0..100.0, higher = more free space ahead.
lvn_width_atr: f64§distance_to_hvn_atr: f64§volume_density: f64Trait Implementations§
Source§impl Clone for FreeSpaceScore
impl Clone for FreeSpaceScore
Source§fn clone(&self) -> FreeSpaceScore
fn clone(&self) -> FreeSpaceScore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FreeSpaceScore
Source§impl Debug for FreeSpaceScore
impl Debug for FreeSpaceScore
Source§impl<'de> Deserialize<'de> for FreeSpaceScore
impl<'de> Deserialize<'de> for FreeSpaceScore
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
Source§impl PartialEq for FreeSpaceScore
impl PartialEq for FreeSpaceScore
Source§impl Serialize for FreeSpaceScore
impl Serialize for FreeSpaceScore
impl StructuralPartialEq for FreeSpaceScore
Auto Trait Implementations§
impl Freeze for FreeSpaceScore
impl RefUnwindSafe for FreeSpaceScore
impl Send for FreeSpaceScore
impl Sync for FreeSpaceScore
impl Unpin for FreeSpaceScore
impl UnsafeUnpin for FreeSpaceScore
impl UnwindSafe for FreeSpaceScore
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