pub trait YahooFinanceReader {
// Required methods
fn get_price_history(&mut self) -> Result<(), RustQuantError>;
fn get_latest_quote(&mut self) -> Result<(), RustQuantError>;
}Expand description
Yahoo! Finance data reader trait.
Required Methods§
Sourcefn get_price_history(&mut self) -> Result<(), RustQuantError>
fn get_price_history(&mut self) -> Result<(), RustQuantError>
Retrieves the price history from Yahoo! Finance.
Sourcefn get_latest_quote(&mut self) -> Result<(), RustQuantError>
fn get_latest_quote(&mut self) -> Result<(), RustQuantError>
Retrieves the latest quote from Yahoo! Finance.