Hi, although this is not a new package I have never formally announced it. So here it goes:
YFinance.jl was inspired by the yfinance
python package but works much more similar to yahooquery
from python - rather than imitating a browser the package sends queries directly to the Yahoo Finance API that finance.yahoo uses to retrieve data.
Unlike the existing and very popular MarketData.jl package this package also exposes other data apart from prices such as:
- Company Fundamentals (Balance Sheet, Income Statement, Cash Flow Statement)
- Option Chains
- ESG data
- Blockholders
- Analyst Forecasts
- Insider Transactions
- News Searches
- and many more
The package generally returns data as an OrderedDict
from OrderedCollections.jl and therefore mostly allows easy conversion to a DataFrame
from DataFrames.jl.
Price data can also be directly sunk into a TSFrame
from TSFrames.jl or a TimeArray
from TimeSeries.jl on Julia versions 1.9+.
For more information and some example usage see the
YFinance Github repo or the Documentation for even more examples and all the exposed datapoints.