Skip to main content

郊零 433 数据型 MCP 服务,基于现有行情 API 提供候选池与 Top3 实时行情数据

Project description

郊零 433 MCP

基于你已经部署好的行情 API:

  • http://119.29.160.124:9292/api/instruments/
  • http://119.29.160.124:9292/api/historical-data/

对外提供一个可通过 uvx 启动的 MCP 数据服务,面向“433 中庸策略”场景,提供:

  • 候选产品池基础数据
  • Top3 产品实时/最新行情数据
  • 基于历史波动自动估算 Z 作为数据字段返回

1. 本地运行

cd MCP
uvx --from . jiaoling-433-mcp

如果需要改 API 地址:

JIAOLING_API_BASE_URL=http://127.0.0.1:8000 uvx --from . jiaoling-433-mcp

2. Codex / MCP 配置

当前目录已提供:

  • .mcp.json
  • .codex-plugin/plugin.json

默认会连接:

http://119.29.160.124:9292

3. 主要工具

  • list_curated_products_data
  • get_top3_realtime_data

get_top3_realtime_data 的核心规则:

  • 必传参数:amout
  • 目标价格:amout / 1000
  • 先用昨天数据筛出价格 <= 目标价格 的 ETF、LOF、股票、基金
  • 先取最接近目标价格的前 10 个候选
  • 再只在这 10 个候选里优先能源方向,特别是石油/原油
  • 同等条件下再按 ETF > LOF > 股票 > 基金
  • 再用实时价格二次过滤,只保留当前仍 <= 目标价格 的产品
  • 最终返回 top3

4. 当前边界

  • 当前数据底座主要覆盖:股票、ETF、LOF、开放式基金
  • 用户文案里提到的指数、港股如 00883,如果底层 API 没有对应数据,会自动跳过并说明原因
  • 实时行情接口在线上环境偶发超时,因此 Top3 会先根据昨天数据建候选池,再用实时价格二次校验

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

jiaoling_433_mcp-0.1.3.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

jiaoling_433_mcp-0.1.3-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file jiaoling_433_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: jiaoling_433_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for jiaoling_433_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a6e8f5ddacec31d40608fd99a7b3c435ce125c6726ccf4044b099716d84a27ad
MD5 a4c6c12b8e17ff3bba95dc811a1be14a
BLAKE2b-256 aa9edca093a929301f0bf589e7a59695e96e187a38fa05e05a5dca0a318b8f11

See more details on using hashes here.

File details

Details for the file jiaoling_433_mcp-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for jiaoling_433_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fab1badd5dcc2d272b3336ba9340b7fe5ac4bd82bf1c6bbf275ec50b2da01b94
MD5 dba940105ee4f14c0be282b29d807452
BLAKE2b-256 29a8b01cdcf4be84317306ca007a3d8a9760dbb902d5d23b6269064f8d6e3781

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