hummingbot/condor/execution-data-with-code
Claude Code and agent skill by hummingbot/condor
- community
Checking that the SKILL.md file is still in the repository.
Analyze bot/controller/executor performance — use run_code with verified
Install
npx vskill@latest install hummingbot/condor/execution-data-with-codeSKILL.md
The same SKILL.md was published earlier as hummingbot/condor/execution-data-with-code.
Execution Data — client.bot_orchestration.* + client.executors.* + client.portfolio.* inside run_code
⚠️ STOP — self-audit before any tool call
- Did you call `manage_skill(action="read", name="execution_data_with_code")` before writing any code?
- NO → You are here now. Good. Read the schemas below; write the COMPLETE snippet on the NEXT call.
- YES → Proceed. The schema is already in your context.
- Is your call covered by the API reference below?
- YES → Use it directly. Do NOT call
dir(client),catalog(),inspect.signature, or any raw probe first. Those calls waste turns — the schemas here are verified. - NO → A single raw probe is acceptable only for calls not listed here.
The cost of skipping this read: 5+ wasted discovery calls.
First-call rule
Write the complete, final snippet on the first `run_code` call.
- Aggregate, sort, and format in ONE call — don't split into "fetch then format".
- The whole fleet is one
get_active_bots_statuscall — never loopget_bot_statusper bot. asyncio.gather(..., return_exceptions=True)+isinstance(r, Exception)per result — never catch and swallow silently.
⚠️ stdout is clipped at ~4000 chars. When outputting many rows (100+ controllers), only print the top N and rely on result for structured data. A second run_code(action="get") call to recover truncated output is the same wasted turn as splitting into fetch+format — avoid it by limiting print output upfront. Pattern:
When to use what
| Request | Tool | Notes | |
|---|---|---|---|
| All active bots + controllers + PNL | run_code → get_active_bots_status | Full fleet snapshot — one call | |
| One bot's controller performance | run_code → get_bot_status(bot_name) | Same shape as fleet | |
| Controller PNL as time series | run_code → get_controller_performance_history | See verified schema below | |
| Latest controller snapshot (all bots ever) | run_code → get_latest_controller_performance | ⚠️ flat list, includes stopped bots AND zero-volume zombies — filter both | |
| Portfolio balances (formatted) | MCP get_portfolio_overview | Returns text — NOT programmatic | |
| Spot balances in USD (programmatic) | run_code → client.portfolio.get_state() | JSON breakdown by token | |
| Portfolio value time series | run_code → client.portfolio.get_history() | Spot balances only — see schema | |
| Raw executor list (filter by type/pair/controller) | MCP list_executors | No run_code needed | |
| Single executor detail + logs | MCP get_executor | No run_code needed | |
| Aggregate executor PNL by controller_id | MCP get_performance_report | No run_code needed; ⚠️ see warning below | |
| Executor history / counts / closed PNL | run_code → client.executors.search_executors | See schema below — NOT search_history | |
| Historical orders | MCP search_history(data_type="orders") | CEX order records only | |
| Historical perp positions | MCP search_history(data_type="perp_positions") | ||
| Historical LP positions | MCP search_history(data_type="clmm_positions") |
⚠️ `search_history` does NOT have an executor data_type. Executor history comes exclusively from client.executors.search_executors().
⚠️ `get_portfolio_overview` (MCP tool) returns formatted text, not JSON. For programmatic access (compute percentages, aggregate types) use client.portfolio.get_state() inside run_code.
API reference
get_active_bots_status() — all running bots
get_bot_status(bot_name) — one bot (same payload, single bot)
get_latest_controller_performance() — latest snapshot, all bots ever ✅ verified
Aggregating by controller_id (when you want per-controller totals, not per-bot-instance):
get_controller_performance_history() — time series ✅ verified
Response:
data: same item shape asget_latest_controller_performance— flat list, one row per controller per time bucketpagination:{next_cursor, has_more, limit, interval}— cursor-paginate whenhas_more=True- Rows are ordered by timestamp ascending
⚠️ Interval warning: intervals coarser than 5m silently drop controllers from the result — always use interval="5m".
client.portfolio.* — portfolio state and history ✅ verified
⚠️ `client.portfolio.get_history()` captures spot balances only. Perp unrealized PNL and CLMM LP value are not included in the snapshots.
⚠️ `start_time`/`end_time` in `get_history()` are UNIX ints, not ISO strings.
Other `client.portfolio` methods: get_distribution() (token % distribution), get_portfolio_summary(), get_total_value(), get_accounts_distribution().
client.executors.search_executors() — executor history ✅ verified
Per-record fields: executor_id, executor_type, account_name, connector_name, trading_pair, side, status, close_type, is_active, is_trading, created_at, closed_at, close_timestamp (Unix float), controller_id, net_pnl_quote (realized net of fees), net_pnl_pct (fraction), cum_fees_quote, filled_amount_quote (volume), config, custom_info.
Known `executor_type`: grid_executor, order_executor, position_executor, dca_executor, lp_executor
Known `close_type`: TAKE_PROFIT, POSITION_HOLD, EARLY_STOP, SYSTEM_CLEANUP
⚠️ No date filter. Results are newest-first. Filter client-side using close_timestamp (Unix float) and break early when past the window.
client.executors.get_performance_report(controller_id=None) — aggregate stats ⚠️
⚠️ `by_type` is unreliable for counts — verified: showed 66 of 121 real executors. Use search_executors pagination for accurate type counts.
`get_summary()` is active-only — returns zeros when fleet is idle. Not useful for history.
Canonical snippets
Active controllers — PNL + volume table (verified, single call)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/_shared/skills/execution_data_with_code/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hummingbot/condor/execution-data-with-code)