微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📊

专业级加密与股票量化分析平台

dwlf · vv1.0.0
专业技能 安全 A 级 作者 andywilliams 公开目录收录
1.2k 下载 425 安装 3.3k 收藏 21.3k 浏览

简介

DWLF 官方市场分析平台集成技能,支持加密货币与股票的技术指标、策略回测、交易信号及投资组合追踪,为交易者提供专业级数据洞察。

原始描述

Interact with DWLF (dwlf.co.uk), a market analysis platform for crypto and stocks. Use for: market data, price charts, technical indicators (EMA, RSI, DSS, S/R, trendlines, candlestick patterns, SMC), strategies (visual signal builder), backtesting, custom events, trade signals, portfolio tracking, watchlists, trade journaling, chart annotations, trade plans, position sizing, and academy content. Trigger on: market analysis, trading signals, backtests, portfolio, DWLF, chart indicators, support/resistance, strategy builder, trade journal, watchlist, chart annotations, trade plans, position sizing, how's BTC, how's the market.

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/dwlf/
其它 Agent解压到它自己的 skills 目录,目录名用 dwlf

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

中文使用说明 来自收录源

核心用法

DWLF Skill 是专为金融市场分析设计的 Clawdbot 集成工具,通过与 dwlf.co.uk 平台 API 交互,为用户提供全面的市场数据分析能力。核心功能涵盖六大模块:

市场数据查询:获取实时 OHLCV 蜡烛图、自动识别的支撑/阻力位、趋势线、以及 EMA、RSI、MACD、DSS 等 15+ 技术指标。支持加密货币(BTC-USD 等)、股票(TSLA、NVDA 等)和外汇(EUR-USD 等)多资产类别。

策略构建与信号:可视化策略构建器支持用户创建自定义交易策略,系统根据策略生成实时交易信号,包含入场价、止损位、方向及置信度评分。

回测引擎:异步回测功能允许用户验证策略历史表现,返回交易次数、胜率、总收益、夏普比率等关键绩效指标。

投资组合管理:完整的持仓追踪、交易日志记录、交易计划管理,以及可自定义观察清单功能。

自定义事件系统:用户可创建个性化市场事件(如特定 K 线形态、指标交叉等),并批量激活至目标交易品种。

学院内容:集成 DWLF Academy 教育资源,无需认证即可访问 60+ 节专业课程,涵盖指标原理、策略设计等主题。

显著优点

  1. 专业级分析深度:集成 SMC(订单块、FVG、BOS/ChoCH)等进阶交易概念,超越基础行情工具
  2. 全链路交易支持:从市场分析、策略构建、信号生成到交易日志,覆盖完整交易生命周期
  3. 灵活的符号激活机制:策略与事件创建后需显式激活至特定品种,避免误触发,提升控制精度
  4. 异步架构设计:回测等耗时操作采用异步模式,不阻塞用户交互
  5. 零门槛教育内容:Academy 模块降低专业交易知识学习成本

潜在缺点与局限性

  1. 外部服务依赖:完全依赖 DWLF 平台 API 可用性,服务中断将导致功能失效
  2. API 成本门槛:需用户自行申请 DWLF API Key,可能涉及平台订阅费用
  3. 学习曲线陡峭:SMC、DSS 等专业指标及策略构建器需要一定交易知识储备
  4. 异步操作复杂度:回测结果需轮询获取,增加了使用流程的复杂性
  5. 地域与合规限制:金融数据服务可能受特定司法管辖区监管限制

适合的目标群体

  • 活跃交易者:需要实时技术指标和交易信号支持决策的日内/波段交易者
  • 量化策略开发者:希望快速验证交易策略历史表现的研究人员
  • 交易教育者:利用 Academy 内容和可视化工具进行教学的专业人士
  • 投资组合管理者:需要多资产追踪和系统化交易日志的资管从业者
  • 加密货币投资者:专注 BTC、ETH 等数字资产的技术分析型投资者

使用风险

性能风险:回测大型数据集或高频策略时可能产生显著延迟;API 速率限制可能影响高频查询场景。

数据准确性风险:技术指标计算依赖 DWLF 平台算法,与主流行情软件可能存在细微差异;自定义事件编译失败时不会自动告警。

操作风险:符号激活步骤易被遗漏,导致策略/事件静默失效;批量激活操作缺乏二次确认机制。

依赖风险:curl 和 jq 为必需系统工具,部分精简环境可能缺失;Bash 脚本在 Windows 非 WSL 环境下兼容性受限。

财务决策风险:Skill 提供的信号和回测结果不构成投资建议,用户需独立承担交易决策后果。

技能正文


name: dwlf description: > Interact with DWLF (dwlf.co.uk), a market analysis platform for crypto and stocks. Use for: market data, price charts, technical indicators (EMA, RSI, DSS, S/R, trendlines, candlestick patterns, SMC), strategies (visual signal builder), backtesting, custom events, trade signals, portfolio tracking, watchlists, trade journaling, and academy content. Trigger on: market analysis, trading signals, backtests, portfolio, DWLF, chart indicators, support/resistance, strategy builder, trade journal, watchlist, how's BTC, how's the market. metadata: clawdbot: emoji: "📊" requires: bins: ["curl", "jq"]

DWLF — Market Analysis Platform

API base: https://api.dwlf.co.uk/v2

Auth

Use API key auth. Check TOOLS.md for the key. Header:

Authorization: ApiKey dwlf_sk_...

Helper script: scripts/dwlf-api.sh

Quick Start

# Generic GET request
./scripts/dwlf-api.sh GET /market-data/BTC-USD

# With query params
./scripts/dwlf-api.sh GET "/events?symbol=BTC-USD&limit=10"

# POST request
./scripts/dwlf-api.sh POST /visual-backtests '{"strategyId":"...","symbol":"BTC-USD"}'

Symbol Format

  • Crypto: BTC-USD, ETH-USD, SOL-USD (always with -USD suffix)
  • Stocks/ETFs: TSLA, NVDA, META, MARA, RIOT
  • Forex: GBP-USD, EUR-USD

If user says "BTC" → use BTC-USD. If "TSLA" → use TSLA.

Core Endpoints

Market Data

Method Path Description
GET /market-data/{symbol}?interval=1d&limit=50 OHLCV candles
GET /market-data/symbols List all tracked symbols
GET /support-resistance/{symbol} S/R levels with scores
GET /chart-indicators/{symbol}?interval=1d All indicators (RSI, EMA, MACD, etc.)
GET /trendlines/{symbol} Auto-detected trendlines
GET /events?symbol={symbol}&limit=20 System events (breakouts)
GET /events?type=custom_event&scope=user&symbol={symbol}&days=30 User's custom events (wcl, dss, reversals etc.)

Strategies & Signals

Method Path Description
GET /visual-strategies List user's strategies
GET /visual-strategies/{id} Strategy details
POST /visual-strategies Create strategy
PUT /visual-strategies/{id} Update strategy
GET /user/trade-signals/active Active trade signals
GET /user/trade-signals/recent?limit=20 Recent signals
GET /user/trade-signals/stats Signal performance stats
GET /user/trade-signals/symbol/{symbol} Signals for a symbol

Backtesting

Method Path Description
POST /visual-backtests Trigger backtest (async)
GET /visual-backtests/{id} Get backtest results

Backtests are async — POST triggers, then poll GET until complete.

Portfolio & Trades

Method Path Description
GET /portfolios List portfolios
GET /portfolios/{id} Portfolio details + holdings
GET /trades?status=open List trades
POST /trades Log a new trade
PUT /trades/{id} Update trade
GET /trade-plans List trade plans

Watchlist

Method Path Description
GET /watchlist Get watchlist
POST /watchlist Add symbol ({"symbol":"BTC-USD"})
DELETE /watchlist/{symbol} Remove symbol

Custom Events

Method Path Description
GET /custom-events List custom events
POST /custom-events Create custom event
GET /custom-events/{id} Event details

Custom Event Symbol Activation

Method Path Description
POST /custom-event-symbols/:eventId/enable-all Bulk activate symbols for an event
POST /custom-event-symbols/:eventId/disable-all Bulk deactivate symbols for an event
GET /custom-event-symbols/event/:eventId Get active symbols for an event
GET /custom-event-symbols List all event-symbol associations

Strategy Symbol Activation

Method Path Description
POST /strategy-symbols/:strategyId/enable-all Bulk activate symbols for a strategy
POST /strategy-symbols/:strategyId/disable-all Bulk deactivate symbols for a strategy
GET /strategy-symbols/strategy/:strategyId Get active symbols for a strategy
GET /strategy-symbols List all strategy-symbol associations

Evaluations

Method Path Description
POST /evaluations Trigger evaluation run
GET /evaluations/{id} Get evaluation results

Symbol Activation (Required After Creation)

⚠️ IMPORTANT: Creating a custom event or strategy does NOT automatically activate it for any symbols. After creation, you MUST ask the user which symbols to activate it for, then call the enable endpoint. Without this step, the event/strategy will not fire or generate signals.

Workflow: Custom Events

  1. Create the event → POST /custom-events
  2. Compile the event → POST /custom-events/{id}/compile
  3. Ask the user which symbols to activate for
  4. Activate symbols → POST /custom-event-symbols/{eventId}/enable-all with { "symbols": ["BTC-USD", "ETH-USD"] }

Workflow: Strategies

  1. Create the strategy → POST /visual-strategies
  2. Compile the strategy → POST /visual-strategies/{id}/compile
  3. Ask the user which symbols to activate for
  4. Activate symbols → POST /strategy-symbols/{strategyId}/enable-all with { "symbols": ["BTC-USD", "ETH-USD"] }

Checking Active Symbols

  • Event symbols: GET /custom-event-symbols/event/{eventId}
  • Strategy symbols: GET /strategy-symbols/strategy/{strategyId}
  • All activations: GET /custom-event-symbols and GET /strategy-symbols (query: ?activeOnly=true)

Deactivating Symbols

  • Event: POST /custom-event-symbols/{eventId}/disable-all with { "symbols": [...] }
  • Strategy: POST /strategy-symbols/{strategyId}/disable-all with { "symbols": [...] }

Response Formatting

When presenting data to users:

Market overview: Show price, % change, key S/R levels, and any recent events.

Signals: Show symbol, direction, entry, stop loss, confidence score, strategy name.

S/R levels: Sort by score (strongest first), show level and touch count.

Backtests: Show trade count, win rate, total return, Sharpe ratio, best/worst trades.

Available Indicators

EMA (multiple periods), SMA, RSI, MACD, Bollinger Bands, DSS (Double Smoothed Stochastic), Stochastic RSI, ATR, ADX, OBV, Volume Profile, Ichimoku Cloud, Fibonacci Retracement, Support/Resistance, Trendlines, Candlestick Patterns, SMC (Order Blocks, FVGs, BOS/ChoCH).

Academy

DWLF Academy is a CDN-hosted collection of educational content (15 tracks, 60+ lessons) covering indicators, events, strategies, charting, and more. No auth required.

Use academy tools to read lesson content and understand DWLF concepts:

  • dwlf_list_academy_tracks — browse all tracks and lessons
  • dwlf_search_academy — search by keyword
  • dwlf_get_academy_lesson — read a specific lesson (markdown)

When a user asks "how does X work in DWLF?" or "what is DSS?", check the academy first — it likely has a lesson explaining it.

Detailed Reference

  • API endpoints (params, response shapes): read references/api-endpoints.md
  • Strategy builder (node types, edge wiring, examples): read references/strategy-builder.md

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

finance-accountingdata-analyticsapiautomationproductivity

同类 Skill