Xpersona
T

Trading Assistant Core

CLAWHUB · Unverified

Market data analysis toolkit with technical indicators and portfolio tracking. Educational use only. Skill: Trading Assistant Core Owner: xuxuclassmate Summary: Market data analysis toolkit with technical indicators and portfolio tracking. Educational use only. Tags: latest:1.0.0 Version history: v1.0.0 | 2026-05-07T08:14:10.929Z | user Security fix: remove hardcoded Feishu chat ID and read optional notification settings from environment variables. v4.0.0 | 2026-04-02T15:36:59.355Z | auto Version 4.0.0 — Major Updat

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/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: medium.

clawhub skill install s17ev136gszam5rsp8hcgkksex83gbfy:trading-assistant-core
  1. Python environment detected. Create a strict virtual environment (`python -m venv .venv`) before installing dependencies to prevent system-level package conflicts.
  2. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  3. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-xuxuclassmate-trading-assistant-core/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

31,714 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: trading-assistant
description: Market data analysis toolkit with technical indicators and portfolio tracking. Educational use only.
version: 1.0.0
author: XuXuClassMate
license: MIT
category: Education
tags:
  - education
  - finance
  - analysis
  - openclaw
metadata:
  openclaw:
    requires:
      env:
        - TWELVE_DATA_API_KEY
        - ALPHA_VANTAGE_API_KEY
      bins:
        - python3
        - pip
    primaryEnv: TWELVE_DATA_API_KEY
    emoji: 📊
    homepage: https://github.com/XuXuClassMate/trading-assistant
    safety:
      level: safe
      audit: manual
      notes: Educational tool only. Pure Python, no subprocess, no shell, no eval/exec. API keys from env vars. Read-only market data. No trade execution.
---

# Market Data Analysis Toolkit

Educational tool for learning technical analysis and portfolio tracking.

## What It Does

- Calculate technical indicators (RSI, MACD, Bollinger Bands)
- Track portfolio holdings and P&L
- Generate price alerts
- Analyze historical data

## Installation

```bash
pip install -r requirements.txt
export TWELVE_DATA_API_KEY=your_key
export ALPHA_VANTAGE_API_KEY=your_key
python3 trading_signals.py
```

## Security

- Pure Python code
- No subprocess or shell calls
- No eval/exec
- Environment variables for API keys
- Read-only API access

## Links

- GitHub: https://github.com/XuXuClassMate/trading-assistant
- Issues: https://github.com/XuXuClassMate/trading-assistant/issues
- Docker Hub: https://hub.docker.com/r/xuxuclassmate/trading-assistant

## License

MIT License - Educational use only, not financial advice.

README.md

# 🚀 OpenClaw Trading Assistant

<div align="center">

**Version**: v1.5.0 (2026-03-26)  
**Author**: OpenClaw Community  
**License**: MIT

[📚 Docs Website](https://xuxuclassmate.github.io/trading-assistant/) • [Features](#-features) • [Installation](#-installation) • [Usage](#-usage)

---

### 🌐 Language / 语言

**[Switch to Chinese →](README_zh.md)**

---

</div>

---

## 📖 Introduction

**OpenClaw Trading Assistant** is a complete trading decision support system that provides technical analysis, trading signals, position management, and risk monitoring.

### ✨ Key Features

- 📊 **Support & Resistance Levels** - Automatic calculation with multiple algorithms
- 📈 **Trading Signals** - Multi-indicator analysis (RSI, MACD, Moving Averages)
- 💰 **Position Calculator** - Risk-based position sizing
- 🎯 **Stop Loss & Take Profit** - Price alerts and trigger detection
- ⚠️ **Risk Management** - Risk/Reward ratio, potential profit/loss
- 🔔 **Notifications** - Feishu, DingTalk, Email (configurable)

### 🎯 Perfect For

- Stock/ETF investors
- Technical analysis enthusiasts
- Quantitative trading beginners
- OpenClaw users

---

## ✨ Features

### 1. Support & Resistance Levels

- Automatic calculation of key price levels
- Multiple algorithms: Previous High/Low, Moving Averages, Fibonacci, Pivot Points
- Strength indicator (strong/medium/weak)

**Example Output**:
```
NVDA Current Price: $175.64
Resistance: $177.26 (+0.9%), $180.00 (+2.5%)
Support: $175.00 (-0.4%), $171.72 (-2.2%)
```

---

### 2. Trading Signals

- Multi-indicator analysis (RSI, MACD, Moving Averages)
- Combined signal scoring
- Recommendations: Strong Buy / Buy / Hold / Sell / Strong Sell

**Example Output**:
```
RSI: 52.34 [Neutral]
MACD: 0.1234 [Bullish]
Moving Averages: [Bullish]
Combined: Bullish (score: 3)
Recommendation: BUY (Confidence: Medium)
```

---

### 3. Position Calculator

- Risk-based position sizing
- Risk profiles: Conservative / Moderate / Aggressive
- Confidence adjustment
- Stop-loss calculation
- Portfolio allocation

**Example Output**:
```
Total Capital: $100,000
Entry Price: $175.64
Stop Loss: $165.00
Risk Profile: Moderate

Position: 562 shares ($98,710, 98.7%)
Risk: $5,964 (5.96%)
Risk/Reward: 1:2.0
```

---

## 🛠️ Installation

**📚 Complete guides**: https://xuxuclassmate.github.io/trading-assistant/guides/install-overview/

### Quick Comparison

| Method | Command | Time |
|--------|---------|------|
| **Docker** ⭐ | `docker run -it ghcr.io/xuxuclassmate/trading-assistant:latest` | 5 min |
| **pip** | `pip install trading-assistant` | 10 min |
| **npm** | `npm install -g @xuxuclassmate/trading-assistant` | 10 min |
| **Source** | `git clone + pip install -e .` | 15 min |

### Prerequisites

- Twelve Data API Key ([Get Free](https://twelvedata.com/pricing) - 800 calls/day)
- Alpha Vantage API Key ([Get Free](https://www.alphavantage.co/support/#api-key) - 25 calls/day)

### 🐳 Docker Installation (Recommended)

**Pull from GitHub Container Registry

_meta.json

{
  "ownerId": "kn7a6qzk16ny6zj2a6ge10exrn82q9qp",
  "slug": "trading-assistant-core",
  "version": "1.0.0",
  "publishedAt": 1778141650929
}

skill-card.md

## Description:

Market data analysis toolkit with technical indicators and portfolio tracking for educational use.

This skill is for research and development only.

## Publisher:

[xuxuclassmate](https://clawhub.ai/user/xuxuclassmate)

### License/Terms of Use:

MIT-0

## Use Case:

External developers, OpenClaw users, and technical-analysis learners use this skill to retrieve market data, calculate indicators, generate educational buy/hold/sell labels, size positions, and track portfolios. It is not a financial-advice or trade-execution skill.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The release security summary flags review-worthy API-key exposure risk when using documented container examples that mount .env files.

Mitigation: Install from reviewed or pinned artifacts, avoid unpinned Docker ':latest' images unless the publisher is trusted, and use limited, revocable market-data API keys.

Risk: Generated buy, sell, and position-sizing labels can be mistaken for financial advice.

Mitigation: Present outputs as educational analysis only, require independent user review, and do not connect the skill to automated trade execution.

Risk: A-share market-data paths use unauthenticated HTTP sources, which can affect data integrity.

Mitigation: Treat A-share results as lower-assurance data, cross-check important outputs against trusted sources, and prefer authenticated HTTPS data providers where available.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/xuxuclassmate/skills/trading-assistant-core)
- [Project Homepage](https://github.com/XuXuClassMate/trading-assistant)
- [Documentation Website](https://xuxuclassmate.github.io/trading-assistant/)
- [Installation Guide](https://xuxuclassmate.github.io/trading-assistant/guides/install-overview/)
- [Docker Hub Image](https://hub.docker.com/r/xuxuclassmate/trading-assistant)
- [Twelve Data API](https://twelvedata.com/pricing)
- [Alpha Vantage API Key](https://www.alphavantage.co/support/#api-key)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown or plain-text analysis with optional Python, shell, configuration, and JSON-like result snippets.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires user-provided market-data API keys for live data paths; generated labels are educational analysis, not trade execution.]

## Skill Version(s):

1.0.0 (source: server release metadata and SKILL.md frontmatter)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

requirements.txt

# OpenClaw Trading Assistant
# 交易辅助决策系统

# Core Dependencies / 核心依赖
pandas>=2.0.0
numpy>=1.24.0
requests>=2.31.0
python-dateutil>=2.8.2
python-dotenv>=1.0.0  # Environment variable loading

# Optional Dependencies (Development) / 可选依赖 (开发用)
# pytest>=7.4.0
# pytest-cov>=4.1.0
# black>=23.0.0
# flake8>=6.0.0

Sponsored

Ads related to Trading Assistant Core and adjacent AI workflows.