pub struct AlphaVantage { /* private fields */ }
Expand description
Fetch time series stock data from AlphaVantage, implements Publisher trait
Implementations§
Source§impl AlphaVantage
impl AlphaVantage
Sourcepub fn intraday_series(
&mut self,
symbol: impl Into<String>,
output_size: OutputSize,
interval: Interval,
) -> MarketResult<()>
pub fn intraday_series( &mut self, symbol: impl Into<String>, output_size: OutputSize, interval: Interval, ) -> MarketResult<()>
Request for intraday series it supports only the following intervals: 1min, 5min, 15min, 30min, 60min
Sourcepub fn daily_series(
&mut self,
symbol: impl Into<String>,
output_size: OutputSize,
)
pub fn daily_series( &mut self, symbol: impl Into<String>, output_size: OutputSize, )
Request for daily series
Sourcepub fn weekly_series(
&mut self,
symbol: impl Into<String>,
output_size: OutputSize,
)
pub fn weekly_series( &mut self, symbol: impl Into<String>, output_size: OutputSize, )
Request for weekly series
Sourcepub fn monthly_series(
&mut self,
symbol: impl Into<String>,
output_size: OutputSize,
)
pub fn monthly_series( &mut self, symbol: impl Into<String>, output_size: OutputSize, )
Request for monthly series
Trait Implementations§
Source§impl Debug for AlphaVantage
impl Debug for AlphaVantage
Source§impl Default for AlphaVantage
impl Default for AlphaVantage
Source§fn default() -> AlphaVantage
fn default() -> AlphaVantage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AlphaVantage
impl RefUnwindSafe for AlphaVantage
impl Send for AlphaVantage
impl Sync for AlphaVantage
impl Unpin for AlphaVantage
impl UnwindSafe for AlphaVantage
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