[][src]Trait luno_sdk::Market

pub trait Market {
#[must_use]    fn get_ticker<'life0, 'life1, 'async_trait>(
        &'life0 self,
        ticker: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn get_tickers<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn list_trades_market<'life0, 'life1, 'async_trait>(
        &'life0 self,
        pair: &'life1 str,
        since: Option<NaiveDateTime>
    ) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn get_orderbook_top<'life0, 'life1, 'async_trait>(
        &'life0 self,
        pair: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn get_orderbook<'life0, 'life1, 'async_trait>(
        &'life0 self,
        pair: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn get_ticker<'life0, 'life1, 'async_trait>(
    &'life0 self,
    ticker: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

#[must_use]fn get_tickers<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

#[must_use]fn list_trades_market<'life0, 'life1, 'async_trait>(
    &'life0 self,
    pair: &'life1 str,
    since: Option<NaiveDateTime>
) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

#[must_use]fn get_orderbook_top<'life0, 'life1, 'async_trait>(
    &'life0 self,
    pair: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

#[must_use]fn get_orderbook<'life0, 'life1, 'async_trait>(
    &'life0 self,
    pair: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Response, Box<dyn Error>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

impl Market for LunoClient[src]

Loading content...