# financial-statement
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\
# Overview
financial-statement is a Python package that allows you to read the financial statements of listed companies.\
## Installation
```bash\
pip install financial_statement
```
## Usage
```python
import financial_statement as fs
ticket = "AAPL"
year = "2023" # it is string
# get annual income statement
income_statement = fs.income_statement(ticket,year)
# get balance sheet
balance_sheet = fs.balance_sheet(ticket,year)
# get cash flow statement
cash_flow_statement = fs.cash_flow_statement(ticket,year)
# get dividend from company
dividend = fs.get_dividend(ticket)
# if you want get annual received dividend
annual_dividend = fs.get_dividend(ticket,YTM=True)
# get shareholder list
shareholder = fs.shareholder(ticket)
# get current price of share
current_price = fs.current_price(ticket)
```
#
## Source
The library extracts data from discounting cash flows and Yahoo Finance. Developers are not tasked with accumulating the data, and the library automatically goes offline in the case of an interest conflict.
Raw data
{
"_id": null,
"home_page": "",
"name": "financial-statement",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,finance,financial statement,stock market",
"author": "Ng wen kang",
"author_email": "kangwen177@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d5/49/e8bd9340675a35994b908e0658698eb5be16eaeb9f104197bb7585f409a3/financial_statement-0.1.2.tar.gz",
"platform": null,
"description": "# financial-statement\n\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\\\n\n# Overview\n\nfinancial-statement is a Python package that allows you to read the financial statements of listed companies.\\\n\n## Installation\n\n```bash\\\npip install financial_statement\n```\n\n## Usage\n```python\nimport financial_statement as fs\nticket = \"AAPL\"\nyear = \"2023\" # it is string\n\n# get annual income statement\nincome_statement = fs.income_statement(ticket,year)\n\n# get balance sheet\nbalance_sheet = fs.balance_sheet(ticket,year)\n\n# get cash flow statement\ncash_flow_statement = fs.cash_flow_statement(ticket,year)\n\n# get dividend from company\ndividend = fs.get_dividend(ticket)\n# if you want get annual received dividend\nannual_dividend = fs.get_dividend(ticket,YTM=True)\n\n# get shareholder list\nshareholder = fs.shareholder(ticket)\n\n# get current price of share\ncurrent_price = fs.current_price(ticket)\n```\n#\n\n\n## Source\n\nThe library extracts data from discounting cash flows and Yahoo Finance. Developers are not tasked with accumulating the data, and the library automatically goes offline in the case of an interest conflict.\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Read the financial statement of listed company",
"version": "0.1.2",
"project_urls": null,
"split_keywords": [
"python",
"finance",
"financial statement",
"stock market"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "430b80edaa6c1d67cf639c489178f8cbc6e2a107b8b7827d78d905c1ec9b98dc",
"md5": "448765a68112fa23f5689bb2d6449525",
"sha256": "4d418798fed48538cbc7c20d9c3206cb55d970c4a2ede9d8a46a4f2c26837671"
},
"downloads": -1,
"filename": "financial_statement-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "448765a68112fa23f5689bb2d6449525",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5641,
"upload_time": "2024-01-09T05:36:36",
"upload_time_iso_8601": "2024-01-09T05:36:36.572825Z",
"url": "https://files.pythonhosted.org/packages/43/0b/80edaa6c1d67cf639c489178f8cbc6e2a107b8b7827d78d905c1ec9b98dc/financial_statement-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d549e8bd9340675a35994b908e0658698eb5be16eaeb9f104197bb7585f409a3",
"md5": "d0a2eef1745ee968ea459a0c562aca9d",
"sha256": "aea4fabd8c18e7a55a59e99fa6df9eb08698d862af20b0c3687cbfcace409a79"
},
"downloads": -1,
"filename": "financial_statement-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "d0a2eef1745ee968ea459a0c562aca9d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5051,
"upload_time": "2024-01-09T05:36:38",
"upload_time_iso_8601": "2024-01-09T05:36:38.524481Z",
"url": "https://files.pythonhosted.org/packages/d5/49/e8bd9340675a35994b908e0658698eb5be16eaeb9f104197bb7585f409a3/financial_statement-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-09 05:36:38",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "financial-statement"
}