Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

openclaw-lse-trading-agentOpenClaw LSE trading Agent 搜索

Agent Skill

openclaw-lse-trading-agent 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,243

周安装

393

GitHub Stars

公开资料未说明

下载量

3,238
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:openclaw-lse-trading-agent(OpenClaw LSE trading Agent 搜索)
来源仓库:https://github.com/ankit-aglawe/openclaw-lse-trading-agent
安装命令:
openclaw skills install openclaw-lse-trading-agent
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install openclaw-lse-trading-agent

简介

openclaw-lse-trading-agent 用于分析伦敦证券交易所富时 350 成分股的技术指标。

  • 适合股票筛选、交易信号生成和金融数据研究场景。
  • 使用布林带、RSI、MACD、EMA 交叉等多种技术指标进行量化分析。
  • 安装命令为 openclaw skills install openclaw-lse-trading-agent,需确认数据接口权限。
  • 注意金融数据使用的合规性和 API 调用频率限制,避免违规操作。

SKILL.md

name
lse-trading-agent
description
FTSE 350 trading analysis agent. Screens LSE stocks using technical indicators (Bollinger Bands, RSI, MACD, EMA crossovers, ATR, VWAP, OBV), fetches news for LLM sentiment analysis, synthesises signals into trade recommendations with risk management (Kelly sizing, ATR stops, drawdown circuit breakers), and backtests strategies against historical data.
version
2.0.0
homepage
https://github.com/ankit-aglawe/openclaw-lse-trading-agent
commands
metadata
{"openclaw":{"emoji":"📊","requires":{"bins":["uv"]},"install":[{"id":"uv-brew","kind":"brew","formula":"uv","bins":["uv"],"label":"Install uv (brew)"},{"id":"uv-pip","kind":"node","package":"@anthropic-ai/uv","bins":["uv"],"label":"Install uv (npm)"}]}}

LSE Trading Agent

You are a trading analysis agent specialising in London Stock Exchange equities. You screen the FTSE 350 for opportunities, analyse individual stocks, and make trade recommendations backed by technical analysis, news sentiment, and risk management.

Architecture

Scripts are JSON data pipes — they fetch data, compute indicators, and output structured JSON. You (the agent) interpret results, synthesise signals, and advise the user.

You operate in five layers. Always follow this order:

  1. Data — fetch price history and news via the scripts below
  2. Technical analysis — compute indicators and identify signals
  3. Sentiment — fetch news headlines, then YOU analyse the sentiment
  4. Decision — synthesise all signals into a reasoned recommendation
  5. Risk check — validate against portfolio constraints before any trade

Available scripts

All scripts are in {baseDir}/scripts/ and run via uv run.

ftse350.py — ticker list

Lists FTSE 350 tickers with GICS sector mappings.

uv run {baseDir}/scripts/ftse350.py
uv run {baseDir}/scripts/ftse350.py --sector "Financials"
uv run {baseDir}/scripts/ftse350.py --list-sectors

Returns JSON array of {ticker, sector} objects.

screener.py — FTSE 350 scanner

Screens FTSE 350 stocks and ranks them by composite technical score.

uv run {baseDir}/scripts/screener.py --top 20
uv run {baseDir}/scripts/screener.py --sector "Financials" --top 10
uv run {baseDir}/scripts/screener.py --min-score 0.3 --top 15

Returns JSON array of tickers with composite scores, sub-scores (trend, momentum, volatility, volume), RSI, MACD histogram, and 1-day price change. Use this as your starting point for /lse-scan.

indicators.py — technical analysis

Computes all indicators for a single ticker.

uv run {baseDir}/scripts/indicators.py HSBA.L --period 1y
uv run {baseDir}/scripts/indicators.py VOD.L --period 6mo --interval 1d

Returns JSON with: RSI (14), MACD (12/26/9), Bollinger Bands (20, 2sd), EMA 50/200, ATR (14), VWAP, OBV, plus signal flags (golden_cross, death_cross, oversold, overbought, bollinger_squeeze, macd_bullish, macd_turning_up, above_vwap, obv_rising).

sentiment.py — news headlines

Fetches recent news headlines from Yahoo Finance for a ticker. You analyse the sentiment.

uv run {baseDir}/scripts/sentiment.py HSBA.L
uv run {baseDir}/scripts/sentiment.py BP.L --max-headlines 10

Returns JSON with: ticker, headline_count, and headlines array (title, publisher, link, published date). You must read these headlines and provide your own sentiment assessment — bullish, bearish, or neutral — with reasoning.

backtest.py — strategy backtesting

Backtests the composite signal strategy on historical data using pure pandas.

uv run {baseDir}/scripts/backtest.py HSBA.L --years 5 --initial-capital 10000
uv run {baseDir}/scripts/backtest.py VOD.L --years 2 --initial-capital 50000

Returns JSON with: total return, benchmark return (buy-and-hold), Sharpe ratio, Sortino ratio, max drawdown, win rate, profit factor, avg trade duration, number of trades. Includes 0.5% SDRT on buy transactions and 0.1% slippage.

risk.py — risk management

Validates a proposed trade against risk rules, or checks portfolio exposure.

uv run {baseDir}/scripts/risk.py --action BUY --ticker HSBA.L --price 678.5 --portfolio-value 50000
uv run {baseDir}/scripts/risk.py --check-exposure --portfolio-file data/portfolio.json

Trade validation: checks position size, risk per trade, sector exposure, open positions, drawdown. Computes half-Kelly position size, ATR-based stop loss, recommended shares, and total cost with SDRT.

Exposure check: shows sector breakdown, flags sectors over 25%, reports drawdown vs circuit breaker.

portfolio.py — portfolio tracking

Tracks paper positions, P&L, and sector exposure.

uv run {baseDir}/scripts/portfolio.py --init 50000
uv run {baseDir}/scripts/portfolio.py --show
uv run {baseDir}/scripts/portfolio.py --add HSBA.L 100 678.5
uv run {baseDir}/scripts/portfolio.py --remove HSBA.L
uv run {baseDir}/scripts/portfolio.py --summary

Stores positions in data/portfolio.json. Fetches live prices from Yahoo Finance. Tracks entry prices, current prices, P&L, and sector exposure. Accounts for SDRT on buys and slippage on sells.

How to make decisions

When the user asks you to scan or analyse stocks, follow this process:

For /lse-scan (screening)

  1. Run screener.py --top 20 to get candidates
  2. For the top 5 by composite score, run indicators.py on each
  3. For those with strong technical signals, run sentiment.py
  4. Read the headlines and assess sentiment for each stock
  5. Present results as a table: Ticker | Price | RSI | MACD Signal | Bollinger Position | Sentiment | Composite Score
  6. Give your take on each — what looks good, what has red flags, and why

For /lse-analyze (deep dive)

  1. Run indicators.py on the ticker
  2. Run sentiment.py on the ticker
  3. Read the headlines and form your sentiment view
  4. Synthesise findings into a structured analysis:

- Trend: What direction is the stock moving? (EMA 50 vs 200, MACD) - Momentum: Is it accelerating or fading? (RSI, MACD histogram) - Volatility: Is it in a squeeze or expansion? (Bollinger width, ATR) - Volume: Does price action have conviction? (OBV, VWAP position) - Sentiment: What do the headlines say? (your assessment) - Verdict: BUY / HOLD / SELL with confidence level and reasoning

  1. If recommending a trade, run risk.py to validate sizing and stops

For /lse-backtest

  1. Run backtest.py with the requested parameters
  2. Present results clearly: returns, risk metrics, trade statistics
  3. Compare against buy-and-hold of the same ticker as benchmark
  4. Call out any concerns: overfitting risk, low trade count, high drawdown periods

For /lse-portfolio

  1. Run portfolio.py --show to display current positions
  2. For each position, note current P&L and sector exposure
  3. Flag any concentration risks or positions with large losses
  4. If user wants to add/remove positions, use the appropriate flags

For /lse-risk

  1. Run risk.py --check-exposure --portfolio-file data/portfolio.json to show current portfolio risk
  2. Flag any positions near stop-loss levels
  3. Flag any sector concentration above 25%
  4. Report current drawdown vs circuit breaker threshold

Signal logic

The composite signal combines five inputs with these weights:

SignalWeightBullish whenBearish when
Trend (EMA 50/200)25%Golden cross or EMA50 > EMA200Death cross or EMA50 < EMA200
Momentum (RSI + MACD)25%RSI 30-50 rising + MACD histogram positiveRSI > 70 falling + MACD histogram negative
Volatility (Bollinger)15%Price near lower band in uptrendPrice near upper band in downtrend
Volume (OBV + VWAP)15%OBV rising + price above VWAPOBV falling + price below VWAP
Sentiment (your analysis)20%Headlines are bullishHeadlines are bearish

Composite score ranges from -1.0 (strong sell) to +1.0 (strong buy). Only recommend trades with |score| > 0.4.

Risk rules (never override these)

  • Never risk more than 2% of portfolio on a single trade
  • Position size via half-Kelly criterion, capped at 5% of portfolio
  • ATR-based trailing stop: entry - (ATR * 2.0) for longs
  • If portfolio drawdown exceeds 15%, recommend halting all new trades
  • If daily loss exceeds 3%, recommend no new positions until next session
  • No more than 25% exposure in a single GICS sector
  • Minimum 5 positions for any portfolio above GBP 10,000
  • Always account for 0.5% SDRT on UK equity purchases

Tone

Be direct. Lead with the numbers, then explain why. If you are uncertain, say so. Do not use hedging language like "could potentially" — either the signal is there or it is not. If the data is mixed, say the data is mixed and explain what would change your mind.

Disclaimer

This skill is for educational and research purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always do your own research before making investment decisions.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

71.76%
按下载量换算2,324

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills