What’s New¶
New features, bug fixes, and improvements for each release.
v0.5.0 (TBD)¶
This is a major patch release from 0.4.3. We recommend that all users upgrade.
Support for Python 2 has ended with this release.
Highlights¶
iexfinanceis now apandas-driven library. Default output formatting is nowpandas.DataFramewhere available.
Enhancements¶
Improves message weighting for historical data when calls are under 1-year range
Adds support for historical data for the previous 15 years (extended from 5 years) (GH94)
Adds
flake8-bugbearfor additional code quality checksRepairs date handling to accept multiple formats, including
str,int,date,datetime, andpandas.Timestampand use a rolling 15-year default start date for historical data (specificallyget_historical_data)Adds endpoint for us trading days/holidays (thanks Bouldersky)
Adds official support for Python 3.8
Adds endpoint for advanced stats (thanks SaymV)
Adds
lastandperiodparameters toStock.get_estimates(GH213)Adds endpoints for international symbol reference data (thanks anthonyvd)
Adds endpoint for Sectors reference data (thanks YairMZ)
Bug Fixes¶
Backward Incompatible Changes¶
Ends support for Python 2 and Python 3.4
All legacy IEX Developer API version 1.0 endpoints and references to such endpoints have been removed
Stock.get_endpoints,Stock.get_short_interest,Stock.get_short_ratio,Stock.get_latest_eps,Stock.get_eps_consensus, andStock.get_relevant_stockshave been immediately deprecatedget_social_sentimentis now premium-only data and not tested byiexfinanceAll endpoints in
iexdataare now JSON-only (pandas output formatting no is longer supported)iexfinance.stocks.get_market_in_focushas been immediately deprecated.Certain endpoints (such as
Stock.get_price_target) now require additional entitlements. See the IEX Cloud Help Center for more information. All endpoints which require additional entitlements are noted in theiexfinancedocumentation.
v0.4.3 (August 22, 2019)¶
This is a minor patch release from 0.4.2 that repairs compatibility issues with pandas 0.25.0. We recommend that all users upgrade.
v0.4.2 (June 19, 2019)¶
This is a minor release from 0.4.1. We recommend that all users update to maintain compatibility with IEX Cloud and optimize message weighting in calls.
Highlights:
Removes support for the legacy Version 1.0 IEX Developer API, which was retired in favor of IEX Cloud in June 2019
Optimized retrieval of historical prices with
get_historical_datato allow for close prices only and single day charts to reduce message countsAdd support for End of Day options prices
New Endpoints¶
Options
End of Day Options (
get_eod_options)
Data APIs
/time-series (
get_time_series)/data-points (
get_data_points)
Enhancements¶
Adds logging for queries, including message count usage and debugging information. Logging level defaults to
WARNING, but can be set to other levels through theIEX_LOG_LEVELenvironment variable. The following levels provide various information:WARNING- errors onlyINFO- message count usedDEBUG- request information
Add
close_onlykeyword argument toget_historical_datato allow for retrieval of adjusted close only at reduced message cost (throughchartCloseOnlyquery parameter)Optimize
get_historical_datato usechartByDayif a single date is passed which reduces message count (thanks shlomikushchi)
Backwards Incompatible Changes¶
When
IEX_API_VERSIONis set tov1, IEX Cloud will now be used, and as such this has the same behavior asiexcloud-v1The following legacy-only endpoints have been deprecated and will raise an
ImmediateDeprecationErrorwhen called:iexfinance.stocks.get_crypto_quotesiexfinance.refdata.get_iex_corporate_actionsiexfinance.refdata.get_iex_dividendsiexfinance.refdata.get_iex_next_day_ex_dateiexfinance.refdata.get_listed_symbol_diriexfinance.stocks.Stock.get_effective_spread
The
get_allmethod ofiexfinance.stocks.Stockhas been immediately deprecated
Bug Fixes¶
Certain failed requests which erroneously-returened
IEXAuthorizationErrornow returnIEXQueryError
v0.4.1 (May 14, 2019)¶
This is a minor release from 0.4.0. We recommend that all users update to maintain compatibility with IEX Cloud.
Highlights:
Defaults to IEX Cloud for all API calls
Adds warnings to all legacy-only endpoints which will be deprecated on June 1, 2019, and warnings when
IEX_API_VERSIONisv1Testing support for all legacy Version 1.0 endpoints has ended
Adds support for IEX Cloud sandbox environment (GH116)
New Endpoints¶
Stocks
/fund-ownership (
get_fund_ownership)/institutional-ownership (
get_institutional_ownership)/insider-roster (
get_insider_roster)/insider-summary (
get_insider_summary)/insider-transactions (
get_insider_transactions)
Alternative Data
/ceo-compensation (
iexfinance.altdata.get_ceo_compensation)
Enhancements¶
Adds support for the IEX Cloud sandbox environment. Specify
iexcloud-sandboxasIEX_API_VERSIONfor use with test secret token (GH116)Refactored test suite to reduce code bloat and consolidate output formatting
Backwards Incompatible Changes¶
iexcloud-v1is now the defaultIEX_API_VERSION, asv1support will end on 6/1/2019StockField/Additional methods are no longer supported by the v1 Deveoper API. These methods are retained in IEX CloudAll legacy-only endpoints will now warn of impending deprecation on June 1, 2019
iexfinance.stocks.get_crypto_quotesiexfinance.refdata.get_iex_corporate_actionsiexfinance.refdata.get_iex_dividendsiexfinance.refdata.get_iex_next_day_ex_dateiexfinance.refdata.get_listed_symbol_dir
Deprecations (functions moved or renamed):
get_market_gainers→iexfinance.stocks.get_market_gainersget_market_losers→iexfinance.stocks.get_market_losersget_market_most_active→iexfinance.stocks.get_market_most_activeget_market_iex_volume→iexfinance.stocks.get_market_iex_volumeget_market_iex_percent→iexfinance.stocks.get_market_iex_percentget_symbols→iexfinance.refdata.get_symbolsget_iex_corporate_actions→iexfinance.refdata.get_iex_corporate_actionsget_iex_dividends→iexfinance.refdata.get_iex_dividendsget_iex_next_day_ex_date→iexfinance.refdata.get_iex_next_day_ex_dateget_listed_symbol_dir→iexfinance.refdata.get_listed_symbol_dirget_tops→iexfinance.iexdata.get_topsget_last→iexfinance.iexdata.get_lastget_deep→iexfinance.iexdata.get_deepget_deep_book→iexfinance.iexdata.get_deep_bookget_stats_intraday→iexfinance.iexdata.get_stats_intradayget_stats_recent→iexfinance.iexdata.get_stats_recentget_stats_records→iexfinance.iexdata.get_stats_recordsget_stats_daily→iexfinance.iexdata.get_stats_dailyget_stats_summary→iexfinance.iexdata.get_stats_summarystocks.get_today_earnings→stocks.get_earnings_todaystocks.Stock.get_previous→stocks.Stock.get_previous_day_pricesstocks.Stock.get_relevant→stocks.Stock.get_relevant_stocks
Bug Fixes¶
Repair
DataFrameoutput formatting for a number ofStockmethods (GH119)Fix project description for PyPi
Testing¶
Testing support all legacy Version 1 endpoints has ended. These endpoints will be deprecated in 0.4.2
v0.4.0 (February 21, 2019)¶
This is a major release from 0.3.5, and we recommend that all users update.
Highlights
Adds support for IEX Cloud
New Endpoints¶
Stock
/balance-sheet (
get_balance_sheet)/cash-flow (
get_cash_flow)/estimates (
get_estimates)/historical (
get_historical_prices) (same asget_chart)/income (
get_income_statement)/price-target (
get_price_target)
Account
/account/usage (
iexfinance.account.get_usage)/account/metadata (
iexfinance.account.get_metadata)/account/payasyougo (
iexfinance.account.allow_pay_as_you_go,iexfinance.account.disallow_pay_as_you_go)
Reference Data
/ref-data/symbols (
iexfinance.get_symbols)/ref-data/iex-symbols (
iexfinance.get_iex_symbols)
Alternative Data
/crypto/quote (
iexfinance.altdata.get_crypto_quote)/stock/sentiment (
iexfinance.altdata.get_social_sentiment)
API System Metadata
/status (
iexfinance.apidata.get_api_status)
Enhancements¶
Adds support for setting persistent output format settings using the environment variable
IEX_OUTPUT_FORMATSelect between IEX API versions using the IEX_API_VERSION environment variable
The
StockReaderbase class has been renamedStockand the duplicateStockfunction has been removedLoosened testing restrictions on return types to allow for
intorfloatto eliminate periodic even number returns and CI failuresImproved testing for
_IEXBasebase class configuration (request parameters, output formatting)Adds tox for cross-version testing (thank you Jack Moody)
Adds official Python 3.7 support and CI build (thank you Jack Moody)
Backwards Incompatible Changes¶
Deprecated
iexfinance.Stockandiexfinance.get_historical_datahave been removed. These are now available asiexfinance.stocks.Stockandiexfinance.stocks.get_historical_dataiexfinance.marketdatahas been moved to a new moduleiexdata.get_market_tops,get_market_last,get_market_deep,get_market_bookhave been deprecated and renamed (respectively)get_tops,get_last,get_deep,get_deep_book
iexfinance.statsmoved to a new moduleiexdata.get_stats_intraday,get_stats_recent,get_stats_records,get_stats_daily,get_stats_monthlyhave been moved toiexdata. The top level functionsiexfinance.get_stats_intradayetc. have been deprecatedget_stats_monthlyrenamed toget_stats_summary
The named parameter
range_foriexfinance.stocks.Stock.get_dividends,get_splits, andget_chartis now the keyword argumentrangeiexfinance.stocks.Stock.get_previousdeprecated and renamedget_previous_day_pricesiexfinance.stocks.get_todays_earningsdeprecated and renamedget_earnings_todayiexfinance.stocks.get_relevantdeprecated and renamedget_relevant_stocksiexfinance.stocks.get_allis now available for the Version 1.0 Developer API only.
v0.3.5 (November 28, 2018)¶
This is a minor release from 0.3.4.
Highlights:
Adds support for intraday historical prices
Adds support for endpoint additions and updates from 8/8/2018 provider updates (including expanded cryptocurrency support)
Various bug fixes and enhancements
Enhancements¶
Adds support for intraday historical data through
get_historical_intradayofstocks.Adds support for the Sector Performance endpoint of Stocks (thank you kafana).
Adds support for the List infocus endpoint of Stocks (thank you kafana).
Adds support for the Collections endpoint of Stocks
Adds support for the Crypto endpoint of Stocks
Adds support for the Earnings Today endpoint of Stocks
Adds support for the IPO Calendar endpoint of Stocks
Adds pandas DataFrame output formatting for
get_chart,get_dividends,get_earnings,get_financials.Adds support for list-like data types for symbols (tuple, pandas.Series, numpy.ndarray, etc)
Sets index of
DataFramehistorical and time series data topandas.DatetimeIndexfor easier sorting and wrangling (thank you Brian Wylie) GH83
Bug Fixes¶
Backward Compatability¶
Stockandget_historical_datahave been moved toiexfinance.stocks. The top-level functions remain with warnings but will be deprecated in v0.4.0.
v0.3.4 (July 12, 2018)¶
This is a minor release from 0.3.3.
Highlights:
Adds and updates endpoints related to the May 25, 2018 provider update to the IEX API
New Features¶
Added support for the Largest Trades endpoint through the
get_largest_tradesmethod ofStock
Enhancements¶
v0.3.3 (April 21, 2018)¶
This is a minor release from 0.3.2 which repairs PyPi upload and installation issues.
Please see the release notes for v0.3.2 for more information on the latest updates. This version simply repairs installation issues.
v0.3.2 (April 21, 2018)¶
This is a minor release from 0.3.1, which repairs various bugs and adds minor enhancements.
New Features¶
Adds decimal parsing option (thank you reixd)
- Adds support for market movers through the Stocks list endpoint
Enhancements¶
Adds default date paremeters (thank you stubs)
Code refactoring for performance and simplicity
v0.3.1 (March 9, 2018)¶
This is a minor release from 0.3.0, which repairs various bugs related to the Stocks endpoints.
Enhancements¶
Significant cleanup and rebuild of iexfinance docs <https://addisonlynch.github.io/iexfinance>.
v0.3.0 (February 1, 2018)¶
This is a major release from 0.2.0, and we recommend that all users update.
Highlights:
Added most IEX API endpoints (from Stocks, Reference Data, IEX Market Data, and IEX Stats)
Added get_historical_data for the retrieval of time-series data from the chart endpoint.
Added support for
filter, a parameter which allows the filtering of endpoint requests.Pandas DataFrame formatting support.
What’s new in v0.3.0
New Features¶
Added support for IEX Market Data
Added support for IEX Stats
Added support for Historical data through the Stocks chart endpoint
Added Pandas as an output format for most endpoints (excluding IEX Reference Data).
Added support for requests caching using requests-cache
Enhancements¶
Changes¶
Merged Share and Batch classes into StockReader class - Changed top-level IexFinance function to Stock()
Removes simplejson, mock, and nose as dependencies.
Splits requirements into install requirements (requirements.txt) and testing requirements (requirements-test.txt)
Stocks now downloads endpoints on a per-request basis, not at instantiation
Adds requirement that requests must be limited to 10 endpoints at once for Stocks endpoints
Backward Compability¶
The top-level
IexFinancefunction is nowStockWithin the
StockReaderclass (to retrieve stocks endpoints): -refreshhas been removed. Simply conduct another endpoint request to download the most updated data -get_select_datapointshas been replaced withfilter. -get_select_endpointshas been replaced withget_endpoints