mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-29 20:53:54 +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>
13 KiB
Vendored
13 KiB
Vendored
title, description
| title | description |
|---|---|
| income | OpenBB Terminal Function |
income
Prints a complete income statement over time. This can be either quarterly or annually. The following fields are expected: Accepted date, Cost and expenses, Cost of revenue, Depreciation and amortization, Ebitda, Ebitda Ratio, Eps, EPS Diluted, Filling date, Final link, General and administrative expenses, Gross profit, Gross profit ratio, Income before tax, Income before tax ratio, Income tax expense, Interest expense, Link, Net income, Net income ratio, Operating expenses, Operating income, Operating income ratio, Other expenses, Period, Research and development expenses, Revenue, Selling and marketing expenses, Total other income expenses net, Weighted average shs out, Weighted average shs out dil [Source: Alpha Vantage]
Usage
income [-q] [-r] [-p column]
Parameters
| Name | Description | Default | Optional | Choices |
|---|---|---|---|---|
| b_quarter | Quarter fundamental data flag. | False | True | None |
| ratios | Shows percentage change of values. | False | True | None |
| plot | Rows to plot, comma separated. (-1 represents invalid data) | None | True | total_revenue, cost_of_revenue, gross_profit, research_development, selling_general_and_administrative, total_operating_expenses, operating_income_or_loss, interest_expense, total_other_income/expenses_net, income_before_tax, income_tax_expense, income_from_continuing_operations, net_income, net_income_available_to_common_shareholders, basic_eps, diluted_eps, basic_average_shares, diluted_average_shares, ebitda |
Examples
2022 Feb 16, 06:23 (🦋) /stocks/fa/ $ income -l 5
MSFT Income Statement
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ ┃ 2017-06-30 ┃ 2018-06-30 ┃ 2019-06-30 ┃ 2020-06-30 ┃ 2021-06-30 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ reportedCurrency │ USD │ USD │ USD │ USD │ USD │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ grossProfit │ 62.310 B │ 72.007 B │ 82.933 B │ 96.937 B │ 115.856 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ totalRevenue │ 96.571 B │ 107.222 B │ 123.495 B │ 140.503 B │ 165.936 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ costOfRevenue │ 34.261 B │ 62.776 B │ 67.908 B │ 73.159 B │ 79.977 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ costofGoodsAndServicesSold │ 34.261 B │ 38.353 B │ 42.910 B │ 46.078 B │ 52.232 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ operatingIncome │ 29.025 B │ 35.058 B │ 42.959 B │ 52.959 B │ 69.916 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ sellingGeneralAndAdministrative │ 20.020 B │ 22.223 B │ 23.098 B │ 24.709 B │ 25.224 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ researchAndDevelopment │ 13.037 B │ 14.726 B │ 16.876 B │ 19.269 B │ 20.716 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ operatingExpenses │ 35.063 B │ 39.149 B │ 41.874 B │ 46.350 B │ 48.461 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ investmentIncomeNet │ 1.387 B │ 2.214 B │ 2.762 B │ 2.680 B │ 2.131 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ netInterestIncome │ -2.222 B │ -2.733 B │ -2.686 B │ -2.591 B │ -2.346 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ interestIncome │ 1.182 B │ 1.522 B │ 812 M │ 2.680 B │ 2.131 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ interestExpense │ 2.222 B │ 2.733 B │ 2.686 B │ 2.591 B │ 2.346 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ nonInterestIncome │ -674 M │ 109.955 B │ 126.181 B │ 143.094 B │ 168.282 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ otherNonOperatingIncome │ -251 M │ -59 M │ -57 M │ -40 M │ 98 M │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ depreciation │ 6.100 B │ 7.700 B │ 9.700 B │ 10.700 B │ 9.300 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ depreciationAndAmortization │ 1.700 B │ 2.200 B │ 1.900 B │ 2.211 B │ 2.521 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ incomeBeforeTax │ 29.901 B │ 36.474 B │ 43.688 B │ 53.036 B │ 71.102 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ incomeTaxExpense │ 4.412 B │ 19.903 B │ 4.448 B │ 8.755 B │ 9.831 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ interestAndDebtExpense │ 2.222 B │ 2.733 B │ 2.686 B │ 2.591 B │ 2.346 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ netIncomeFromContinuingOperations │ 21.204 B │ 16.571 B │ 39.240 B │ 44.281 B │ 61.271 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ comprehensiveIncomeNetOfTax │ 24.322 B │ 13.715 B │ 41.154 B │ 47.807 B │ 59.897 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ ebit │ 32.123 B │ 39.207 B │ 46.374 B │ 55.627 B │ 73.448 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ ebitda │ 33.823 B │ 41.407 B │ 48.274 B │ 57.838 B │ 75.969 B │
├───────────────────────────────────┼────────────┼────────────┼────────────┼────────────┼────────────┤
│ netIncome │ 25.489 B │ 16.571 B │ 39.240 B │ 44.281 B │ 61.271 B │
└───────────────────────────────────┴────────────┴────────────┴────────────┴────────────┴────────────┘