Skip to main content

Omaha Actions Status PyPI PyPI - Python Version PyPI - Status PyPI - License

Omaha aims to provide a unified view of financial metrics of the company.

  • Designed to provide comprehensive data set for the financial analysis.
  • Combining multiple type of financial data consistently.
  • Data is provided in Pandas DataFrame format for the usability.

Please visit the official documentation for more detail. This is also an blog article useful to see how omaha can be used for financial data analysis.

Note

It only supports Japanese company for now.

Dependencies

Install

$ pip install omaha

Usage

from omaha import Omaha
factory = Omaha(bc_apikey='XXXXXXX', quandl_apikey='YYYYYYY')

# Financial indicators for the ticker symbol 1376
company = factory.company('1376', '2018Q1', '2019Q4')

# Daily stock prices for the ticker symbol 1376
stockprice = factory.stockprice('1376', '2018-01-01', '2018-12-31')

# Joining multiple indicators

view = company.join(stockprice)
view.df().head()

#                             company_name     ceo_name                  headquarters_address        ...   Low         Close
#2018-11-30 00:00:00+00:00    カネコ種苗株式会社  代表取締役社長  金子 昌彦   群馬県前橋市古市町一丁目50番地12 ...  1389.568777  1408.187823
#2018-08-31 00:00:00+00:00    カネコ種苗株式会社  代表取締役社長  金子 昌彦   群馬県前橋市古市町一丁目50番地12 ...  1479.188532  1479.188532

If you are unsure the ticker symbol of the company, search feature is available. You can get the list of companies matching the given keyword.

factory.search("不動産", "2019Q1", "2019Q4")
# [Company(8881, 2019Q1, 2019Q4), Company(8802, 2019Q1, 2019Q4), Company(3465, 2019Q1, 2019Q4),...]

Development

You can develop the package as editable dependencies with Pipenv.

$ pipenv install --dev -e .

To build the package, run make package.

$ make package

Metadata

Release files for omaha 0.0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omaha 0.0.16
File Size Uploaded
omaha-0.0.16.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for omaha 0.0.16
File Interpreter ABI Platform
omaha-0.0.16-py3-none-any.whl Python 3 none any Details

Total release size: 18.9 kB

Release files / omaha-0.0.16.tar.gz

Download URL omaha-0.0.16.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f4f67248fff6602ecb01879bdf791b5a225dbaa97feb1bc378d8becc92c737cd
BLAKE2b-256 checksum
How to use checksums
f7a79b2a650461e6c213192dad0d23061d14704e861a19044b6a632dd071cc35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

Release files / omaha-0.0.16-py3-none-any.whl

Download URL omaha-0.0.16-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97c67754be8359751d87e71a88a982b3045533e1dc1cabdbbde0adf48712f9b9
BLAKE2b-256 checksum
How to use checksums
aa387dd4ee40812fdd58252ab33810dafbcf6ee704e62654956e4a695936036d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.0.16 This release

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page