#[non_exhaustive]#[repr(u16)]pub enum StatusReason {
Show 34 variants
None = 0,
Scheduled = 1,
SurveillanceIntervention = 2,
MarketEvent = 3,
InstrumentActivation = 4,
InstrumentExpiration = 5,
RecoveryInProcess = 6,
Regulatory = 10,
Administrative = 11,
NonCompliance = 12,
FilingsNotCurrent = 13,
SecTradingSuspension = 14,
NewIssue = 15,
IssueAvailable = 16,
IssuesReviewed = 17,
FilingReqsSatisfied = 18,
NewsPending = 30,
NewsReleased = 31,
NewsAndResumptionTimes = 32,
NewsNotForthcoming = 33,
OrderImbalance = 40,
LuldPause = 50,
Operational = 60,
AdditionalInformationRequested = 70,
MergerEffective = 80,
Etf = 90,
CorporateAction = 100,
NewSecurityOffering = 110,
MarketWideHaltLevel1 = 120,
MarketWideHaltLevel2 = 121,
MarketWideHaltLevel3 = 122,
MarketWideHaltCarryover = 123,
MarketWideHaltResumption = 124,
QuotationNotAvailable = 130,
}Expand description
The secondary enum for a StatusMsg update, explains
the cause of a halt or other change in action.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
None = 0
No reason is given.
Scheduled = 1
The change in status occurred as scheduled.
SurveillanceIntervention = 2
The instrument stopped due to a market surveillance intervention.
MarketEvent = 3
The status changed due to activity in the market.
InstrumentActivation = 4
The derivative instrument began trading.
InstrumentExpiration = 5
The derivative instrument expired.
RecoveryInProcess = 6
Recovery in progress.
Regulatory = 10
The status change was caused by a regulatory action.
Administrative = 11
The status change was caused by an administrative action.
NonCompliance = 12
The status change was caused by the issuer not being compliance with regulatory requirements.
FilingsNotCurrent = 13
Trading halted because the issuer’s filings are not current.
SecTradingSuspension = 14
Trading halted due to an SEC trading suspension.
NewIssue = 15
The status changed because a new issue is available.
IssueAvailable = 16
The status changed because an issue is available.
IssuesReviewed = 17
The status changed because the issue(s) were reviewed.
FilingReqsSatisfied = 18
The status changed because the filing requirements were satisfied.
NewsPending = 30
Relevant news is pending.
NewsReleased = 31
Relevant news was released.
NewsAndResumptionTimes = 32
The news has been fully disseminated and times are available for the resumption in quoting and trading.
NewsNotForthcoming = 33
The relevant news was not forthcoming.
OrderImbalance = 40
Halted for order imbalance.
LuldPause = 50
The instrument hit limit up or limit down.
Operational = 60
An operational issue occurred with the venue.
AdditionalInformationRequested = 70
The status changed until the exchange receives additional information.
MergerEffective = 80
Trading halted due to merger becoming effective.
Etf = 90
Trading is halted in an ETF due to conditions with the component securities.
CorporateAction = 100
Trading is halted for a corporate action.
NewSecurityOffering = 110
Trading is halted because the instrument is a new offering.
MarketWideHaltLevel1 = 120
Halted due to the market-wide circuit breaker level 1.
MarketWideHaltLevel2 = 121
Halted due to the market-wide circuit breaker level 2.
MarketWideHaltLevel3 = 122
Halted due to the market-wide circuit breaker level 3.
MarketWideHaltCarryover = 123
Halted due to the carryover of a market-wide circuit breaker from the previous trading day.
MarketWideHaltResumption = 124
Resumption due to the end of a market-wide circuit breaker halt.
QuotationNotAvailable = 130
Halted because quotation is not available.
Trait Implementations§
Source§impl Clone for StatusReason
impl Clone for StatusReason
Source§fn clone(&self) -> StatusReason
fn clone(&self) -> StatusReason
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StatusReason
impl Debug for StatusReason
Source§impl Default for StatusReason
impl Default for StatusReason
Source§fn default() -> StatusReason
fn default() -> StatusReason
Source§impl From<StatusReason> for u16
impl From<StatusReason> for u16
Source§fn from(enum_value: StatusReason) -> Self
fn from(enum_value: StatusReason) -> Self
Source§impl Hash for StatusReason
impl Hash for StatusReason
Source§impl IntoEnumIterator for StatusReason
impl IntoEnumIterator for StatusReason
type Iterator = StatusReasonIter
fn iter() -> StatusReasonIter ⓘ
Source§impl<'py> IntoPyObject<'py> for StatusReason
impl<'py> IntoPyObject<'py> for StatusReason
Source§type Target = StatusReason
type Target = StatusReason
Source§type Output = Bound<'py, <StatusReason as IntoPyObject<'py>>::Target>
type Output = Bound<'py, <StatusReason as IntoPyObject<'py>>::Target>
Source§fn into_pyobject(
self,
py: Python<'py>,
) -> Result<<Self as IntoPyObject<'_>>::Output, <Self as IntoPyObject<'_>>::Error>
fn into_pyobject( self, py: Python<'py>, ) -> Result<<Self as IntoPyObject<'_>>::Output, <Self as IntoPyObject<'_>>::Error>
Source§impl Ord for StatusReason
impl Ord for StatusReason
Source§fn cmp(&self, other: &StatusReason) -> Ordering
fn cmp(&self, other: &StatusReason) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for StatusReason
impl PartialEq for StatusReason
Source§impl PartialOrd for StatusReason
impl PartialOrd for StatusReason
Source§impl PyClass for StatusReason
impl PyClass for StatusReason
Source§impl PyClassImpl for StatusReason
impl PyClassImpl for StatusReason
Source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
Source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
Source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
Source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
Source§const IS_IMMUTABLE_TYPE: bool = false
const IS_IMMUTABLE_TYPE: bool = false
Source§type ThreadChecker = SendablePyClass<StatusReason>
type ThreadChecker = SendablePyClass<StatusReason>
Source§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Source§type BaseNativeType = PyAny
type BaseNativeType = PyAny
PyAny by default, and when you declare
#[pyclass(extends=PyDict)], it’s PyDict.fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
Source§impl PyClassNewTextSignature<StatusReason> for PyClassImplCollector<StatusReason>
Available on crate feature python only.
impl PyClassNewTextSignature<StatusReason> for PyClassImplCollector<StatusReason>
python only.fn new_text_signature(self) -> Option<&'static str>
Source§impl PyClass__eq__SlotFragment<StatusReason> for PyClassImplCollector<StatusReason>
Available on crate feature python only.
impl PyClass__eq__SlotFragment<StatusReason> for PyClassImplCollector<StatusReason>
python only.Source§impl<'a, 'py> PyFunctionArgument<'a, 'py, false> for &'a StatusReason
impl<'a, 'py> PyFunctionArgument<'a, 'py, false> for &'a StatusReason
Source§impl<'a, 'py> PyFunctionArgument<'a, 'py, false> for &'a mut StatusReason
impl<'a, 'py> PyFunctionArgument<'a, 'py, false> for &'a mut StatusReason
Source§impl PyMethods<StatusReason> for PyClassImplCollector<StatusReason>
Available on crate feature python only.
impl PyMethods<StatusReason> for PyClassImplCollector<StatusReason>
python only.fn py_methods(self) -> &'static PyClassItems
Source§impl PyTypeInfo for StatusReason
impl PyTypeInfo for StatusReason
Source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Source§fn type_object(py: Python<'_>) -> Bound<'_, PyType>
fn type_object(py: Python<'_>) -> Bound<'_, PyType>
Source§impl TryFrom<u16> for StatusReason
impl TryFrom<u16> for StatusReason
Source§type Error = TryFromPrimitiveError<StatusReason>
type Error = TryFromPrimitiveError<StatusReason>
Source§impl TryFromPrimitive for StatusReason
impl TryFromPrimitive for StatusReason
const NAME: &'static str = "StatusReason"
type Primitive = u16
type Error = TryFromPrimitiveError<StatusReason>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for StatusReason
impl Eq for StatusReason
impl StructuralPartialEq for StatusReason
Auto Trait Implementations§
impl Freeze for StatusReason
impl RefUnwindSafe for StatusReason
impl Send for StatusReason
impl Sync for StatusReason
impl Unpin for StatusReason
impl UnwindSafe for StatusReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromPyObject<'_> for T
impl<T> FromPyObject<'_> for T
Source§impl<'py, T> FromPyObjectBound<'_, 'py> for Twhere
T: FromPyObject<'py>,
impl<'py, T> FromPyObjectBound<'_, 'py> for Twhere
T: FromPyObject<'py>,
Source§impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
Source§fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
self into an owned Python object, dropping type information.