[−][src]Struct gurufocus_api::GuruFocusConnector
Container for connection parameters to gurufocus server.
Methods
impl GuruFocusConnector
[src]
pub fn new(token: String) -> GuruFocusConnector
[src]
Constructor for a new instance of GuruFocusConnector. token is the user token you get from gurufocus if you subscribe for a premium or premium plus account.
pub fn get_financials(&self, stock: &str) -> Result<Value, String>
[src]
Returns the full history of financial data for stock symbol given as argument
pub fn get_key_ratios(&self, stock: &str) -> Result<Value, String>
[src]
Returns the current key statistic figures for stock symbol given as argument
pub fn get_quotes(&self, stocks: &[&str]) -> Result<Value, String>
[src]
Returns the current quote data of a comma separated list of symbols given as argument
pub fn get_price_hist(&self, stock: &str) -> Result<Value, String>
[src]
Returns the history of (adjusted) quoted prices for symbol given as argument
pub fn get_unadj_price_hist(&self, stock: &str) -> Result<Value, String>
[src]
Returns the history of (unadjusted) quoted prices for symbol given as argument
pub fn get_stock_summary(&self, stock: &str) -> Result<Value, String>
[src]
Returns companies current price, valuation rations and ranks for symbol given as argument
pub fn get_guru_trades(&self, stock: &str) -> Result<Value, String>
[src]
Returns real-time guru trades and holding data for symbol given as argument
pub fn get_gurus(&self) -> Result<Value, String>
[src]
Returns lists of all and personalized gurus
pub fn get_guru_picks(
&self,
gurus: &[&str],
start_date: DateTime<Utc>
) -> Result<Value, String>
[src]
&self,
gurus: &[&str],
start_date: DateTime<Utc>
) -> Result<Value, String>
Returns list of gurus stock picks using list of guru ids since a given start date.
pub fn get_guru_portfolios(&self, gurus: &[&str]) -> Result<Value, String>
[src]
Returns list of aggregated guru portfolios given a slice of guru ids
pub fn get_exchanges(&self) -> Result<Value, String>
[src]
Returns list of supported exchanges
pub fn get_listed_stocks(&self, exchange: &str) -> Result<Value, String>
[src]
Returns list of all stocks of a particular exchange
pub fn get_insider_trades(&self) -> Result<Value, String>
[src]
Returns list of latest insider trades ordered by insider transctions time
pub fn get_dividend_history(&self, stock: &str) -> Result<Value, String>
[src]
Returns 30 years dividend history data of a stock
pub fn get_analyst_estimate(&self, stock: &str) -> Result<Value, String>
[src]
Returns analyst estimate data of a stock
pub fn get_personal_portfolio(&self) -> Result<Value, String>
[src]
Returns list of personal portfolios
pub fn get_updated_stocks(&self, date: DateTime<Utc>) -> Result<Value, String>
[src]
Returns list of all stocks with updated fundamental data within a week of the given date
Auto Trait Implementations
impl Send for GuruFocusConnector
impl Sync for GuruFocusConnector
impl Unpin for GuruFocusConnector
impl UnwindSafe for GuruFocusConnector
impl RefUnwindSafe for GuruFocusConnector
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,