Skip to main content

No project description provided

Project description

主要的类和函数

quote负责行情相关 financials负责财务相关数据 info负责其他,比如新闻

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.3.tar.gz (9.4 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.3-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fmpxx-0.2.3.tar.gz
  • Upload date:
  • Size: 9.4 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.3.tar.gz
Algorithm Hash digest
SHA256 10e9bcf8cb58e09c36abc4fcf229f63758429838b23aad2eff31a069669da460
MD5 9ec1a0a435b14e0c4ea24e7b196b0759
BLAKE2b-256 21cfc28bbf532ac6054c10d8a6075501c8a1959530df5a740d69fb06cbcd7865

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmpxx-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 12.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d046f14b966765670b28467842f4c44b9d2d4ac843d56468ac72de94fa3f5fc0
MD5 b4b2b3a6c2f71138296a308b2cb54210
BLAKE2b-256 ebb03af0501b45615d98db38856272f0c83cfe375ebde59b06bc9f249cac638d

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