dpguthrie / dpguthrie/yahooquery
User not logging in
- Dominant language
- Python
- Stars
- 920
- Forks
- 164
- PR merge metrics
- No merged PRs in 30d
Description
### Discussed in https://github.com/dpguthrie/yahooquery/discussions/181
Originally posted by **MaxL777** April 21, 2023
I am using yahooquery version is 2.3.1 and when running the below code I get an error. I installed yahooquery[premium]. I am certain my username and pw are correct. Any help is appreciated.
**Here is the code:**
`from yahooquery import Ticker
symbols = ['fb', 'aapl', 'amzn', 'nflx', 'goog']
faang = Ticker(symbols, asynchronous=True)
faang.login(username="my_user_name@yahoo.com", password="my_pw")
income_statement = faang.p_income_statement('q')
cash_flow = faang.p_cash_flow('q')
balance_sheet = faang.p_balance_sheet('q')
company_360 = faang.p_company_360
vma = faang.p_valuation_measures('a')
vmq = faang.p_valuation_measures('q')
vmm = faang.p_valuation_measures('m')`
vma
**Here is the error:**
`{'amzn': 'User is not logged in',
'fb': 'User is not logged in',
'goog': 'User is not logged in',
'nflx': 'User is not logged in',
'aapl': 'User is not logged in'}`
Contributor guide
Assessment
This issue has not been assessed yet.