[−][src]Trait quotes::Quote
Required methods
pub fn new() -> Result<Self, Error> where
Self: Sized,
[src]
Self: Sized,
pub fn base_url() -> String
[src]
pub fn client(&self) -> &Client
[src]
pub fn parse_out_tick(msg: &str) -> Option<Tick>
[src]
Provided methods
#[must_use]pub fn small_tick_map<'life0, 'life1, 'async_trait>(
&'life0 self,
codes: &'life1 [String]
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Tick>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
[src]
&'life0 self,
codes: &'life1 [String]
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Tick>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
#[must_use]pub fn tick<'life0, 'life1, 'async_trait>(
&'life0 self,
code: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Tick, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
[src]
&'life0 self,
code: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Tick, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
#[must_use]pub fn current_price<'life0, 'life1, 'async_trait>(
&'life0 self,
code: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<f64, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
[src]
&'life0 self,
code: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<f64, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
#[must_use]pub fn pre_close<'life0, 'life1, 'async_trait>(
&'life0 self,
code: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<f64, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
[src]
&'life0 self,
code: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<f64, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
#[must_use]pub fn open<'life0, 'life1, 'async_trait>(
&'life0 self,
code: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<f64, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
[src]
&'life0 self,
code: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<f64, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
#[must_use]pub fn pct_change<'life0, 'life1, 'async_trait>(
&'life0 self,
code: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<f64, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
[src]
&'life0 self,
code: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<f64, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
#[must_use]pub fn tick_map<'life0, 'life1, 'async_trait>(
&'life0 self,
codes: Vec<&'life1 str>
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Tick>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
[src]
&'life0 self,
codes: Vec<&'life1 str>
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Tick>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,