> For the complete documentation index, see [llms.txt](https://klickanalytics.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://klickanalytics.gitbook.io/docs/global-data/financial-scoring.md).

# Financial Scoring

In our fundamental data coverage, we've enhanced our '[Fundamental](https://klickanalytics.com/symbol_financials_global?s=TSLA)' app to also display the following new financial scoring numbers along with key indicators i.e.

![image.png](https://cloud.headwayapp.co/changelogs_images/images/big/000/104/459-812713cd28b4fe7fa09c7a8d47ed2c0487ffa2c6.png)

Following are the calculation for our stock scorings.

### Altman Z-Score:

The Altman Z-score is calculated by using the following formula:

A = working\_capital / total\_assets

B = retained\_earnings / total\_assets

C = EBIT / total\_assets

D = market\_cap / total\_liabilities

E = revenue / total\_assets

Altman Z-Score = 1.2A + 1.4B + 3.3C + 0.6D + 1.0E

### Piotroski Score:

The score consists of the following criteria (each rule assigning one point):

**Profitability Criteria:**

The Rules for this Criteria (4 points):

1. roa\_ttm > 0: Score +1
2. net\_income\_ttm > 0: Score +1
3. operating\_cashflow\_ttm > 0: Score +1
4. operating\_cashflow\_ttm > net\_income\_ttm: Score +1

Leverage, Liquidity, and Source of Funds Criteria:

**The Rules for this Criteria:**

5. current\_ratio\_this\_year > current\_ratio\_last\_year: Score + 1
6. long\_term\_debt\_this\_year < long\_term\_debt\_last\_year: Score + 1
7. outstanding\_shares\_this\_year < outstanding\_shares\_last\_year: Score + 1

**Operating Efficiency Criteria:**

The Rules for this criteria:

8. gross\_margin\_quarter > gross\_margin\_last\_year\_quarter: Score +1
9. asset\_turnover\_ttm > asset\_turnover\_last\_year: Score + 1

The Piotroski score is a discrete score between zero and nine that reflects nine criteria used to determine the strength of a firm's financial position.

To access: Search for any global symbol say TSLA, then from the symbol menu, select Financials > [Fundamentals](https://klickanalytics.com/symbol_financials_global?s=TSLA)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://klickanalytics.gitbook.io/docs/global-data/financial-scoring.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
