Skip to main content

OptionFlowSnapshot

Struct OptionFlowSnapshot 

Source
pub struct OptionFlowSnapshot { /* private fields */ }
Expand description

Option flow snapshot.

Implementations§

Source§

impl OptionFlowSnapshot

Source

pub const fn call_volume(&self) -> i64

Returns call volume.

Source

pub const fn put_volume(&self) -> i64

Returns put volume.

Source

pub const fn call_open_interest(&self) -> i64

Returns call open interest.

Source

pub const fn put_open_interest(&self) -> i64

Returns put open interest.

Source

pub const fn call_premium(&self) -> i128

Returns call premium.

Source

pub const fn put_premium(&self) -> i128

Returns put premium.

Source

pub const fn put_call_volume_ratio_bps(&self) -> u32

Returns put/call volume ratio scaled by 10,000.

Source

pub const fn put_call_open_interest_ratio_bps(&self) -> u32

Returns put/call open-interest ratio scaled by 10,000.

Source

pub const fn put_call_premium_ratio_bps(&self) -> u32

Returns put/call premium ratio scaled by 10,000.

Source

pub const fn volume_open_interest_anomaly_bps(&self) -> u32

Returns aggregate volume/open-interest anomaly ratio.

Source

pub const fn implied_vol_flow_bps(&self) -> u32

Returns premium-weighted implied-volatility flow in basis points.

Source

pub const fn net_gamma_exposure(&self) -> i128

Returns net gamma exposure.

Source

pub const fn put_call_pressure_bps(&self) -> i32

Returns put-minus-call directional pressure in basis points.

Trait Implementations§

Source§

impl Clone for OptionFlowSnapshot

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for OptionFlowSnapshot

Source§

impl Debug for OptionFlowSnapshot

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for OptionFlowSnapshot

Source§

impl PartialEq for OptionFlowSnapshot

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for OptionFlowSnapshot

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.