Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计未展示

%401247%2ftrade-simulator%401247%2ftrade 模拟器

Agent Skill

%401247%2ftrade-simulator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

428

周安装

18

GitHub Stars

公开资料未说明

下载量

150
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:%401247%2ftrade-simulator(%401247%2ftrade 模拟器)
来源仓库:https://github.com/starchild-ai-agent/community-skills
仓库路径:skills/%401247%2Ftrade-simulator
安装命令:
npx skills add https://github.com/starchild-ai-agent/community-skills --skill @1247/trade-simulator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/starchild-ai-agent/community-skills --skill @1247/trade-simulator

简介

基于 MiroFish 架构构建的多智能体市场行为模拟器。

  • 通过模拟鲸鱼、做市商等角色互动预测市场走势。
  • 适用于策略回测、压力测试及复杂场景推演。
  • 依赖实时链上数据源,建议验证数据接口稳定性后再投入生产。
  • %401247%2ftrade-simulator 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

🐟 Trade Simulator (MiroFish Architecture)

Multi-agent scenario analysis for traders. Not a spreadsheet — a behavioral simulation. Built on MiroFish's swarm intelligence architecture, adapted from social simulation to market simulation.

MiroFish Integration

This skill implements MiroFish's 5-stage prediction pipeline, replacing social media environments with financial markets:

MiroFish StageOriginal (Social)Our Adaptation (Markets)
1. Graph ConstructionZep knowledge graph from news/docsMarket State Graph from live Coinglass/HL data
2. Environment SetupTwitter/Reddit agent profilesMarket participant profiles (Whale, MM, Retail, etc.)
3. SimulationOASIS dual-platform social interactionRound-based market interaction with LLM reasoning
4. Report GenerationReACT report with Zep toolsReACT report with market data tools
5. Deep InteractionInterview any social agentInterview any market participant

Key MiroFish Patterns Used

  1. LLM-driven agent reasoning (from oasis_profile_generator.py) — agents don't use if/else rules. Each agent has a persona prompt and "thinks" each round via LLM call
  2. Simulation config auto-generation (from simulation_config_generator.py) — describe scenario in natural language, LLM generates agent roster, parameters, event timeline, activity patterns
  3. ReACT report generation (from report_agent.py) — multi-step reasoning with tool use: plan outline → generate sections → cite evidence → synthesize predictions
  4. Post-simulation interviews (from zep_tools.py Interview system) — chat with any agent after simulation to understand their reasoning
  5. Knowledge graph backbone — entities, relationships, and facts structured for agent retrieval (we use in-memory graph instead of Zep Cloud)

What We Don't Use

  • ❌ OASIS / camel-ai (social media simulation runtime — irrelevant to markets)
  • ❌ Zep Cloud (replaced with local in-memory knowledge graph)
  • ❌ Flask frontend (we output to agent conversation)
  • ❌ Twitter/Reddit environments (replaced with market environment)

Architecture

skills/trade-simulator/
├── SKILL.md                          # This file
└── scripts/
    ├── mirofish_engine.py            # Core engine — 5-stage pipeline
    ├── market_graph.py               # Stage 1: Market state graph builder
    ├── profile_generator.py          # Stage 2: LLM agent profile generation
    ├── simulation_runner.py          # Stage 3: Round-based market simulation
    ├── report_agent.py               # Stage 4: ReACT report generation
    └── interview.py                  # Stage 5: Post-sim agent interviews

Usage

Quick Scenario Analysis

Agent: "Run a trade simulation: What happens to my BTC short if ETF inflows spike 500%?"

The engine will:

  1. Build market state graph from live data (OI, funding, liquidations, whale positions)
  2. Auto-generate 5-8 market participant agents calibrated to current conditions
  3. Run 6-round simulation where each agent LLM-reasons about their actions
  4. Generate ReACT analysis report with turning points, cascade analysis, recommendations
  5. Offer interactive interviews with any simulated agent

Supported Scenarios

  • Directional shocks: "What if BTC pumps/dumps 10-20%?"
  • Catalyst events: "What if ETF inflows spike?" / "What if Tether depegs?"
  • Market structure: "What if funding goes extreme?" / "What if OI doubles?"
  • Portfolio stress: "How does my portfolio react to a black swan?"

Interview Mode

After any simulation:

Agent: "Interview the whale agent — why did they cover at round 4?"
Agent: "Ask the market maker about their liquidity decision"

Data Sources (Live)

DataToolWhat It Feeds
Open Interestcg_open_interest()Market leverage state
Funding Ratesfunding_rate()Positioning sentiment
Liquidation Levelscg_liquidations()Cascade trigger points
Whale Positionscg_hyperliquid_whale_positions()Whale agent calibration
Long/Short Ratioslong_short_ratio()Crowd positioning
Orderbook Depthhl_orderbook()MM agent calibration
ETF Flowscg_btc_etf_flows()Institutional flow context
Price/OHLCcg_ohlc_history()Price context
Social Sentimentlunar_coin()Retail agent behavior

Workflow

  1. Collect live market data using tools above
  2. Run simulation: python3 skills/trade-simulator/scripts/mirofish_engine.py

- Pass market data + scenario + user positions as JSON - Engine runs all 5 MiroFish stages - Returns structured results (agent actions, report, interview-ready state)

  1. Present results with key insights, PnL impact, risk warnings
  2. Offer interviews — user can interrogate any agent

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

36.08%
按下载量换算54

Claude

31.33%
按下载量换算47

Cursor

18.52%
按下载量换算28

Gemini CLI

9.55%
按下载量换算14

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills