pub struct SessionProfile {
pub low: i32,
pub high: i32,
pub poc: i32,
pub max_count: u32,
pub tpos: u32,
pub value_area: (i32, i32),
pub initial_balance: Option<(i32, i32)>,
}Expand description
The profile of one session, in levels (see PriceLevels).
Fields§
§low: i32Lowest and highest level traded.
high: i32Highest level traded.
poc: i32Point of control: the level with the most TPOs.
max_count: u32TPOs at the point of control (the most at any level).
tpos: u32TPOs of the session.
value_area: (i32, i32)Value area, lowest and highest level.
initial_balance: Option<(i32, i32)>Range of the first two periods; None if neither traded.
Trait Implementations§
Source§impl Clone for SessionProfile
impl Clone for SessionProfile
impl Copy for SessionProfile
Source§impl Debug for SessionProfile
impl Debug for SessionProfile
Source§impl Default for SessionProfile
impl Default for SessionProfile
impl Eq for SessionProfile
Source§impl PartialEq for SessionProfile
impl PartialEq for SessionProfile
impl StructuralPartialEq for SessionProfile
Auto Trait Implementations§
impl Forget for SessionProfile
impl Freeze for SessionProfile
impl Move for SessionProfile
impl RefUnwindSafe for SessionProfile
impl Send for SessionProfile
impl Sync for SessionProfile
impl Unpin for SessionProfile
impl UnsafeUnpin for SessionProfile
impl UnwindSafe for SessionProfile
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.