Skip to main content

Unified CLI for Japanese equity factor analysis

Project description

jpfin

Unified CLI for Japanese equity factor analysis.

Integrates japan-finance-factors, edinet-mcp, stockprice-mcp, and japan-finance-codes into a single command.

Install

pip install jpfin

Usage

# Analyze a single ticker
jpfin analyze 7203

# Multiple tickers
jpfin analyze 7203 6758 9984

# JSON output
jpfin analyze 7203 --format json

# Specify fiscal year
jpfin analyze 7203 --year 2024

Features

  • 18 quantitative factors across 5 categories (value, quality, momentum, risk, size)
  • Point-in-time (PIT) safety — no lookahead bias
  • Auto-resolution of ticker → EDINET code
  • Market cap from yfinance merged into financial data
  • Table and JSON output formats

Environment Variables

  • EDINET_API_KEY — Required for financial data from EDINET

License

Apache-2.0

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

jpfin-0.7.0.tar.gz (167.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jpfin-0.7.0-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file jpfin-0.7.0.tar.gz.

File metadata

  • Download URL: jpfin-0.7.0.tar.gz
  • Upload date:
  • Size: 167.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for jpfin-0.7.0.tar.gz
Algorithm Hash digest
SHA256 9128250151f5ddf54549ac376ef45b84b342dd2a8b7d82583fe8044fb2ee4bd0
MD5 4d1b87cd14a410437106a86a080277d8
BLAKE2b-256 ecde09583a5cc6580a6666b1d076429068b320cb842b1dd5fa717c10d03c1339

See more details on using hashes here.

File details

Details for the file jpfin-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: jpfin-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for jpfin-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 829f549193f3b01d069d325c804a44ea63b3f39a01dcfac2acdeb3ae55c7e323
MD5 130df9347f5de23c3385aa917e8c7687
BLAKE2b-256 7d17db04312fb3bda1281a4f9feba29f11e8526a2126093fdd8c7bca7e3e73a7

See more details on using hashes here.

Supported by

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