pub fn spot_price(&self, currency_pair: &str, _date: Option<chrono::NaiveDate>) -> A::Result
    where
        A: Adapter<CurrencyPrice> + 'static,
    {
        self.get_pub(&format!("/currency_pair/{}/spot", currency_pair))
    }
///
/// **Get spot price**
///
/// Get the current market price for a currency pair. This is usually somewhere in between the
/// buy and sell price.
///
/// https://developers.coinbase.com/api/v2#get-spot-price
///
Get spot price
Get the current market price for a currency pair. This is usually somewhere in between the
buy and sell price.


Get spot price Get the current market price for a currency pair . This is usually somewhere in between the buy and sell price .
pub fn spot_price(&self, currency_pair: &str, _date: Option<chrono::NaiveDate>) -> A::Result
    where
        A: Adapter<CurrencyPrice> + 'static,
    {
        self.get_pub(&format!("/currency_pair/{}/spot", currency_pair))
    }
pub fn spot_price ( & self , currency_pair : & str , _date : Option < chrono :: NaiveDate > ) -> A :: Result where A : Adapter < CurrencyPrice > + ' static , { self . get_pub ( & format ! ( " " currency_pair ) ) }
Get spot price
Get the current market price for a currency pair.
Get spot price Get the current market price for a currency pair .
&self
currency_pair
&str
_date
Option<chrono::NaiveDate>
&self
currency_pair
&str
_date
Option<chrono::NaiveDate>