#[repr(C)]pub enum MarketStatusAction {
Show 16 variants
None = 0,
PreOpen = 1,
PreCross = 2,
Quoting = 3,
Cross = 4,
Rotation = 5,
NewPriceIndication = 6,
Trading = 7,
Halt = 8,
Pause = 9,
Suspend = 10,
PreClose = 11,
Close = 12,
PostClose = 13,
ShortSellRestrictionChange = 14,
NotAvailableForTrading = 15,
}
Expand description
An action affecting the status of an individual market on a trading venue.
Variants§
None = 0
No change.
PreOpen = 1
The instrument is in a pre-open period.
PreCross = 2
The instrument is in a pre-cross period.
Quoting = 3
The instrument is quoting but not trading.
Cross = 4
The instrument is in a cross/auction.
Rotation = 5
The instrument is being opened through a trading rotation.
NewPriceIndication = 6
A new price indication is available for the instrument.
Trading = 7
The instrument is trading.
Halt = 8
Trading in the instrument has been halted.
Pause = 9
Trading in the instrument has been paused.
Suspend = 10
Trading in the instrument has been suspended.
PreClose = 11
The instrument is in a pre-close period.
Close = 12
Trading in the instrument has closed.
PostClose = 13
The instrument is in a post-close period.
ShortSellRestrictionChange = 14
A change in short-selling restrictions.
NotAvailableForTrading = 15
The instrument is not available for trading, either trading has closed or been halted.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for MarketStatusAction
impl AsRef<str> for MarketStatusAction
Source§impl Clone for MarketStatusAction
impl Clone for MarketStatusAction
Source§fn clone(&self) -> MarketStatusAction
fn clone(&self) -> MarketStatusAction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MarketStatusAction
impl Debug for MarketStatusAction
Source§impl<'de> Deserialize<'de> for MarketStatusAction
impl<'de> Deserialize<'de> for MarketStatusAction
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>,
Source§impl Display for MarketStatusAction
impl Display for MarketStatusAction
Source§impl FromStr for MarketStatusAction
impl FromStr for MarketStatusAction
Source§impl FromU16 for MarketStatusAction
impl FromU16 for MarketStatusAction
Convert the given value
to an OrderSide
.
Source§impl Hash for MarketStatusAction
impl Hash for MarketStatusAction
Source§impl IntoEnumIterator for MarketStatusAction
impl IntoEnumIterator for MarketStatusAction
type Iterator = MarketStatusActionIter
fn iter() -> MarketStatusActionIter ⓘ
Source§impl IntoPy<Py<PyAny>> for MarketStatusAction
impl IntoPy<Py<PyAny>> for MarketStatusAction
Source§impl Ord for MarketStatusAction
impl Ord for MarketStatusAction
Source§fn cmp(&self, other: &MarketStatusAction) -> Ordering
fn cmp(&self, other: &MarketStatusAction) -> 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 MarketStatusAction
impl PartialEq for MarketStatusAction
Source§impl PartialOrd for MarketStatusAction
impl PartialOrd for MarketStatusAction
Source§impl PyClass for MarketStatusAction
impl PyClass for MarketStatusAction
Source§impl PyClassImpl for MarketStatusAction
impl PyClassImpl for MarketStatusAction
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§type ThreadChecker = SendablePyClass<MarketStatusAction>
type ThreadChecker = SendablePyClass<MarketStatusAction>
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<MarketStatusAction> for PyClassImplCollector<MarketStatusAction>
impl PyClassNewTextSignature<MarketStatusAction> for PyClassImplCollector<MarketStatusAction>
fn new_text_signature(self) -> Option<&'static str>
Source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a MarketStatusAction
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a MarketStatusAction
Source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut MarketStatusAction
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut MarketStatusAction
Source§impl PyMethods<MarketStatusAction> for PyClassImplCollector<MarketStatusAction>
impl PyMethods<MarketStatusAction> for PyClassImplCollector<MarketStatusAction>
fn py_methods(self) -> &'static PyClassItems
Source§impl PyTypeInfo for MarketStatusAction
impl PyTypeInfo for MarketStatusAction
Source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
§fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
§fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool
fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool
object
is an instance of this type or a subclass of this type.§fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool
fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool
object
is an instance of this type.Source§impl Serialize for MarketStatusAction
impl Serialize for MarketStatusAction
Source§impl TryFrom<&str> for MarketStatusAction
impl TryFrom<&str> for MarketStatusAction
impl Copy for MarketStatusAction
impl Eq for MarketStatusAction
impl StructuralPartialEq for MarketStatusAction
Auto Trait Implementations§
impl Freeze for MarketStatusAction
impl RefUnwindSafe for MarketStatusAction
impl Send for MarketStatusAction
impl Sync for MarketStatusAction
impl Unpin for MarketStatusAction
impl UnwindSafe for MarketStatusAction
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> FromPyObject<'_> for Twhere
T: PyClass + Clone,
impl<T> FromPyObject<'_> for Twhere
T: PyClass + Clone,
§fn extract_bound(obj: &Bound<'_, PyAny>) -> Result<T, PyErr>
fn extract_bound(obj: &Bound<'_, PyAny>) -> Result<T, PyErr>
§impl<'py, T> FromPyObjectBound<'_, 'py> for Twhere
T: FromPyObject<'py>,
impl<'py, T> FromPyObjectBound<'_, 'py> for Twhere
T: FromPyObject<'py>,
§fn from_py_object_bound(ob: Borrowed<'_, 'py, PyAny>) -> Result<T, PyErr>
fn from_py_object_bound(ob: Borrowed<'_, 'py, PyAny>) -> Result<T, PyErr>
§impl<T> PyErrArguments for T
impl<T> PyErrArguments for T
§impl<T> PyTypeCheck for Twhere
T: PyTypeInfo,
impl<T> PyTypeCheck for Twhere
T: PyTypeInfo,
Source§impl<T> Separable for Twhere
T: Display,
impl<T> Separable for Twhere
T: Display,
Source§fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
SeparatorPolicy
. Read more