JECSand / yahoofinancials

A powerful financial data module used for pulling data from Yahoo Finance. This module can pull fundamental and technical data for stocks, indexes, currencies, cryptos, ETFs, Mutual Funds, U.S. Treasuries, and commodity futures.
https://pypi.python.org/pypi/yahoofinancials
MIT License
899 stars 214 forks source link

Assertion Errors when running the test py #64

Closed ipccheng closed 1 year ago

ipccheng commented 4 years ago

$ python test_yahoofinancials.py .FFF

FAIL: test_yf_fundamentals (main.TestModule)

Traceback (most recent call last): File "test_yahoofinancials.py", line 68, in test_yf_fundamentals self.assertEqual(result, True) AssertionError: False != True

====================================================================== FAIL: test_yf_historical_price (main.TestModule)

Traceback (most recent call last): File "test_yahoofinancials.py", line 88, in test_yf_historical_price self.assertDictEqual(single_stock_prices['C']['prices'][0], expect_dict) AssertionError: {'high': 49.099998474121094, 'volume': 125737200, 'formatted_date': '2015-01-12' [truncated]... != {'high': 49.099998474121094, 'volume': 125737200, 'low': 46.599998474121094, 'cl [truncated]...

mnatz commented 4 years ago

I have the same error. Any progress on solving this issue?