pub struct YahooFin { /* private fields */ }Expand description
Fetch time series stock data from Yahoo Finance, implements Publisher trait
Implementations§
Source§impl YahooFin
impl YahooFin
Sourcepub fn intraday_series(
&mut self,
symbol: impl Into<String>,
interval: Interval,
range: YahooRange,
) -> MarketResult<()>
pub fn intraday_series( &mut self, symbol: impl Into<String>, interval: Interval, range: YahooRange, ) -> MarketResult<()>
Request for intraday series supporting the following intervals: 1min, 5min, 15min, 30min, 1h for intraday
Sourcepub fn daily_series(&mut self, symbol: impl Into<String>, range: YahooRange)
pub fn daily_series(&mut self, symbol: impl Into<String>, range: YahooRange)
Request for daily series
Sourcepub fn weekly_series(&mut self, symbol: impl Into<String>, range: YahooRange)
pub fn weekly_series(&mut self, symbol: impl Into<String>, range: YahooRange)
Request for weekly series
Sourcepub fn monthly_series(&mut self, symbol: impl Into<String>, range: YahooRange)
pub fn monthly_series(&mut self, symbol: impl Into<String>, range: YahooRange)
Request for monthly series
Trait Implementations§
Auto Trait Implementations§
impl Freeze for YahooFin
impl RefUnwindSafe for YahooFin
impl Send for YahooFin
impl Sync for YahooFin
impl Unpin for YahooFin
impl UnwindSafe for YahooFin
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more