Skip to main content

No project description provided

Project description

0.2.0

分成了quote, financials, util三个类

fmpxx

fmpxx 是一个用于获取和处理金融市场数据的 Python 库,基于 Financial Modeling Prep (FMP) API。

功能特点

  • 获取股票报价数据
  • 获取公司财务报表
  • 获取历史股价数据
  • 计算市盈率 (PE) 和每股收益 (EPS)
  • 支持数据可视化

安装

使用 pip 安装 fmpxx:

主要的类

Quote

Quote 类用于获取和处理股票报价数据。

Financials

Financials 类用于获取和处理公司财务报表数据。

Util

Util 类包含一些常用的工具函数,如计算市盈率 (PE) 和每股收益 (EPS)。

使用示例

from fmpxx.quote import Quote
from fmpxx.financials import Financials
from fmpxx.util import Util

# 获取股票报价数据
quote = Quote("your_api_key")
quote_data = quote.get_full_quote("AAPL")

# 获取公司财务报表数据
financials = Financials("your_api_key")
income_statement = financials.get_income_statement("AAPL")

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

fmpxx-0.2.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

fmpxx-0.2.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file fmpxx-0.2.0.tar.gz.

File metadata

  • Download URL: fmpxx-0.2.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10

File hashes

Hashes for fmpxx-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3888ae2fcca26352fa856043f3c3a1c2313c8eabf2a3e862ffa45c78dc845343
MD5 ae075e5549793cc830394633728b6315
BLAKE2b-256 d86286e60a364264006f4f29f61239d9753146412445734fcc69f313c67f0ac6

See more details on using hashes here.

File details

Details for the file fmpxx-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: fmpxx-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10

File hashes

Hashes for fmpxx-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 295607413ec16d34e0b6060519d375d7c4a6447ad0ed7797362fb1ea56df2218
MD5 ed0af3962a88e9fbf441c10f9079f848
BLAKE2b-256 c1091c5cf41633e34606af7dc56287ae56fce7b7e157dc23e081def7db09a764

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