[−][src]Function stockquote::get
pub async fn get<'_>(quote: &'_ str) -> Result<StockQuote, StockQuoteError>
Get Stock Quote
Get the quote data of a stock. It returns a StockQuote object. In case of error, a StockQuoteError object will be returned.
Examples
let result = stockquote::get("IBM").await;