Quotes.YahooFinance


YahooFinance Type

Static members

Static member Description

YahooFinance.Dividends(symbols, ?startDate, ?endDate, ?interval, ?displayLogs)

Full Usage: YahooFinance.Dividends(symbols, ?startDate, ?endDate, ?interval, ?displayLogs)

Parameters:
Returns: Dividend list
symbols : string list
?startDate : DateTime
?endDate : DateTime
?interval : Interval
?displayLogs : bool
Returns: Dividend list

YahooFinance.History(symbols, ?startDate, ?endDate, ?interval, ?displayLogs)

Full Usage: YahooFinance.History(symbols, ?startDate, ?endDate, ?interval, ?displayLogs)

Parameters:
    symbols : seq<string> - A collection of ticker symbols.
    ?startDate : DateTime - The start date.
    ?endDate : DateTime - The end date.
    ?interval : Interval - Data granularity.
    ?displayLogs : bool - Option to display logs.

Returns: Quote list Historical ticker data.

Downloads historical ticker data from YahooFinance.

symbols : seq<string>

A collection of ticker symbols.

?startDate : DateTime

The start date.

?endDate : DateTime

The end date.

?interval : Interval

Data granularity.

?displayLogs : bool

Option to display logs.

Returns: Quote list

Historical ticker data.

Example

By default, if no optional parameters are specified, YahooFinance.History() will download the most recent year of **daily** ticker history for all of the provided symbols.

 YahooFinance.History(symbols=["MSFT"; "IBM"])
Alternatively, the user may also opt to specify a given startDate, endDate, and/or interval.
 YahooFinance.History(symbols=["MSFT"; "IBM"], 
                      startDate=DateTime(2015,1,1), 
                      endDate=DateTime(2020,12,31), 
                      interval=Interval.Weekly,
                      displayLogs=true)

YahooFinance.History(symbol, ?startDate, ?endDate, ?interval, ?displayLogs)

Full Usage: YahooFinance.History(symbol, ?startDate, ?endDate, ?interval, ?displayLogs)

Parameters:
    symbol : string - A ticker symbol.
    ?startDate : DateTime - The start date.
    ?endDate : DateTime - The end date.
    ?interval : Interval - Data granularity.
    ?displayLogs : bool - Option to display logs.

Returns: Quote list Historical ticker data.

Downloads historical ticker data from YahooFinance.

symbol : string

A ticker symbol.

?startDate : DateTime

The start date.

?endDate : DateTime

The end date.

?interval : Interval

Data granularity.

?displayLogs : bool

Option to display logs.

Returns: Quote list

Historical ticker data.

Example

By default, if no optional parameters are specified, YahooFinance.History() will download the most recent year of **daily** ticker history for all of the provided symbols.

 
 YahooFinance.History("MSFT")
Alternatively, the user may also opt to specify a given startDate, endDate, and/or interval.
 YahooFinance.History(symbol="MSFT", 
                      startDate=DateTime(2015,1,1), 
                      endDate=DateTime(2020,12,31), 
                      interval=Interval.Weekly,
                      displayLogs=true)

YahooFinance.Meta(symbols, ?startDate, ?endDate, ?interval, ?displayLogs)

Full Usage: YahooFinance.Meta(symbols, ?startDate, ?endDate, ?interval, ?displayLogs)

Parameters:
Returns: Meta list
symbols : string list
?startDate : DateTime
?endDate : DateTime
?interval : Interval
?displayLogs : bool
Returns: Meta list