Xpersona
T

Tai Alpha Stock

CLAWHUB · Unverified

Tai Alpha stock analysis — collect, VectorBT backtest (RSI/MACD/BB), conviction score, optional ML. Persistence is SQLite (default tai_alpha_output/tai_alpha...

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17960zyn75e0js2yagtq7zzvx84sgf5:tai-alpha-stock
  1. Install using `clawhub skill install s17960zyn75e0js2yagtq7zzvx84sgf5:tai-alpha-stock` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/cplog/tai-alpha-stock before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-cplog-tai-alpha-stock/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

95,485 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

setup/docs/core/SKILL.md

---
name: tai-alpha-stock
description: Tai Alpha stock analysis — collect, VectorBT backtest (RSI/MACD/BB), conviction score, optional ML. Persistence is SQLite (default tai_alpha_output/tai_alpha.db); override TAI_ALPHA_DB_PATH.
---

# Tai Alpha Stock

Canonical documentation lives under **`/setup`**. This file mirrors root `SKILL.md`.  
**Agents:** [AGENTS.md](AGENTS.md) (Cursor, Claude Code, OpenClaw).

## Persistence

- Default: `tai_alpha_output/tai_alpha.db`
- Override: `TAI_ALPHA_DB_PATH`
- Schema: [../../sql/schema/tai_alpha_schema_consolidated.sql](../../sql/schema/tai_alpha_schema_consolidated.sql)

## Workflow

- Full analyze: `python scripts/analyze.py TICKER`
- Flags: `--fast`, `--depth lite|standard|deep`, `--persona`, `--persona-all`, `--market`, `--lang` (see [../../README.md](../../README.md))
- Report: `python scripts/report.py --run-id <id>`
- Score: `python scripts/score.py --run-id <id>` (optional `--deep-risk`)

See [../../USERFLOW.md](../../USERFLOW.md) and [AGENT_GUIDE.md](AGENT_GUIDE.md).

## Related ecosystem

- [openclaw/stock-analysis](https://github.com/openclaw/skills/tree/main/skills/udiedrichsen/stock-analysis)
- [UZI-Skill](https://github.com/wbh604/UZI-Skill)

## Test

```bash
pip install -e ".[dev]"
pytest tests/unit tests/integration -v
```

SKILL.md

---
name: tai-alpha-stock
description: Tai Alpha stock analysis — collect, VectorBT backtest (RSI/MACD/BB), conviction score, optional ML. Persistence is SQLite (default tai_alpha_output/tai_alpha.db); override TAI_ALPHA_DB_PATH.
---

# Tai Alpha Stock

**Canonical docs:** `/setup` (README, USERFLOW, MODULE_STRUCTURE, guides).  
**Mirror:** [setup/docs/core/SKILL.md](setup/docs/core/SKILL.md).  
**Agents (Cursor / Claude Code / OpenClaw):** [setup/docs/core/AGENTS.md](setup/docs/core/AGENTS.md) — root stubs `AGENTS.md`, `CLAUDE.md`.

## Workflow tree

- **Single:** `python scripts/analyze.py TICKER` → pipeline; stores rows in SQLite (`--db-path` optional).
- **Personas / markets:** `--persona id` / `--persona-all`; `--market auto|us|hk|cn`; `--lang zh-CN|zh-HK` (see [setup/docs/guides/PERSONA_ECOSYSTEM_GUIDE.md](setup/docs/guides/PERSONA_ECOSYSTEM_GUIDE.md)).
- **Fast / depth:** `--fast` skips ML and uses lighter collect; `--depth lite|standard|deep` (see [setup/README.md](setup/README.md) matrix).
- **Batch:** `python scripts/batch.py TICKER1 TICKER2` (optional `--fast`, `--depth`).
- **Portfolio:** `python scripts/portfolio.py TICKER ...`
- **Cron:** `python scripts/cron.py` (`TAI_ALPHA_HOTLIST`, optional `TAI_ALPHA_TELEGRAM_WEBHOOK`)
- **Alerts:** `python scripts/alerts.py` (watchlist in SQLite)
- **Custom / ML / sector:** `scripts/custom.py`, `scripts/ml.py`, `scripts/sector.py`
- **Dividends / movers:** `scripts/dividends.py`, `scripts/hot_scanner.py` (see setup README)
- **Inspect run:** `python scripts/report.py --run-id N` / `python scripts/score.py --run-id N` (`--deep-risk` on score CLI)

## Docs

- [setup/docs/guides/DISCLAIMER_AND_LIMITATIONS.md](setup/docs/guides/DISCLAIMER_AND_LIMITATIONS.md)
- [setup/docs/guides/STRATEGIES.md](setup/docs/guides/STRATEGIES.md)
- [setup/docs/database/SQLITE.md](setup/docs/database/SQLITE.md)
- [setup/docs/core/AGENT_GUIDE.md](setup/docs/core/AGENT_GUIDE.md)
- [setup/docs/guides/PERSONA_ECOSYSTEM_GUIDE.md](setup/docs/guides/PERSONA_ECOSYSTEM_GUIDE.md)
- [setup/docs/guides/CHINESE_AUDIENCE_GUIDE.md](setup/docs/guides/CHINESE_AUDIENCE_GUIDE.md)

## Related projects (inspiration)

- [openclaw/stock-analysis skill](https://github.com/openclaw/skills/tree/main/skills/udiedrichsen/stock-analysis)
- [UZI-Skill](https://github.com/wbh604/UZI-Skill)

## Test

```bash
pip install -e ".[dev]"
pytest tests/unit tests/integration -v
python setup/tools/check_structure.py
```

setup/README.md

# Tai Alpha Stock — setup and docs

This directory is the **single source of truth** for project documentation and SQL (per repository standards). The Python package lives at the repo root in `tai_alpha/`; **SQLite** is the default persistence layer (see `docs/database/SQLITE.md`).

## Quick start

```bash
cd /path/to/tai-alpha-stock
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
python scripts/analyze.py AAPL --no-report
# Default DB: tai_alpha_output/tai_alpha.db (override with TAI_ALPHA_DB_PATH)
```

Override output directory (where `tai_alpha.db` is placed by default):

```bash
export TAI_ALPHA_OUTPUT_DIR=/tmp/tai_run
python scripts/analyze.py MSFT
```

## Feature / flag matrix (CLI)

| Capability | Entry | Notes |
|------------|-------|--------|
| Full analyze | `scripts/analyze.py TICKER` | Collect → backtest → score → report |
| Fast path | `--fast` | Skips ML; lighter collect (no sector ETF peer fetch) |
| Depth | `--depth lite` / `standard` / `deep` | `lite` = no ML + light collect; `deep` = ML (unless `--fast`) + geopolitical `risk_flags` |
| Dividends | `scripts/dividends.py TICKER` or `tai-alpha-dividends` | yfinance dividend history; yield proxy |
| Hot scanner | `scripts/hot_scanner.py` or `tai-alpha-hot-scanner` | Yahoo movers; `--with-crypto` adds CoinGecko trending |
| Score from DB | `tai-alpha-score --run-id N` | Optional `--deep-risk` for geopolitical keyword tier |
| Personas | `--persona id1,id2` / `--persona-all` | Overlays on base score; registry in `setup/config/personas/` |
| Market routing | `--market auto` or `us` / `hk` / `cn` | Normalizes Yahoo/yfinance symbols (HK/CN suffixes) |
| Chinese report | `--lang zh-CN` / `--lang zh-HK` | Signal translation + short disclaimer |
| Disclaimer | [docs/guides/DISCLAIMER_AND_LIMITATIONS.md](docs/guides/DISCLAIMER_AND_LIMITATIONS.md) | Not financial advice; data limits |

### Related ecosystem (attribution)

- [openclaw/skills – udiedrichsen/stock-analysis](https://github.com/openclaw/skills/tree/main/skills/udiedrichsen/stock-analysis) — OpenClaw-oriented stock workflows (ideas: `--fast`, dimensions, risk-style checks).
- [wbh604/UZI-Skill](https://github.com/wbh604/UZI-Skill) — Agent-heavy deep research (depth tiers, calibration discipline); not vendored here.

## Doc index

| Path | Purpose |
|------|---------|
| [USERFLOW.md](USERFLOW.md) | User-facing flows and CLI map |
| [MODULE_STRUCTURE.md](MODULE_STRUCTURE.md) | Modules, scripts, and dependencies |
| [docs/core/SKILL.md](docs/core/SKILL.md) | Mirror of root `SKILL.md` (agent / marketplace) |
| [docs/core/AGENTS.md](docs/core/AGENTS.md) | **Multi-tool hub** (Cursor, Claude Code, OpenClaw) |
| [docs/core/AGENT_GUIDE.md](docs/core/AGENT_GUIDE.md) | Agent orchestration and upstream pointers |
| [docs/database/SQLITE.md](docs/database/SQLITE.md) | SQLite schema and env vars |
| [docs/guides/PERSONA_ECOSYSTEM_GUIDE.md](docs/guides/PERSONA_ECOSYSTEM_GUIDE.md) | Persona registry, CLI, ensemble |
| [do

setup/sql/archive/README.md

# SQL archive

Superseded migrations and one-off fixes live here for reference only.

_meta.json

{
  "ownerId": "kn71wgxhb1t1g0hkpzj9fqcc0s80g3sv",
  "slug": "tai-alpha-stock",
  "version": "1.33.1",
  "publishedAt": 1776696887373
}

Sponsored

Ads related to Tai Alpha Stock and adjacent AI workflows.