Skip to content

Releases: dpguthrie/yahooquery

v2.4.1

Choose a tag to compare

@dpguthrie dpguthrie released this 15 May 14:53
6761cf8

What's Changed

2.4.1

Fix

  • Fix bug related to period2 in fundamentals endpoint

Full Changelog: v2.4.0...v2.4.1

2.4.0

Choose a tag to compare

@dpguthrie dpguthrie released this 13 May 19:54
d6ec3a8

What's Changed

2.4.0

Update

  • Update to use uv for packaging and publishing
  • Folder, file structure
  • validate_symbols method now returns a tuple of valid and invalid symbols

Add

  • curl_cffi to dependencies instead of requests for session management

2.3.7

Choose a tag to compare

@dpguthrie dpguthrie released this 16 Dec 18:43
57a73fc

2.3.7

Add

  • Logic for handling setting up a session when a consent screen is encountered. This is primarily seen in European countries
    and should allow for the continued use of this package.
  • Keyword argument, setup_url, to the base _YahooFinance class that allows a user to override the url used in setting up the session. As a default the Yahoo Finance home page is used (https://finance.yahoo.com). You can also create an environment variable, YF_SETUP_URL that will be used if set. Example usage:
    import yahooquery as yq
    
    t = yq.Ticker('aapl', setup_url='https://finance.yahoo.com/quote/AAPL')

Remove

  • Webdriver manager is no longer used internally. Selenium Manager is now fully included with selenium 4.10.0, so this package is no longer needed.

2.3.6

Choose a tag to compare

@dpguthrie dpguthrie released this 08 Dec 16:13
ff568c8

2.3.6

Fix

  • Use the previously instantiated session within the Ticker class (that may also contain proxies, other important session info) to retrieve both cookies and a crumb

2.3.5

Choose a tag to compare

@dpguthrie dpguthrie released this 06 Dec 21:48

2.3.5

Fix

  • Fix bad assignment to crumb when using username/password for premium access

2.3.4

Choose a tag to compare

@dpguthrie dpguthrie released this 06 Dec 20:44
1a8269b

2.3.4

Update

  • Use a different url to try and obtain cookies (fc.yahoo.com no longer works)
  • Refactor how a session is initialized
  • Use the country as a way to make the request to obtain cookies be more location specific

Important Note

The biggest change is to no longer use fc.yahoo.com as the means to initially retrieve the cookies and crumb required to make requests. This is still like playing whack-a-mole a bit and will still probably be location dependent on whether or not you're actually able to retrieve data from the different properties/methods.

2.3.3

Choose a tag to compare

@dpguthrie dpguthrie released this 28 Oct 17:38
5da0b49

Added

  • Initialize session with required cookies
  • Create larger list of rotating user-agents with related headers
  • Added webdriver-manager for selenium functionality
  • Changed from flit to poetry
  • Added additional package files that will help with testing and development

Important Note

This is a somewhat experimental release with trying to get around Yahoo's requirement for a crumb when making a request. I don't imagine this to work 100% of the time and will most likely have to iterate on this implementation to get around other ways YF tries to stop these requests.

2.3.2

Choose a tag to compare

@dpguthrie dpguthrie released this 15 Jul 19:30

Update

  • Update quote summary endpoint from v10 to v6. The v10 endpoint currently requires a crumb as a query parameter, which is not something this library does not currently support.

Fix

  • Bug related to retrieving screen IDs with a number

Contributors

2.3.1

Choose a tag to compare

@dpguthrie dpguthrie released this 18 Mar 20:47

FIx

  • Fixes for history method

v2.3.0

Choose a tag to compare

@dpguthrie dpguthrie released this 22 Jan 19:37
041fc2a

Added

  • dividend_history method that returns historical dividends paid for a given symbol(s)

Fixed

  • history method has been refactored pretty heavily with the help of @maread99 (Thank you!). Timezone info is now included in the date column. Also, a dataframe will always be returned regardless of bad symbols existing. Previously, a dictionary was returned with the json response for the bad symbol(s) and dataframes for successful responses.