郊零 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_dataget_top3_realtime_data
get_top3_realtime_data 的核心规则:
- 必传参数:
amout - 目标价格:
amout / 1000 - 先通过行情 API 的
price_max参数筛出价格<= 目标价格的 ETF、LOF、股票、基金 - 先取最接近目标价格的前 10 个候选
- 只有价差在
3%内时,才优先能源方向,特别是石油/原油 - 只有价差在
1%内时,才优先ETF > LOF > 股票 > 基金 - 再用实时价格二次过滤,只保留当前仍
<= 目标价格的产品 - 返回 10 个备选池,以及所有实时合格候选
top3只从实时合格候选中补位产生,最多返回 3 个;如果只有 2 个合格,就只返回 2 个
4. 当前边界
- 当前数据底座主要覆盖:股票、ETF、LOF、开放式基金
- 用户文案里提到的指数、港股如
00883,如果底层 API 没有对应数据,会自动跳过并说明原因 - 实时行情接口在线上环境偶发超时,因此 Top3 会先根据昨天数据建候选池,再用实时价格二次校验
Project details
Release history Release notifications | RSS feed
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.6.tar.gz
(10.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jiaoling_433_mcp-0.1.6.tar.gz.
File metadata
- Download URL: jiaoling_433_mcp-0.1.6.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bbefef995c4d39abb8724973c8240cb373052bc7ef765d632768e63fe0ec870
|
|
| MD5 |
920db44389f3eea223ed54f20f842d9f
|
|
| BLAKE2b-256 |
fe32cb5253842cbf10978ea058c382977f9f553bf540f7ae329f513a642e34b7
|
File details
Details for the file jiaoling_433_mcp-0.1.6-py3-none-any.whl.
File metadata
- Download URL: jiaoling_433_mcp-0.1.6-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f5d498414d32f66acfc93cc316db1ecd2ffc73cad2bfcd3853b7320d513e862
|
|
| MD5 |
7acf304d24a41fd367ee4deffbee5c55
|
|
| BLAKE2b-256 |
b67970398dd6f028138b57a29e15af4a492007158c73a7ee37e224aefa765c56
|