بنقرة واحدة
vulcan-tpsl-management
Take-profit and stop-loss: direction rules, constraints, and set/cancel flows.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Take-profit and stop-loss: direction rules, constraints, and set/cancel flows.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | vulcan-tpsl-management |
| version | 1.0.0 |
| description | Take-profit and stop-loss: direction rules, constraints, and set/cancel flows. |
| metadata | {"openclawd":{"category":"finance"},"requires":{"bins":["vulcan"],"skills":["vulcan"]}} |
Use this skill for:
Attach to market orders:
vulcan_trade → {
symbol: "SOL",
side: "buy",
order_type: "market",
size: 50,
tp: 160.0, sl: 140.0,
acknowledged: true
}
Same-call TP/SL is also supported for cross-margin limit orders. Do not rely on same-call TP/SL for isolated limit orders; use vulcan_trade_set_tpsl or vulcan_position_tp_sl after the position exists.
Critical constraint: TP/SL at order time only works when opening or extending a position. If the order reduces an existing position, the entire transaction rolls back (the order does not execute either).
vulcan_trade_set_tpsl → { symbol: "SOL", tp: 160.0, sl: 140.0, acknowledged: true }
vulcan_position_tp_sl → { symbol: "SOL", tp: 160.0, sl: 140.0, acknowledged: true }
Both auto-detect position side. You can set just TP, just SL, or both.
Pass tp_levels / sl_levels instead of tp / sl to attach multiple
trigger orders at different prices, each closing a portion of the position.
Sum of level sizes per side must not exceed the current position.
vulcan_trade_set_tpsl → {
symbol: "SOL",
tp_levels: [
{ price: 160.0, size: 0.5 }, # close 0.5 SOL at $160
{ price: 170.0, size: 0.5 } # close 0.5 SOL at $170
],
sl_levels: [{ price: 140.0 }], # full position at $140 (only valid as single level)
acknowledged: true
}
Each level accepts size (base-asset tokens) or size_lots (base lots),
mutually exclusive. Omit both only when there is exactly one level on that
side — it then defaults to the full position.
CLI equivalent:
vulcan trade set-tpsl SOL \
--tp-level 160:0.5 --tp-level 170:0.5 \
--sl-level 140 \
--yes
set_tpsl appends new trigger orders — it does not replace existing ones.
To change an existing TP/SL, cancel first, then set:
vulcan_trade_cancel → { symbol: "SOL", scope: "tpsl", tp: true, acknowledged: true }
vulcan_trade_set_tpsl → { symbol: "SOL", tp: 165.0, acknowledged: true }
vulcan_trade_cancel → { symbol: "SOL", scope: "tpsl", tp: true, sl: true, acknowledged: true }
Set tp: true to cancel take-profit, sl: true to cancel stop-loss, or both.
TP/SL are trigger orders. vulcan_position_show is the authoritative source for the position's TP/SL.
vulcan_position_show → { symbol: "SOL" }
# Look for: take_profit_price, stop_loss_price
Conditional trigger legs may also appear in portfolio or order views as reduce-only trigger orders (for example, cond: order IDs). Do not treat those as normal resting limits.
vulcan_trade_set_tpsl on the existing position instead.vulcan_position_show for the position-level TP/SL state.Development conventions and architecture guide for the Clawd Code CLI repository — a Solana-native AI coding agent with perps trading, image generation, voice, and x402 payments.
Register, discover, and hire autonomous AI agents on Solana. On-chain identity via Metaplex Core NFTs (8004-solana SDK or REST API). Search by capability, check reputation backed by $CLAWD payment proofs, browse the service catalog, and get machine-readable hiring instructions. Supports Google A2A agent-card.json and Anthropic MCP server-card.json. No EVM — Solana only.
Solana RPC data toolkit — 8-command CLI for live on-chain data: SOL balance + SPL token portfolio with USD values, transaction detail with balance changes, SPL token metadata + top holders, recent activity history, NFT portfolio (SPL + cNFT via Helius DAS), whale detector, network stats (TPS/epoch/price), and quick price lookup. Pure Python stdlib, no extra packages. Optional HELIUS_API_KEY for compressed NFT detection.
Clawd Guard — the sovereign secrets sentinel. Mandatory reading for every Solana developer before they push a single commit. Use when: setting up a new repo, reviewing a .gitignore, onboarding a dev, or after any "oops I committed my private key" incident. Covers every secrets pattern that must never touch git: wallet JSON files, keypairs, .env files, private keys, API tokens, service account credentials, and IDE/OS junk. Built by Clawd to stop you from becoming a cautionary tale.
AI code reviews via Greptile — trigger PR reviews, run local CLI reviews, query codebase graphs, apply auto-fixes, manage custom rules, and analyze review analytics. Use for code review, PR feedback, issue triage, and codebase exploration.
Clawd TUI perps screen integration. Use when the user asks about the Clawd terminal UI, the Phoenix perps screen inside the TUI, paper trading from the TUI, or how the TUI drives Vulcan.