dpguthrie / dpguthrie/yahooquery

'grossProfits' missing in financial_data

Open
#277 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
920
Forks
164
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
According to the [docs](https://yahooquery.dpguthrie.com/guide/ticker/modules/#financial_data), `grossProfits` should be within `financial_data`. This however isn't the case, and we have to run `get_financial_data(["GrossProfit"], trailing=False)` explicitly to find it

**To Reproduce**
Steps to reproduce the behavior:
```py
import yahooquery

yq = yahooquery.Ticker("aapl")

data = yq.financial_data["aapl"]
# No "grossProfit" is in the dict
```

**Expected behavior**
`grossProfit` should already be in the `yq.financial_ticker`, but it isn't.

**Screenshots**
![image](https://github.com/dpguthrie/yahooquery/assets/107697082/aae1742c-17d8-4105-be10-ed0940806335)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.