defeatbeta-api 0.0.44
An open-source alternative to Yahoo Finance's market data APIs with higher reliability.
License: Apache-2.0
Requires Python: >=3.7

<img src="./doc/logo.webp" height="100" alt="">

# Defeat Beta API

<a target="new" href="https://pypi.python.org/pypi/defeatbeta-api"><img border=0 src="https://img.shields.io/badge/python-3.9+-blue.svg?style=flat" alt="Python version"></a>
<a target="new" href="https://pypi.python.org/pypi/defeatbeta-api"><img border=0 src="https://img.shields.io/pypi/v/defeatbeta-api.svg?maxAge=60%" alt="PyPi version"></a>
<a target="new" href="https://pypi.python.org/pypi/defeatbeta-api"><img border=0 src="https://img.shields.io/pypi/dm/defeatbeta-api.svg?maxAge=2592000&label=installs&color=%23438546" alt="PyPi downloads"></a>
<a target="new" href="https://github.com/defeat-beta/defeatbeta-api"><img border=0 src="https://img.shields.io/github/stars/defeat-beta/defeatbeta-api.svg?style=social&label=Star&maxAge=60" alt="Star this repo"></a>


An open-source alternative to Yahoo Finance's market data APIs with higher reliability.

See the [example guide](doc/README.md) for detailed usage instructions, and try it out directly in an interactive environment using
[![JupyterLab](https://img.shields.io/badge/JupyterLab-blue?logo=jupyter&logoColor=white)](https://mybinder.org/v2/gh/defeat-beta/defeatbeta-api/main?urlpath=lab/tree/notebooks/06_tutorial_dcf.ipynb).

The list of changes can be found in the [Changelog](CHANGELOG.rst)

## Introduction

✅ **High-Performance & Reliable Data Engine**: Provides a stable, reproducible market data source fully hosted on Hugging Face’s [yahoo-finance-data](https://huggingface.co/datasets/defeatbeta/yahoo-finance-data) dataset—eliminating scraping issues and rate limits. Powered by [DuckDB’s OLAP engine](https://duckdb.org/) and the [`cache_httpfs`](https://duckdb.org/community_extensions/extensions/cache_httpfs.html) extension, the system delivers sub-second analytical queries with full SQL compatibility, giving you a unified, high-performance workflow for large-scale financial data.

✅ **Extended Financial Data**: Includes [TTM EPS](doc/api/Value_Examples.md#1-stock-ttm-eps), [TTM PE](doc/api/Value_Examples.md#2-stock-ttm-pe), [Market Cap](doc/api/Value_Examples.md#3-stock-historical-market-cap), [PS Ratio](doc/api/Value_Examples.md#4-stock-historical-ps-ratio), [PB Ratio](doc/api/Value_Examples.md#5-stock-historical-pb-ratio), [PEG Ratio](doc/api/Value_Examples.md#6-stock-historical-peg-ratio), [ROE](doc/api/Value_Examples.md#7-stock-historical-roe), [ROIC](doc/api/Value_Examples.md#9-stock-historical-roic), [WACC](doc/api/Value_Examples.md#12-stock-historical-wacc), [ROA](doc/api/Value_Examples.md#8-stock-historical-roa), [Equity Multiplier](doc/api/Value_Examples.md#10-stock-historical-equity-multiplier), [Assert Turnover](doc/api/Value_Examples.md#11-stock-historical-assert-turnover), [SEC Filings](doc/api/Info_Examples.md#2-sec-filing), [Earnings call transcripts](doc/api/Info_Examples.md#4-accessing-earnings-call-transcripts), [Stock News](doc/api/Info_Examples.md#5-accessing-financial-news), [Revenue by segment](doc/api/Finance_Examples.md#91-stock-revenue-by-segment) and [Revenue by geography](doc/api/Finance_Examples.md#92-stock-revenue-by-geography) etc. (continuously expanding).

✅ **Automated DCF Valuation**: Generate comprehensive [Discounted Cash Flow (DCF) analysis](doc/api/DCF_Examples.md) with professional Excel output. Automatically calculates WACC, projects 10-year cash flows, estimates enterprise value and fair price, and provides buy/sell recommendations—all in a ready-to-use, fully editable spreadsheet.

✅ **LLM-Powered Analysis**: Use Large Language Models (LLMs) to analyze [earnings call transcripts](doc/api/LLM_KeyData_Example.md), [quarterly financial changes](doc/api/LLM_ChangeData_Example.md), and [quarterly forecasts](doc/api/LLM_ForecastData_Example.md) to extract key data, understand metric changes, and interpret forecast drivers.

✅ **MCP Server implementation**: [A MCP server implementation](mcp/README.md) for `defeatbeta-api`, provides AI access analysis through MCP. [Click here](doc/mcp/README.md) to discover more ways to use MCP.

## Quickstart

### Installation

Install `defeatbeta-api` from [PYPI](https://pypi.org/project/defeatbeta-api/) using `pip`:

**MacOS / Linux**
``` {.sourceCode .bash}
$ pip install defeatbeta-api
```

**Windows**
> ⚠️ Requires WSL/Docker Due to dependencies on cache_httpfs (unsupported on Windows):

Option 1: WSL (Recommended)
1. Install [WSL](https://ubuntu.com/desktop/wsl)
2. In WSL terminal:
``` {.sourceCode .bash}
$ pip install defeatbeta-api
```

Option 2: Docker
1. Install [Docker Desktop](https://docs.docker.com/desktop/setup/install/windows-install/)
2. Run in Linux container:
``` {.sourceCode .bash}
docker run -it python:latest pip install defeatbeta-api
```

### Usage

Instantiate the `Ticker` class with a company's ticker symbol. For example, to get Tesla, Inc. data:

```python
import defeatbeta_api
from defeatbeta_api.data.ticker import Ticker
ticker = Ticker('TSLA')
```
The following examples demonstrate common API usage patterns (see more examples in [this documentation](doc/README)):

#### Example: Fetching Stock Price Data
```python
ticker.price()
```
```text
>>> ticker.price()
     symbol report_date    open   close    high     low     volume
0      TSLA  2010-06-29    1.27    1.59    1.67    1.17  281494500
1      TSLA  2010-06-30    1.72    1.59    2.03    1.55  257806500
2      TSLA  2010-07-01    1.67    1.46    1.73    1.35  123282000
3      TSLA  2010-07-02    1.53    1.28    1.54    1.25   77097000
4      TSLA  2010-07-06    1.33    1.07    1.33    1.06  103003500
...     ...         ...     ...     ...     ...     ...        ...
3716   TSLA  2025-04-07  223.78  233.29  252.00  214.25  183453800
3717   TSLA  2025-04-08  245.00  221.86  250.44  217.80  171603500
3718   TSLA  2025-04-09  224.69  272.20  274.69  223.88  219433400
3719   TSLA  2025-04-10  260.00  252.40  262.49  239.33  181722600
3720   TSLA  2025-04-11  251.84  252.31  257.74  241.36  128656900

[3721 rows x 7 columns]
```

#### Example: Accessing Financial Statements

```python
statement = ticker.quarterly_income_statement()
print(statement.print_pretty_table())
```
```text
>>> statement=ticker.quarterly_income_statement()
>>> statement.print_pretty_table()
|------------------------------------------------------------+------------+---------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------|
|                         Breakdown                          |    TTM     |  2024-12-31   | 2024-09-30 | 2024-06-30 | 2024-03-31 | 2023-12-31 | 2023-09-30 | 2023-06-30 | 2023-03-31 | 2022-12-31 | 2022-09-30 | 2022-06-30 |
|------------------------------------------------------------+------------+---------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------|
| +Total Revenue                                             | 97,690,000 | 25,707,000    | 25,182,000 | 25,500,000 | 21,301,000 | 25,167,000 | 23,350,000 | 24,927,000 | *          | *          | *          | 16,934,000 |
|  Operating Revenue                                         | 97,690,000 | 25,707,000    | 25,182,000 | 25,500,000 | 21,301,000 | 25,167,000 | 23,350,000 | 24,927,000 | *          | *          | *          | 16,934,000 |
| Cost of Revenue                                            | 80,240,000 | 21,528,000    | 20,185,000 | 20,922,000 | 17,605,000 | 20,729,000 | 19,172,000 | 20,394,000 | *          | *          | *          | 12,700,000 |
| Gross Profit                                               | 17,450,000 | 4,179,000     | 4,997,000  | 4,578,000  | 3,696,000  | 4,438,000  | 4,178,000  | 4,533,000  | *          | *          | *          | 4,234,000  |
| +Operating Expense                                         | 9,690,000  | 2,589,000     | 2,225,000  | 2,351,000  | 2,525,000  | 2,374,000  | 2,414,000  | 2,134,000  | *          | *          | *          | 1,628,000  |
|  Selling General and Administrative                        | 5,150,000  | 1,313,000     | 1,186,000  | 1,277,000  | 1,374,000  | 1,280,000  | 1,253,000  | 1,191,000  | *          | *          | *          | 961,000    |
|  Research & Development                                    | 4,540,000  | 1,276,000     | 1,039,000  | 1,074,000  | 1,151,000  | 1,094,000  | 1,161,000  | 943,000    | *          | *          | *          | 667,000    |
| Operating Income                                           | 7,760,000  | 1,590,000     | 2,772,000  | 2,227,000  | 1,171,000  | 2,064,000  | 1,764,000  | 2,399,000  | *          | *          | *          | 2,606,000  |
| +Net Non-Operating Interest Income Expense                 | 1,219,000  | 346,000       | 337,000    | 262,000    | 274,000    | 272,000    | 244,000    | 210,000    | *          | *          | *          | -18,000    |
|  Non-Operating Interest Income                             | 1,569,000  | 442,000       | 429,000    | 348,000    | 350,000    | 333,000    | 282,000    | 238,000    | *          | *          | *          | 26,000     |
|  Non-Operating Interest Expense                            | 350,000    | 96,000        | 92,000     | 86,000     | 76,000     | 61,000     | 38,000     | 28,000     | *          | *          | *          | 44,000     |
| +Other Income Expense                                      | 11,000     | 830,000       | -325,000   | -602,000   | 108,000    | -145,000   | 37,000     | 328,000    | *          | *          | *          | -114,000   |
|  +Special Income Charges                                   | -684,000   | -7,000        | -55,000    | -622,000   | *          | 0          | 0          | 0          | *          | -34,000    | 0          | -142,000   |
|   Restructuring & Mergers Acquisition                      | 684,000    | 7,000         | 55,000     | 622,000    | *          | 0          | 0          | 0          | *          | 34,000     | 0          | 142,000    |
|  Other Non Operating Income Expenses                       | 695,000    | 837,000       | -270,000   | 20,000     | 108,000    | -145,000   | 37,000     | 328,000    | *          | *          | *          | 28,000     |
| Pretax Income                                              | 8,990,000  | 2,766,000     | 2,784,000  | 1,887,000  | 1,553,000  | 2,191,000  | 2,045,000  | 2,937,000  | *          | *          | *          | 2,474,000  |
| Tax Provision                                              | 1,837,000  | 434,000       | 601,000    | 393,000    | 409,000    | -5,752,000 | 167,000    | 323,000    | *          | *          | *          | 205,000    |
| +Net Income Common Stockholders                            | 7,130,000  | 2,314,000     | 2,167,000  | 1,478,000  | 1,171,000  | 7,927,000  | 1,851,000  | 2,703,000  | *          | *          | *          | 2,256,000  |
|  +Net Income(Attributable to Parent Company Shareholders)  | 7,130,000  | 2,356,000     | 2,167,000  | 1,478,000  | 1,129,000  | 7,930,000  | 1,853,000  | 2,703,000  | *          | *          | *          | 2,259,000  |
|   +Net Income Including Non-Controlling Interests          | 7,153,000  | 2,332,000     | 2,183,000  | 1,494,000  | 1,144,000  | 7,943,000  | 1,878,000  | 2,614,000  | *          | *          | *          | 2,269,000  |
|    Net Income Continuous Operations                        | 7,153,000  | 2,332,000     | 2,183,000  | 1,494,000  | 1,144,000  | 7,943,000  | 1,878,000  | 2,614,000  | *          | *          | *          | 2,269,000  |
|   Minority Interests                                       | -23,000    | 24,000        | -16,000    | -16,000    | -15,000    | -13,000    | -25,000    | 89,000     | *          | *          | *          | -10,000    |
|  Otherunder Preferred Stock Dividend                       | *          | *             | 0          | *          | -42,000    | *          | 2,000      | 0          | -5,000     | *          | 0          | 3,000      |
| Adjustments for Dilutive Securities                        | 0          | *             | *          | *          | *          | 0          | 0          | 0          | *          | 0          | 0          | 0          |
| Diluted NI Available to Com Stockholders                   | 7,130,000  | 2,314,000     | 2,167,000  | 1,478,000  | 1,171,000  | 7,927,000  | 1,851,000  | 2,703,000  | *          | *          | *          | 2,256,000  |
| Basic EPS                                                  | 3.41       | *             | 0.68       | 0.46       | 0.37       | 2.49       | 0.58       | 0.85       | *          | *          | *          | 0.73       |
| Diluted EPS                                                | 3.1        | *             | 0.62       | 0.42       | 0.34       | 2.27       | 0.53       | 0.78       | *          | *          | *          | 0.65       |
| Basic Average Shares                                       | 3,168,250  | *             | 3,198,000  | 3,191,000  | 3,186,000  | 3,181,000  | 3,176,000  | 3,171,000  | *          | *          | *          | 3,111,000  |
| Diluted Average Shares                                     | 3,480,250  | *             | 3,497,000  | 3,481,000  | 3,484,000  | 3,492,000  | 3,493,000  | 3,478,000  | *          | *          | *          | 3,464,000  |
| Total Operating Income as Reported                         | 7,076,000  | 1,583,000     | 2,717,000  | 1,605,000  | 1,171,000  | 2,064,000  | 1,764,000  | 2,399,000  | *          | *          | *          | 2,464,000  |
| Rent Expense Supplemental                                  | 1,003,000  | 242,000       | 247,000    | 245,000    | 269,000    | 296,000    | 301,000    | 338,000    | *          | *          | *          | *          |
| Total Expenses                                             | 89,930,000 | 24,117,000    | 22,410,000 | 23,273,000 | 20,130,000 | 23,103,000 | 21,586,000 | 22,528,000 | *          | *          | *          | 14,328,000 |
| Net Income from Continuing & Discontinued Operation        | 7,130,000  | 2,356,000     | 2,167,000  | 1,478,000  | 1,129,000  | 7,930,000  | 1,853,000  | 2,703,000  | *          | *          | *          | 2,259,000  |
| Normalized Income                                          | 7,677,200  | 2361901663.05 | 2,209,900  | 1,969,380  | 1,129,000  | 7,930,000  | 1,853,000  | 2,703,000  | *          | *          | *          | 2,389,640  |
| Interest Income                                            | 1,569,000  | 442,000       | 429,000    | 348,000    | 350,000    | 333,000    | 282,000    | 238,000    | *          | *          | *          | 26,000     |
| Interest Expense                                           | 350,000    | 96,000        | 92,000     | 86,000     | 76,000     | 61,000     | 38,000     | 28,000     | *          | *          | *          | 44,000     |
| Net Interest Income                                        | 1,219,000  | 346,000       | 337,000    | 262,000    | 274,000    | 272,000    | 244,000    | 210,000    | *          | *          | *          | -18,000    |
| EBIT                                                       | 9,340,000  | 2,862,000     | 2,876,000  | 1,973,000  | 1,629,000  | 2,252,000  | 2,083,000  | 2,965,000  | *          | *          | *          | 2,518,000  |
| EBITDA                                                     | 14,708,000 | 4,358,000     | 4,224,000  | 3,251,000  | 2,875,000  | 3,484,000  | 3,318,000  | 4,119,000  | *          | *          | *          | *          |
| Reconciled Cost of Revenue                                 | 80,240,000 | 21,528,000    | 20,185,000 | 20,922,000 | 17,605,000 | 20,729,000 | 19,172,000 | 20,394,000 | *          | *          | *          | 12,700,000 |
| Reconciled Depreciation                                    | 5,368,000  | 1,496,000     | 1,348,000  | 1,278,000  | 1,246,000  | 1,232,000  | 1,235,000  | 1,154,000  | *          | *          | *          | 922,000    |
| Net Income from Continuing Operation Net Minority Interest | 7,130,000  | 2,356,000     | 2,167,000  | 1,478,000  | 1,129,000  | 7,930,000  | 1,853,000  | 2,703,000  | *          | *          | *          | 2,259,000  |
| Total Unusual Items Excluding Goodwill                     | -684,000   | -7,000        | -55,000    | -622,000   | *          | 0          | 0          | 0          | *          | -34,000    | 0          | -142,000   |
| Total Unusual Items                                        | -684,000   | -7,000        | -55,000    | -622,000   | *          | 0          | 0          | 0          | *          | -34,000    | 0          | -142,000   |
| Normalized EBITDA                                          | 15,392,000 | 4,365,000     | 4,279,000  | 3,873,000  | 2,875,000  | 3,484,000  | 3,318,000  | 4,119,000  | *          | *          | *          | 3,582,000  |
| Tax Rate for Calcs                                         | 0.2        | 0.16          | 0.22       | 0.21       | 0.26       | 0.21       | 0.08       | 0.11       | *          | *          | *          | 0.08       |
| Tax Effect of Unusual Items                                | -136,800   | -1098336.95   | -12,100    | -130,620   | 0          | 0          | 0          | 0          | *          | *          | *          | -11,360    |
|------------------------------------------------------------+------------+---------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------|
```

#### Example: Accessing Earnings Call Transcripts
##### Fetching transcripts list
```python
transcripts = ticker.earning_call_transcripts()
transcripts.get_transcripts_list()
```
```text
>>> transcripts = ticker.earning_call_transcripts()
>>> transcripts.get_transcripts_list()
   symbol  fiscal_year  fiscal_quarter report_date                                        transcripts  transcripts_id
0    TSLA         2011               2  2011-08-03  [{'paragraph_number': 1, 'speaker': 'Executive...          303288
1    TSLA         2011               3  2011-11-03  [{'paragraph_number': 1, 'speaker': 'Executive...          303289
2    TSLA         2011               4  2012-02-16  [{'paragraph_number': 1, 'speaker': 'Operator'...          303290
3    TSLA         2012               1  2012-05-09  [{'paragraph_number': 1, 'speaker': 'Executive...          303291
4    TSLA         2012               2  2012-07-25  [{'paragraph_number': 1, 'speaker': 'Executive...          303292
5    TSLA         2012               3  2012-11-05  [{'paragraph_number': 1, 'speaker': 'Executive...          303293
6    TSLA         2012               4  2013-02-20  [{'paragraph_number': 1, 'speaker': 'Executive...          303294
7    TSLA         2013               1  2013-05-08  [{'paragraph_number': 1, 'speaker': 'Executive...          303295
8    TSLA         2013               2  2013-08-07  [{'paragraph_number': 1, 'speaker': 'Executive...          303296
9    TSLA         2013               3  2013-11-05  [{'paragraph_number': 1, 'speaker': 'Executive...          303297
10   TSLA         2013               4  2014-02-19  [{'paragraph_number': 1, 'speaker': 'Executive...          303298
11   TSLA         2014               1  2014-05-08  [{'paragraph_number': 1, 'speaker': 'Executive...          303299
12   TSLA         2014               2  2014-08-01  [{'paragraph_number': 1, 'speaker': 'Executive...          303300
13   TSLA         2014               3  2014-11-05  [{'paragraph_number': 1, 'speaker': 'Executive...          303301
14   TSLA         2014               4  2015-02-12  [{'paragraph_number': 1, 'speaker': 'Executive...          303302
15   TSLA         2015               1  2015-05-05  [{'paragraph_number': 1, 'speaker': 'Executive...          303303
16   TSLA         2015               2  2015-07-30  [{'paragraph_number': 1, 'speaker': 'Executive...          303304
17   TSLA         2015               3  2015-10-30  [{'paragraph_number': 1, 'speaker': 'Executive...          303305
18   TSLA         2015               4  2016-02-10  [{'paragraph_number': 1, 'speaker': 'Executive...          303306
19   TSLA         2016               1  2016-05-05  [{'paragraph_number': 1, 'speaker': 'Executive...          303308
20   TSLA         2016               2  2016-08-03  [{'paragraph_number': 1, 'speaker': 'Executive...          303310
21   TSLA         2016               3  2016-10-27  [{'paragraph_number': 1, 'speaker': 'Executive...          303312
22   TSLA         2016               4  2017-02-23  [{'paragraph_number': 1, 'speaker': 'Executive...          303314
23   TSLA         2017               1  2017-05-04  [{'paragraph_number': 1, 'speaker': 'Executive...          303316
24   TSLA         2017               2  2017-08-03  [{'paragraph_number': 1, 'speaker': 'Executive...          303318
25   TSLA         2017               3  2017-11-02  [{'paragraph_number': 1, 'speaker': 'Executive...          303320
26   TSLA         2017               4  2018-02-07  [{'paragraph_number': 1, 'speaker': 'Executive...          303322
27   TSLA         2018               1  2018-05-03  [{'paragraph_number': 1, 'speaker': 'Executive...          303324
28   TSLA         2018               2  2018-08-02  [{'paragraph_number': 1, 'speaker': 'Executive...          303327
29   TSLA         2018               3  2018-10-25  [{'paragraph_number': 1, 'speaker': 'Executive...          303329
30   TSLA         2018               4  2019-01-31  [{'paragraph_number': 1, 'speaker': 'Operator'...          303331
31   TSLA         2019               1  2019-04-25  [{'paragraph_number': 1, 'speaker': 'Operator'...          303333
32   TSLA         2019               2  2019-07-24  [{'paragraph_number': 1, 'speaker': 'Operator'...          303335
33   TSLA         2019               3  2019-10-24  [{'paragraph_number': 1, 'speaker': 'Operator'...          303337
34   TSLA         2019               4  2020-01-30  [{'paragraph_number': 1, 'speaker': 'Operator'...          303339
35   TSLA         2020               1  2020-04-29  [{'paragraph_number': 1, 'speaker': 'Operator'...          303341
36   TSLA         2020               2  2020-07-22  [{'paragraph_number': 1, 'speaker': 'Operator'...          303343
37   TSLA         2020               3  2020-10-21  [{'paragraph_number': 1, 'speaker': 'Operator'...          303345
38   TSLA         2020               4  2021-01-27  [{'paragraph_number': 1, 'speaker': 'Operator'...          303347
39   TSLA         2021               1  2021-04-27  [{'paragraph_number': 1, 'speaker': 'Operator'...          303349
40   TSLA         2021               2  2021-07-26  [{'paragraph_number': 1, 'speaker': 'Operator'...          303350
41   TSLA         2021               3  2021-10-20  [{'paragraph_number': 1, 'speaker': 'Lars Mora...          303352
42   TSLA         2021               4  2022-01-26  [{'paragraph_number': 1, 'speaker': 'Martin Vi...          303355
43   TSLA         2022               1  2022-04-20  [{'paragraph_number': 1, 'speaker': 'Martin Vi...          303358
44   TSLA         2022               2  2022-07-20  [{'paragraph_number': 1, 'speaker': 'Martin Vi...          303360
45   TSLA         2022               3  2022-10-19  [{'paragraph_number': 1, 'speaker': 'Martin Vi...          303362
46   TSLA         2022               4  2023-01-25  [{'paragraph_number': 1, 'speaker': 'Martin Vi...          303364
47   TSLA         2023               1  2023-04-19  [{'paragraph_number': 1, 'speaker': 'Martin Vi...          303366
48   TSLA         2023               2  2023-07-19  [{'paragraph_number': 1, 'speaker': 'Martin Vi...          303370
49   TSLA         2023               3  2023-10-18  [{'paragraph_number': 1, 'speaker': 'Elon Musk...          303372
50   TSLA         2023               4  2024-01-24  [{'paragraph_number': 1, 'speaker': 'Martin Vi...          303374
51   TSLA         2024               1  2024-04-23  [{'paragraph_number': 1, 'speaker': 'Martin Vi...          303376
52   TSLA         2024               2  2024-07-24  [{'paragraph_number': 1, 'speaker': 'Travis Ax...          303378
53   TSLA         2024               3  2024-10-23  [{'paragraph_number': 1, 'speaker': 'Travis Ax...          303380
54   TSLA         2024               4  2025-01-29  [{'paragraph_number': 1, 'speaker': 'Operator'...          486436
```

##### Fetching the Q4 2024 Earnings Call Transcript
```python
transcripts = ticker.earning_call_transcripts()
transcripts.get_transcript(2024, 4)
```
```text
>>> transcripts.get_transcript(2024, 4)
    paragraph_number         speaker                                            content
0                  1        Operator  Good afternoon, everyone and welcome to Tesla'...
1                  2       Elon Musk  Thank you. So, in summary, in Q4, we set a rec...
2                  3  Travis Axelrod  Great. Thank you very much, Elon. And, Vaibhav...
3                  4  Vaibhav Taneja  Yeah, I'll talk about things on Earth. As Elon...
4                  5  Travis Axelrod  Great. Thank you very much, Vaibhav. Now, we w...
..               ...             ...                                                ...
74                75  Vaibhav Taneja  So, is your question, Dan, that how do we marr...
75                76  Travis Axelrod                 Go ahead and unmute yourself, Dan.
76                77        Dan Levy  Yeah. More so just how much more aggressively ...
77                78       Elon Musk  Well, right now, the constraint we're trying t...
78                79  Travis Axelrod  Great. Alrighty. And with that, I think we are...

[79 rows x 3 columns]
```

##### Print Formatted Table of 2024 Q4 Earnings Call

```python
transcripts = ticker.earning_call_transcripts()
transcripts.print_pretty_table(2024, 4)
```
```text
>>> transcripts.print_pretty_table(2024, 4)
Earnings Call Transcripts FY2024 Q4 (Reported on 2025-01-29)
+--------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|   paragraph_number | speaker                             | content