Skip to main content

Read the financial statement of listed company

Project description

financial-statement

License\

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

financial_statement-0.1.2.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

financial_statement-0.1.2-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page