Skip to main content

Venue

Enum Venue 

Source
#[non_exhaustive]
#[repr(u16)]
pub enum Venue {
Show 53 variants Glbx = 1, Xnas = 2, Xbos = 3, Xpsx = 4, Bats = 5, Baty = 6, Edga = 7, Edgx = 8, Xnys = 9, Xcis = 10, Xase = 11, Arcx = 12, Xchi = 13, Iexg = 14, Finn = 15, Finc = 16, Finy = 17, Memx = 18, Eprl = 19, Amxo = 20, Xbox = 21, Xcbo = 22, Emld = 23, Edgo = 24, Gmni = 25, Xisx = 26, Mcry = 27, Xmio = 28, Arco = 29, Opra = 30, Mprl = 31, Xndq = 32, Xbxo = 33, C2Ox = 34, Xphl = 35, Bato = 36, Mxop = 37, Ifeu = 38, Ndex = 39, Dbeq = 40, Sphr = 41, Ltse = 42, Xoff = 43, Aspn = 44, Asmt = 45, Aspi = 46, Equs = 47, Ifus = 48, Ifll = 49, Xeur = 50, Xeee = 51, Xcbf = 52, Ocea = 53,
}
Expand description

A trading execution venue.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Glbx = 1

CME Globex

§

Xnas = 2

Nasdaq - All Markets

§

Xbos = 3

Nasdaq OMX BX

§

Xpsx = 4

Nasdaq OMX PSX

§

Bats = 5

Cboe BZX U.S. Equities Exchange

§

Baty = 6

Cboe BYX U.S. Equities Exchange

§

Edga = 7

Cboe EDGA U.S. Equities Exchange

§

Edgx = 8

Cboe EDGX U.S. Equities Exchange

§

Xnys = 9

New York Stock Exchange, Inc.

§

Xcis = 10

NYSE National, Inc.

§

Xase = 11

NYSE MKT LLC

§

Arcx = 12

NYSE Arca

§

Xchi = 13

NYSE Texas, Inc.

§

Iexg = 14

Investors Exchange

§

Finn = 15

FINRA/Nasdaq TRF Carteret

§

Finc = 16

FINRA/Nasdaq TRF Chicago

§

Finy = 17

FINRA/NYSE TRF

§

Memx = 18

MEMX LLC Equities

§

Eprl = 19

MIAX Pearl Equities

§

Amxo = 20

NYSE American Options

§

Xbox = 21

BOX Options

§

Xcbo = 22

Cboe Options

§

Emld = 23

MIAX Emerald

§

Edgo = 24

Cboe EDGX Options

§

Gmni = 25

Nasdaq GEMX

§

Xisx = 26

Nasdaq ISE

§

Mcry = 27

Nasdaq MRX

§

Xmio = 28

MIAX Options

§

Arco = 29

NYSE Arca Options

§

Opra = 30

Options Price Reporting Authority

§

Mprl = 31

MIAX Pearl

§

Xndq = 32

Nasdaq Options

§

Xbxo = 33

Nasdaq Texas Options

§

C2Ox = 34

Cboe C2 Options

§

Xphl = 35

Nasdaq PHLX

§

Bato = 36

Cboe BZX Options

§

Mxop = 37

MEMX Options

§

Ifeu = 38

ICE Europe Commodities

§

Ndex = 39

ICE Endex

§

Dbeq = 40

Databento US Equities - Consolidated

§

Sphr = 41

MIAX Sapphire

§

Ltse = 42

Long-Term Stock Exchange, Inc.

§

Xoff = 43

Off-Exchange Transactions - Listed Instruments

§

Aspn = 44

IntelligentCross ASPEN Intelligent Bid/Offer

§

Asmt = 45

IntelligentCross ASPEN Maker/Taker

§

Aspi = 46

IntelligentCross ASPEN Inverted

§

Equs = 47

Databento US Equities - Consolidated

§

Ifus = 48

ICE Futures US

§

Ifll = 49

ICE Europe Financials

§

Xeur = 50

Eurex Exchange

§

Xeee = 51

European Energy Exchange

§

Xcbf = 52

Cboe Futures Exchange

§

Ocea = 53

Blue Ocean ATS

Implementations§

Source§

impl Venue

Source

pub const fn as_str(&self) -> &'static str

Converts the venue to its str representation.

Trait Implementations§

Source§

impl AsRef<str> for Venue

Source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Clone for Venue

Source§

fn clone(&self) -> Venue

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Venue

Source§

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

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

impl<'de> Deserialize<'de> for Venue

Available on crate feature serde only.
Source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for Venue

Source§

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

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

impl From<Venue> for u16

Source§

fn from(enum_value: Venue) -> Self

Converts to this type from the input type.
Source§

impl FromStr for Venue

Source§

type Err = Error

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for Venue

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for Venue

Source§

fn cmp(&self, other: &Venue) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for Venue

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · 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 PartialOrd for Venue

Source§

fn partial_cmp(&self, other: &Venue) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Serialize for Venue

Available on crate feature serde only.
Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<u16> for Venue

Source§

type Error = TryFromPrimitiveError<Venue>

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

fn try_from(number: u16) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for Venue

Source§

impl Copy for Venue

Source§

impl Eq for Venue

Source§

impl StructuralPartialEq for Venue

Auto Trait Implementations§

§

impl Freeze for Venue

§

impl RefUnwindSafe for Venue

§

impl Send for Venue

§

impl Sync for Venue

§

impl Unpin for Venue

§

impl UnsafeUnpin for Venue

§

impl UnwindSafe for Venue

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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. 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> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> Ungil for T
where T: Send,