Skip to content
Back to skills

Us Fundamental

ASecurity

美股基础数据查询。美股列表、交易日历。 当用户询问"美股列表""美股交易日""美股代码查询"时触发。

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
toolsbashapi

Works with

  • api

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add Undermybelt/hermes-skills --skill us-fundamental --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Us Fundamental?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Us Fundamental
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/undermybelt-us-fundamental/badge)](https://www.skillsdirectory.com/skills/undermybelt-us-fundamental)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: us-fundamental
description: >
  美股基础数据查询。美股列表、交易日历。
  当用户询问"美股列表""美股交易日""美股代码查询"时触发。
user-invocable: true
metadata:
  openclaw: 1.0.0
  emoji: 📋
  install: |
    # OpenClaw

    cp -r skills/us-fundamental ~/.openclaw/skills/
---

# US Fundamental — 美股基础数据

> 所有接口均为 V2 版本(`/api/v2/...`)。

## Curl Setup

```bash
BASE="http://43.167.234.49:3101"
AUTH=(-H "X-API-Key: 123456" -H "Content-Type: application/json")
```

---

## 代码格式规则

| 规则 | 值 |
|------|-----|
| 日期格式 | `YYYYMMDD` |

---

## 端点详情

### GET /api/v2/usstock/symbols — 美股列表

无参数。

### GET /api/v2/usstock/trade-cal — 美股交易日历

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `startDate` | string | No | YYYYMMDD |
| `endDate` | string | No | YYYYMMDD |
| `limit` | int | No | 1-10000 (默认 1000) |

---

## 调用示例

```bash
# 美股列表
curl -sS "${AUTH[@]}" "$BASE/api/v2/usstock/symbols"

# 美股交易日历
curl -sS "${AUTH[@]}" "$BASE/api/v2/usstock/trade-cal?startDate=20240101&endDate=20240630"
```

---

## 错误排查

| 错误 | 原因 | 修复 |
|------|------|------|
| 400 | 日期格式错误 | 用 `YYYYMMDD` |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.