get_report

Function get_report 

Source
pub fn get_report(stock: &str) -> Result<Report>
Expand description

Returns a quote history analysis on stock.

§Errors

Returns any errors creating the Yahoo Finance connector, fetching the quote history, extracting the last quote, or finding the minimum and maximum for the period.

§Panics

If the current price is outside the range (low, high).