Releases: eohne/YFinance.jl
Releases · eohne/YFinance.jl
v0.1.10
YFinance v0.1.10
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 allowsstartdt
andenddt
to be of different types (e.g.,startdt="2024-01-01", enddt=today()
is now valid)- The
range
argument inget_prices
has been reworked to convert tostartdt
andenddt
#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 aOrderedDict{String, Union{String,Vector{DateTime},Vector{Float64}}}
rather thanOrderedDict{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)
v0.1.9
YFinance v0.1.9
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.
v0.1.8
v0.1.7
YFinance v0.1.7
Bug Fix/Improvement
get_prices
,get_splits
,get_dividends
now error more nicely when there is no data for the selected date range. (#19)
v0.1.6+docs
Update examples in stable docs
v0.1.6
YFinance v0.1.6
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 informationget_dividends
returns dividend informationsink_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
v0.1.5
YFinance v0.1.5
Bug Fix
- Implemented Cookies and Crumbs to fix get_quoteSummary() and all functions depending on it (#14)
v0.1.4
YFinance v0.1.4
Closed issues:
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 namesget_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)
v0.1.3
YFinance v0.1.3
Closed issues:
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 returnsNaN
for the missing datapoints.NaN
is used instead ofMissing
because of performance improvements and the ability to integrateYFinance.jl
withTimeSeries.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 ofstartdt
andenddt
the specified interval is not observed by Yahoo at longer ranges. To enforce the specifiedinterval
usestartdt
andenddt
instead. - Data points that yahoo returns as
nothing
are returned asNaN
. It seems like Yahoo thinks it should have price information for these timestamps but does not have them and thus returnsnothing
.
- When the
Other
- Added a test case for the stock "ADANIENT.NS". The time series of the stock prices contains the
nothing
values mentioned in theBug Fix
. (#5)
v0.1.2
YFinance v0.1.2
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.