pub enum SymbolType {
Show 21 variants
Stock,
Index,
Forex,
Futures,
Bitcoin,
Crypto,
Undefined,
Expression,
Spread,
Cfd,
Economic,
Equity,
Dr,
Bond,
Right,
Warrant,
Fund,
Structured,
Commodity,
Fundamental,
Spot,
}Expand description
Broad instrument type classification.
Used in symbol search filtering and displayed in TradingView’s symbol info.
Default is Stock.
Variants§
Stock
Common or preferred stock.
Index
Market index.
Forex
Forex / currency pair.
Futures
Futures contract.
Bitcoin
Bitcoin-denominated instrument.
Crypto
Cryptocurrency.
Undefined
Unclassified / undefined.
Expression
Pine Script expression.
Spread
Spread instrument.
Cfd
Contract for difference.
Economic
Economic indicator.
Equity
Equity.
Dr
Depository receipt (ADR, GDR).
Bond
Bond.
Right
Rights offering.
Warrant
Warrant.
Fund
Fund (ETF, mutual fund, REIT).
Structured
Structured product.
Commodity
Commodity.
Fundamental
Fundamental data.
Spot
Spot market instrument.
Trait Implementations§
Source§impl Clone for SymbolType
impl Clone for SymbolType
impl Copy for SymbolType
Source§impl Debug for SymbolType
impl Debug for SymbolType
Source§impl Default for SymbolType
impl Default for SymbolType
Source§impl<'de> Deserialize<'de> for SymbolType
impl<'de> Deserialize<'de> for SymbolType
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SymbolType
impl Display for SymbolType
impl Eq for SymbolType
Source§impl Hash for SymbolType
impl Hash for SymbolType
Source§impl PartialEq for SymbolType
impl PartialEq for SymbolType
Source§impl Serialize for SymbolType
impl Serialize for SymbolType
impl StructuralPartialEq for SymbolType
Auto Trait Implementations§
impl Freeze for SymbolType
impl RefUnwindSafe for SymbolType
impl Send for SymbolType
impl Sync for SymbolType
impl Unpin for SymbolType
impl UnsafeUnpin for SymbolType
impl UnwindSafe for SymbolType
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
Mutably borrows from an owned value. Read more