YFinance.jl

Download historical stock market data from Yahoo Finance. Exposes stock, commodity, futures, currency (FX), mutual fund, and ETF prices, stock fundamental, summary data , and options data.

MIT License

Stars
35
Committers
3

Bot releases are visible (Hide)

YFinance.jl - v0.1.10

Published by github-actions[bot] 22 days ago

YFinance v0.1.10

Diff since v0.1.9

Improvements

  • get_prices now supports the retrieval of minute level data for periods longer than 7 days. This is facilitated by making multiple requests and stitching the responses together (minute data still needs to be within the last 30 days - this is a limit set by Yahoo)
  • get_prices now allows startdt and enddt to be of different types (e.g., startdt="2024-01-01", enddt=today() is now valid)
  • The range argument in get_prices has been reworked to convert to startdt and enddt #21 . Previously, this parameter was simply passed to the Yahoo API. The new way brings multiple improvements:
    • more flexible range inputs
    • specified intervals are now observed
  • Significant code refactoring for improved maintainability and readability of the get_prices function
  • get_prices now returns a OrderedDict{String, Union{String,Vector{DateTime},Vector{Float64}}} rather than OrderedDict{String,Any}
  • Added precompilation for the response processing part of the get_prices function only

Closed issues:

  • Problem with "using YFinance" along with other packages (#23)
YFinance.jl - v0.1.9

Published by github-actions[bot] 28 days ago

YFinance v0.1.9

Diff since v0.1.8

Bug Fix/Improvement

  • Disable Precompilation. Experienced precompilation hangs in Julia 1.10 and 1.11 (warning not error) but precompilation errors if a proxy is required or Yahoo cannot be reached for other reasons (#23). For precompilation please install v0.1.8 instead.
YFinance.jl - v0.1.8 Latest Release

Published by github-actions[bot] about 2 months ago

YFinance v0.1.8

Diff since v0.1.7

Bug Fix/Improvement

  • get_prices indexing error when divsplits=true (#22)
YFinance.jl - v0.1.7

Published by github-actions[bot] 3 months ago

YFinance v0.1.7

Diff since v0.1.6

Bug Fix/Improvement

  • get_prices, get_splits, get_dividends now error more nicely when there is no data for the selected date range. (#19)
YFinance.jl - v0.1.6+docs

Published by eohne 3 months ago

Update examples in stable docs

YFinance.jl - v0.1.6

Published by github-actions[bot] 3 months ago

YFinance v0.1.6

Diff since v0.1.5

Improvements

  • get_prices can now return dividends and splits (#11, #18)
  • get_prices can now directly return TimeArrays (TimeSeries.jl) and TSFrame (TSFrames.jl). Julia 1.9 is required and the respective packages need to be loaded
  • added some precompilation for get_prices (this will require a valid internet connection when the package is loaded first/installed)

New Functionality

  • get_splits returns stock split information
  • get_dividends returns dividend information
  • sink_prices_to allows for easy conversion to TimeArrays (TimeSeries.jl) and TSFrame (TSFrames.jl). Julia 1.9 is required and the respective packages need to be loaded
YFinance.jl - v0.1.5

Published by github-actions[bot] 8 months ago

YFinance v0.1.5

Diff since v0.1.4

Bug Fix

  • Implemented Cookies and Crumbs to fix get_quoteSummary() and all functions depending on it (#14)
YFinance.jl - v0.1.4

Published by github-actions[bot] over 1 year ago

YFinance v0.1.4

Diff since v0.1.3

Closed issues:

  • getting daily stock prices (#5)
  • get_prices sometimes returns Union{Nothing,Float64} (#7)

Merged pull requests:

  • get_symbols function provided. (#9) (@shayandavoodii)

Bug Fix

  • get_prices now returns dictionaries containing price vectors of type Array{Float64} rather than Array{ Union{Nothing,Float64}} (#7)

Improvements

  • get_prices now runs faster than before.

New Functionality

  • get_symbols allows the user to search for yahoo finance symbols from (partial) company/security names
  • get_all_symbols exposes all tickers from the NASDAQ, AMEX, and NYSE exchanges (#8)
  • search_news now allows for news searches

Docs

  • Added documentation for the new functionality
  • Added a clarification statement in the Readme.md and Docs that YFinance uses API endpoints to access data and does not suffer from decryption issues (#6)
YFinance.jl - v0.1.3

Published by github-actions[bot] over 1 year ago

YFinance v0.1.3

Diff since v0.1.2

Closed issues:

  • Change In API (#4)
  • [Question] yfinance decrypt Issue Parity with Python Equivalent (#6)

Bug Fix

  • get_prices would error when autoadjust=true for some tickers when Yahoo returns nothing for some observations in the price time series. The update now does not error in this cases and returns NaN for the missing datapoints. NaN is used instead of Missing because of performance improvements and the ability to integrate YFinance.jl with TimeSeries.jl. (#5)
    • Thank you RaSi96 for reporting this bug and helping me sort it out!

Docs

  • Improved documentation for get_prices (#5)
    • When the range keyword is used instead of startdt and enddt the specified interval is not observed by Yahoo at longer ranges. To enforce the specified interval use startdt and enddt instead.
    • Data points that yahoo returns as nothing are returned as NaN. It seems like Yahoo thinks it should have price information for these timestamps but does not have them and thus returns nothing.

Other

  • Added a test case for the stock "ADANIENT.NS". The time series of the stock prices contains the nothing values mentioned in the Bug Fix. (#5)
YFinance.jl - v0.1.2

Published by github-actions[bot] almost 2 years ago

YFinance v0.1.2

Diff since v0.1.1

Changes

  • Return OrderedDict from OrderedCollections.jl instead of Dict
  • Exposing HTTP proxies of HTTP.jl

Fixes:

  • get_Fundamentals() does now return a timestamp

Docs

  • Added Documentation for the proxy settings
  • Added an Example Section:
    • Convert Price data to a DataFrame, TimeSeries.TimeArray, TSFrames.TSFrame
    • Examples of plotting some data exposed by YFinance.jl with PlotlyJS.jl
  • Added a version change log

New Dependencies

  • Base64
    • Needed for http proxy authentication
  • OrderedCollections.jl
    • Provides Ordered Dictionaries. Eases workflow with data because column order is not arbitrary and changing between calls.
YFinance.jl - v0.1.1

Published by github-actions[bot] almost 2 years ago

YFinance v0.1.1

Diff since v0.1.0

Closed issues:

  • TagBot trigger issue (#3)
YFinance.jl - v0.1.0

Published by eohne almost 2 years ago

First

Package Rankings
Top 9.09% on Proxy.golang.org
Top 35.02% on Juliahub.com
Badges
Extracted from project README
codecov Build Status Package Downloads