Pilot Financial Trading Desk Setup
/install pilot-financial-trading-desk-setup
Financial Trading Desk Setup
Deploy 4 agents: analyst, sentiment, risk-mgr, and executor.
Roles
| Role | Hostname | Skills | Purpose |
|---|---|---|---|
| analyst | \x3Cprefix>-analyst |
pilot-stream-data, pilot-metrics, pilot-cron, pilot-alert | Monitors markets, identifies trading opportunities |
| sentiment | \x3Cprefix>-sentiment |
pilot-stream-data, pilot-event-filter, pilot-archive | Scans news and social media for sentiment signals |
| risk-mgr | \x3Cprefix>-risk-mgr |
pilot-event-filter, pilot-audit-log, pilot-alert | Evaluates trades against portfolio risk limits |
| executor | \x3Cprefix>-executor |
pilot-task-router, pilot-receipt, pilot-webhook-bridge | Executes approved trades, reports fills |
Setup Procedure
Step 1: Ask the user which role this agent should play and what prefix to use.
Step 2: Install the skills for the chosen role:
# For analyst:
clawhub install pilot-stream-data pilot-metrics pilot-cron pilot-alert
# For sentiment:
clawhub install pilot-stream-data pilot-event-filter pilot-archive
# For risk-mgr:
clawhub install pilot-event-filter pilot-audit-log pilot-alert
# For executor:
clawhub install pilot-task-router pilot-receipt pilot-webhook-bridge
Step 3: Set the hostname and write the manifest to ~/.pilot/setups/financial-trading-desk.json.
Step 4: Tell the user to initiate handshakes with the peers for their role.
Manifest Templates Per Role
analyst
{
"setup": "financial-trading-desk", "role": "analyst", "role_name": "Market Analyst",
"hostname": "\x3Cprefix>-analyst",
"skills": {
"pilot-stream-data": "Ingest real-time market data feeds (price, volume, order book).",
"pilot-metrics": "Track signal accuracy, win rate, and Sharpe ratio.",
"pilot-cron": "Run scheduled scans for technical setups across watchlists.",
"pilot-alert": "Emit trade signals when high-confidence setups are detected."
},
"data_flows": [
{ "direction": "send", "peer": "\x3Cprefix>-risk-mgr", "port": 1002, "topic": "trade-signal", "description": "Trade signals with entry/exit levels" }
],
"handshakes_needed": ["\x3Cprefix>-risk-mgr"]
}
sentiment
{
"setup": "financial-trading-desk", "role": "sentiment", "role_name": "Sentiment Scanner",
"hostname": "\x3Cprefix>-sentiment",
"skills": {
"pilot-stream-data": "Ingest news feeds, social media streams, and earnings data.",
"pilot-event-filter": "Classify content as bullish, bearish, or neutral.",
"pilot-archive": "Store historical sentiment data for backtesting."
},
"data_flows": [
{ "direction": "send", "peer": "\x3Cprefix>-risk-mgr", "port": 1002, "topic": "sentiment-score", "description": "Sentiment scores with source attribution" }
],
"handshakes_needed": ["\x3Cprefix>-risk-mgr"]
}
risk-mgr
{
"setup": "financial-trading-desk", "role": "risk-mgr", "role_name": "Risk Manager",
"hostname": "\x3Cprefix>-risk-mgr",
"skills": {
"pilot-event-filter": "Correlate trade signals with sentiment for confirmation.",
"pilot-audit-log": "Log all risk decisions with full reasoning for audit.",
"pilot-alert": "Emit alerts on exposure limit breaches or drawdown warnings."
},
"data_flows": [
{ "direction": "receive", "peer": "\x3Cprefix>-analyst", "port": 1002, "topic": "trade-signal", "description": "Trade signals from analyst" },
{ "direction": "receive", "peer": "\x3Cprefix>-sentiment", "port": 1002, "topic": "sentiment-score", "description": "Sentiment scores from scanner" },
{ "direction": "send", "peer": "\x3Cprefix>-executor", "port": 1002, "topic": "approved-trade", "description": "Approved trades with position sizing" },
{ "direction": "receive", "peer": "\x3Cprefix>-executor", "port": 1002, "topic": "execution-report", "description": "Fill reports for P&L tracking" }
],
"handshakes_needed": ["\x3Cprefix>-analyst", "\x3Cprefix>-sentiment", "\x3Cprefix>-executor"]
}
executor
{
"setup": "financial-trading-desk", "role": "executor", "role_name": "Trade Executor",
"hostname": "\x3Cprefix>-executor",
"skills": {
"pilot-task-router": "Route orders to optimal execution venue.",
"pilot-receipt": "Generate trade confirmations and settlement receipts.",
"pilot-webhook-bridge": "Interface with exchange APIs for order placement."
},
"data_flows": [
{ "direction": "receive", "peer": "\x3Cprefix>-risk-mgr", "port": 1002, "topic": "approved-trade", "description": "Approved trades to execute" },
{ "direction": "send", "peer": "\x3Cprefix>-risk-mgr", "port": 1002, "topic": "execution-report", "description": "Fill reports with price and slippage" }
],
"handshakes_needed": ["\x3Cprefix>-risk-mgr"]
}
Data Flows
analyst -> risk-mgr: trade signals with entry/exit levels and rationale (port 1002)sentiment -> risk-mgr: sentiment scores with source attribution (port 1002)risk-mgr -> executor: approved trades with position size and risk parameters (port 1002)executor -> risk-mgr: execution reports with fill price and slippage (port 1002)
Workflow Example
# On analyst -- detect setup and publish signal:
pilotctl --json publish \x3Cprefix>-risk-mgr trade-signal '{"symbol":"AAPL","direction":"long","entry":187.50,"stop_loss":184.00,"confidence":0.82}'
# On sentiment -- publish corroborating sentiment:
pilotctl --json publish \x3Cprefix>-risk-mgr sentiment-score '{"symbol":"AAPL","score":0.74,"classification":"bullish"}'
# On risk-mgr -- approve with position sizing:
pilotctl --json publish \x3Cprefix>-executor approved-trade '{"trade_id":"TRD-4821","symbol":"AAPL","direction":"long","qty":150,"order_type":"limit"}'
# On executor -- report fill:
pilotctl --json publish \x3Cprefix>-risk-mgr execution-report '{"trade_id":"TRD-4821","fill_price":187.55,"slippage_bps":2.7,"status":"filled"}'
Dependencies
Requires pilot-protocol skill, pilotctl binary, clawhub binary, and a running daemon.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pilot-financial-trading-desk-setup - 安装完成后,直接呼叫该 Skill 的名称或使用
/pilot-financial-trading-desk-setup触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Pilot Financial Trading Desk Setup 是什么?
Deploy a financial trading desk with 4 agents. Use this skill when: 1. User wants to set up coordinated market analysis, sentiment, risk management, and exec... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 73 次。
如何安装 Pilot Financial Trading Desk Setup?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pilot-financial-trading-desk-setup」即可一键安装,无需额外配置。
Pilot Financial Trading Desk Setup 是免费的吗?
是的,Pilot Financial Trading Desk Setup 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Pilot Financial Trading Desk Setup 支持哪些平台?
Pilot Financial Trading Desk Setup 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Pilot Financial Trading Desk Setup?
由 Calin Teodor(@teoslayer)开发并维护,当前版本 v1.0.0。