pub struct YahooFin {}Expand description
Fetch time series stock data from Yahoo Finance, implements Publisher trait
Implementations§
Source§impl YahooFin
impl YahooFin
Sourcepub fn intraday_series(
&self,
symbol: impl Into<String>,
interval: Interval,
range: YahooRange,
) -> MarketResult<YahooRequest>
pub fn intraday_series( &self, symbol: impl Into<String>, interval: Interval, range: YahooRange, ) -> MarketResult<YahooRequest>
Request for intraday series
Sourcepub fn daily_series(
&self,
symbol: impl Into<String>,
range: YahooRange,
) -> YahooRequest
pub fn daily_series( &self, symbol: impl Into<String>, range: YahooRange, ) -> YahooRequest
Request for daily series
Sourcepub fn weekly_series(
&self,
symbol: impl Into<String>,
range: YahooRange,
) -> YahooRequest
pub fn weekly_series( &self, symbol: impl Into<String>, range: YahooRange, ) -> YahooRequest
Request for weekly series
Sourcepub fn monthly_series(
&self,
symbol: impl Into<String>,
range: YahooRange,
) -> YahooRequest
pub fn monthly_series( &self, symbol: impl Into<String>, range: YahooRange, ) -> YahooRequest
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 UnsafeUnpin 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