Read the financial statement of listed company
Project description
financial-statement
Overview
financial-statement is a Python package that allows you to read the financial statements of listed companies.\
Installation
pip install financial_statement
Usage
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file financial_statement-0.1.2.tar.gz
.
File metadata
- Download URL: financial_statement-0.1.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aea4fabd8c18e7a55a59e99fa6df9eb08698d862af20b0c3687cbfcace409a79 |
|
MD5 | d0a2eef1745ee968ea459a0c562aca9d |
|
BLAKE2b-256 | d549e8bd9340675a35994b908e0658698eb5be16eaeb9f104197bb7585f409a3 |
File details
Details for the file financial_statement-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: financial_statement-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d418798fed48538cbc7c20d9c3206cb55d970c4a2ede9d8a46a4f2c26837671 |
|
MD5 | 448765a68112fa23f5689bb2d6449525 |
|
BLAKE2b-256 | 430b80edaa6c1d67cf639c489178f8cbc6e2a107b8b7827d78d905c1ec9b98dc |