mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-04 08:22:26 +00:00
* Update generate_terminal_markdown.py * updates * update workflows * Automated Change * tests * tests * Automated Change * Update test_generate_docs.py * Automated Change * updates * Automated Change * Update gen-docs.yml * Update test.yml * Automated Change * Update test.yml * Automated Change * Update generate_sdk_markdown.py * Automated Change * test * Automated Change * testtt23 * Automated Change * Update generate_sdk_markdown.py * Automated Change * Automated Change * added empting reference folders before autogen docs * updates * Automated Change * update tests gitactions * Automated Change * up * Automated Change * Automated Change * update pytest * Automated Change * tests * Automated Change * examples update * Automated Change * Update generate_sdk_markdown.py * Automated Change * Update test.yml * Update generate_sdk_markdown.py * strip * Automated Change * Workflow : check test update * Automated Change * Automated Change * Automated Change * Update test.yml * Automated Change * Update test.yml * Automated Change * Automated Change * up * Automated Change * Update generate_sdk_markdown.py * Automated Change * update workflows * fix guides * testing * Update gh-pages.yml * Update gh-pages.yml Co-authored-by: tehcoderer <tehcoderer@users.noreply.github.com> Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com> Co-authored-by: Chavithra PARANA <chavithra@gmail.com> Co-authored-by: Chavithra <Chavithra@users.noreply.github.com> Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com> Co-authored-by: jose-donato <jose-donato@users.noreply.github.com>
8.5 KiB
Vendored
8.5 KiB
Vendored
title, description
| title | description |
|---|---|
| earnings | OpenBB Terminal Function |
earnings
Print earnings dates and reported EPS of the company. The following fields are expected: Fiscal Date Ending and Reported EPS. [Source: Alpha Vantage]
Usage
earnings [-q] [-l LIMIT]
Parameters
| Name | Description | Default | Optional | Choices |
|---|---|---|---|---|
| b_quarter | Quarter fundamental data flag. | False | True | None |
| limit | Number of latest info | 5 | True | None |
Examples
2022 Feb 16, 05:14 (🦋) /stocks/fa/ $ earnings -l 12
MSFT Earnings
┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Fiscal Date Ending ┃ Reported EPS ┃
┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ 2021-12-31 │ 4.75 │
├────────────────────┼──────────────┤
│ 2021-06-30 │ 7.97 │
├────────────────────┼──────────────┤
│ 2020-06-30 │ 5.75 │
├────────────────────┼──────────────┤
│ 2019-06-30 │ 4.75 │
├────────────────────┼──────────────┤
│ 2018-06-30 │ 3.88 │
├────────────────────┼──────────────┤
│ 2017-06-30 │ 3.31 │
├────────────────────┼──────────────┤
│ 2016-06-30 │ 2.76 │
├────────────────────┼──────────────┤
│ 2015-06-30 │ 2.46 │
├────────────────────┼──────────────┤
│ 2014-06-30 │ 2.63 │
├────────────────────┼──────────────┤
│ 2013-06-30 │ 2.67 │
├────────────────────┼──────────────┤
│ 2012-06-30 │ 2.73 │
├────────────────────┼──────────────┤
│ 2011-06-30 │ 2.69 │
└────────────────────┴──────────────┘
2022 Feb 16, 05:15 (🦋) /stocks/fa/ $ earnings -l 12 -q
MSFT Earnings
┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┓
┃ Fiscal Date Ending ┃ Reported Date ┃ Reported EPS ┃ Estimated EPS ┃ Surprise ┃ Surprise Percentage ┃
┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━┩
│ 2021-12-31 │ 2022-01-25 │ 2.48 │ 2.31 │ 0.17 │ 7.3593 │
├────────────────────┼───────────────┼──────────────┼───────────────┼──────────┼─────────────────────┤
│ 2021-09-30 │ 2021-10-26 │ 2.27 │ 2.081 │ 0.189 │ 9.0822 │
├────────────────────┼───────────────┼──────────────┼───────────────┼──────────┼─────────────────────┤
│ 2021-06-30 │ 2021-07-27 │ 2.17 │ 1.9252 │ 0.2448 │ 12.7156 │
├────────────────────┼───────────────┼──────────────┼───────────────┼──────────┼─────────────────────┤
│ 2021-03-31 │ 2021-04-27 │ 1.95 │ 1.7781 │ 0.1719 │ 9.6676 │
├────────────────────┼───────────────┼──────────────┼───────────────┼──────────┼─────────────────────┤
│ 2020-12-31 │ 2021-01-26 │ 2.03 │ 1.6373 │ 0.3927 │ 23.9846 │
├────────────────────┼───────────────┼──────────────┼───────────────┼──────────┼─────────────────────┤
│ 2020-09-30 │ 2020-10-27 │ 1.82 │ 1.546 │ 0.274 │ 17.7232 │
├────────────────────┼───────────────┼──────────────┼───────────────┼──────────┼─────────────────────┤
│ 2020-06-30 │ 2020-07-22 │ 1.46 │ 1.372 │ 0.088 │ 6.414 │
├────────────────────┼───────────────┼──────────────┼───────────────┼──────────┼─────────────────────┤
│ 2020-03-31 │ 2020-04-29 │ 1.4 │ 1.2688 │ 0.1312 │ 10.3405 │
├────────────────────┼───────────────┼──────────────┼───────────────┼──────────┼─────────────────────┤
│ 2019-12-31 │ 2020-01-29 │ 1.51 │ 1.325 │ 0.185 │ 13.9623 │
├────────────────────┼───────────────┼──────────────┼───────────────┼──────────┼─────────────────────┤
│ 2019-09-30 │ 2019-10-23 │ 1.38 │ 1.2435 │ 0.1365 │ 10.9771 │
├────────────────────┼───────────────┼──────────────┼───────────────┼──────────┼─────────────────────┤
│ 2019-06-30 │ 2019-07-18 │ 1.37 │ 1.2137 │ 0.1563 │ 12.878 │
├────────────────────┼───────────────┼──────────────┼───────────────┼──────────┼─────────────────────┤
│ 2019-03-31 │ 2019-04-24 │ 1.14 │ 0.9985 │ 0.1415 │ 14.1713 │
└────────────────────┴───────────────┴──────────────┴───────────────┴──────────┴─────────────────────┘