Skip to main content

AdjustmentFactor

Struct AdjustmentFactor 

Source
pub struct AdjustmentFactor {
Show 28 fields pub security_id: String, pub event_id: String, pub event: Event, pub issuer_name: String, pub security_type: SecurityType, pub primary_exchange: Option<String>, pub exchange: Option<String>, pub operating_mic: String, pub symbol: Option<String>, pub nasdaq_symbol: Option<String>, pub local_code: Option<String>, pub local_code_resulting: Option<String>, pub isin: Option<String>, pub isin_resulting: Option<String>, pub us_code: Option<String>, pub status: AdjustmentStatus, pub ex_date: Date, pub factor: f64, pub close: Option<f64>, pub currency: Option<String>, pub sentiment: f64, pub reason: u32, pub gross_dividend: Option<f64>, pub dividend_currency: Option<Currency>, pub frequency: Option<Frequency>, pub option: u32, pub detail: String, pub ts_created: OffsetDateTime,
}
Available on crate feature historical only.
Expand description

A record in the adjustment factor response.

Fields§

§security_id: String

Security level numerical ID. Can be used to link all multiple listings together.

§event_id: String

Event identifier unique at the event level. Links to the corporate actions event_id.

§event: Event

The event type.

§issuer_name: String

The issuer name.

§security_type: SecurityType

The security type.

§primary_exchange: Option<String>

Exchange code for the primary security.

§exchange: Option<String>

Exchange code for the listing. Equivalent to the MIC but more stable as MIC might not be available in a timely fashion. Also note that the MIC can change but the exchange will remain the same.

§operating_mic: String

Market Identifier Code (MIC) as an ISO 10383 string.

§symbol: Option<String>

The query input symbol which matched the record.

§nasdaq_symbol: Option<String>

Nasdaq Integrated Platform Suffix convention symbol.

§local_code: Option<String>

Local Code. Usually unique at market level but there are exceptions to this rule. Either an alpha string, or a number.

§local_code_resulting: Option<String>

Resultant local code when applicable/known.

§isin: Option<String>

ISIN global level identifier as an ISO 6166 string.

§isin_resulting: Option<String>

Resultant ISIN when applicable/known.

§us_code: Option<String>

US domestic CUSIP.

§status: AdjustmentStatus

The adjustment status.

§ex_date: Date

Date from which the event is effective.

§factor: f64

Adjustment factor to apply.

§close: Option<f64>

Closing price on the ex_date.

§currency: Option<String>

Currency for the closing price.

§sentiment: f64

Market sentiment - the market’s reaction to the event. Simply the previous close divided by today’s open. Only correct if factor calculation requires previous close.

§reason: u32

Reason/type of event, used to distinguish between different event types.

§gross_dividend: Option<f64>

The amount of the dividend before any taxes or fees are deducted. This value represents the total dividend declared by the company.

§dividend_currency: Option<Currency>

The currency in which the dividend is paid.

§frequency: Option<Frequency>

The frequency at which the dividend is paid.

§option: u32

The choice or option number associated with the event, often used when shareholders are given multiple options for how they would like to receive the dividend or other corporate action benefit (either cash, or script).

§detail: String

A human-readable description of the event.

§ts_created: OffsetDateTime

The timestamp (UTC) the record was added by Databento.

Trait Implementations§

Source§

impl Clone for AdjustmentFactor

Source§

fn clone(&self) -> AdjustmentFactor

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 Debug for AdjustmentFactor

Source§

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

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

impl<'de> Deserialize<'de> for AdjustmentFactor

Source§

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 AdjustmentFactor

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for AdjustmentFactor

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> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,