Skip to main content

No project description provided

Project description

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.1.tar.gz (8.1 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.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fmpxx-0.2.1.tar.gz
  • Upload date:
  • Size: 8.1 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.1.tar.gz
Algorithm Hash digest
SHA256 1b01667ba77facbc21a28cd3a207a6b3f2e1e83d710e78fc38c35724b6b3655e
MD5 b8e1b52fccf54fc45211874531973125
BLAKE2b-256 2323112f0c8b6608c27c461a42dd4147e0165bfc2bf7ea6fae24b0ae03731a64

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fmpxx-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 423b8e94bd9286d113dec79d2bdecfa1970ba28fa20b82e82bef525bee7eb882
MD5 0deb9b47c0cd88c8db35cadbfd3e5bf5
BLAKE2b-256 243ff844668796c3879c62f8af30d36d5156fe21db318cae6aa7d609b2bfcd91

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