Skip to main content

No project description provided

Project description

0.2.2

增加了财报日close change的数据

0.2.1

分成了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.2.tar.gz (8.9 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.2-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fmpxx-0.2.2.tar.gz
  • Upload date:
  • Size: 8.9 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.2.tar.gz
Algorithm Hash digest
SHA256 c28162f5d94c81a39c73fdaf7f06c13e8b70d504605f07ab3389cea985ec40bb
MD5 9e8180b3cefea893dfc35df5ddd382d4
BLAKE2b-256 bdd2d8fc7e643a4ddd39f1325b90f4123d1795a3ea4c486ceaae57ef425cc82f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmpxx-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 11.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fcb8dd8df79a972244880ed9c25ec599e4fb445ccc9762d17c6c5022837e3432
MD5 6c1b99c4f940dda4227f33ed2a5b63f8
BLAKE2b-256 7cbb9885d8fa0bb8a1d9acc350d7fa4e71ac116d572f376289646447196c8f4a

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