pub struct AssetProfile {
pub symbol: String,
pub broker_name: String,
pub ticker: String,
pub change_dtd: Option<f64>,
pub change_m1: Option<f64>,
pub change_y1: Option<f64>,
pub change_ytd: Option<f64>,
}Expand description
Perfil fundamental de un activo (GraphQL GetAssetProfileInfo).
Datos que el bróker publica y que no estaban expuestos hasta ahora: nombre oficial del bróker, ticker y variaciones de precio a varios plazos.
Fields§
§symbol: String§broker_name: StringNombre que el bróker muestra en la sala de trading.
ticker: String§change_dtd: Option<f64>Cambio del día (%).
change_m1: Option<f64>Cambio del mes (%).
change_y1: Option<f64>Cambio del año (%).
change_ytd: Option<f64>Cambio desde inicio de año (%).
Trait Implementations§
Source§impl Clone for AssetProfile
impl Clone for AssetProfile
Source§impl Debug for AssetProfile
impl Debug for AssetProfile
Source§impl Default for AssetProfile
impl Default for AssetProfile
Source§impl<'de> Deserialize<'de> for AssetProfile
impl<'de> Deserialize<'de> for AssetProfile
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 PartialEq for AssetProfile
impl PartialEq for AssetProfile
Source§impl Serialize for AssetProfile
impl Serialize for AssetProfile
impl StructuralPartialEq for AssetProfile
Auto Trait Implementations§
impl Forget for AssetProfile
impl Freeze for AssetProfile
impl RefUnwindSafe for AssetProfile
impl Send for AssetProfile
impl Sync for AssetProfile
impl Unpin for AssetProfile
impl UnsafeUnpin for AssetProfile
impl UnwindSafe for AssetProfile
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