一键导入
profile
Configure agent-finance trading profiles, Binance HMAC env references, risk policy, intent-first live writes, audit logs, and guarded signed workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure agent-finance trading profiles, Binance HMAC env references, risk policy, intent-first live writes, audit logs, and guarded signed workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
agent-finance の銘柄別ターミナルでリアルタイム気配、OHLCV チャート、口座、診断、段階的な取引フローをキーボードまたはマウスで扱います。
agent-finance 종목별 터미널에서 실시간 시세, OHLCV 차트, 계정, 진단, 단계별 거래 흐름을 키보드와 마우스로 다룹니다.
使用 agent-finance 的 selected-symbol 终端查看实时报价、OHLCV K 线、账户、诊断和分阶段交易工作流,支持键盘与鼠标。
Use the agent-finance selected-symbol terminal for live quotes, OHLCV charts, account views, diagnostics, and staged trading workflows with keyboard or mouse.
agent-finance の市場価格、セッション、crypto、履歴、リサーチデータ、provider カバレッジ、予測市場、プロキシ文脈、安全な情報源処理の入口ガイド。コマンド利用前に読む。
agent-finance의 시장 가격, 세션, crypto, 히스토리, 리서치 데이터, provider 범위, 예측시장, 프록시 맥락, 안전한 소스 처리를 위한 시작 가이드. 명령 사용 전에 읽는다.
| name | profile |
| description | Configure agent-finance trading profiles, Binance HMAC env references, risk policy, intent-first live writes, audit logs, and guarded signed workflows. |
Use this skill before any account, order, transfer, risk, or audit command.
Also use it before USD-M futures state changes.
BINANCE_PRIVATE_KEY; in Binance HMAC mode this is the API Secret string, not an RSA or Ed25519 private key.allow_live = true, matching [permissions] declarations, the relevant order/transfer/futures-state whitelist, matching Binance API key permissions, intent id, and --live.valuation_price.risk.allowed_futures_state_changes policy and use separate state intents.dualSidePosition, and Binance rejects the change when either side has open orders or open positions.risk check, then submit.[permissions] declares what this profile is allowed to attempt before API-key probing:
[permissions]
spot_trading = true
usds_futures = true
universal_transfer = false
spot_trading: required for Spot order and cancel intents.usds_futures: required for USD-M order/cancel intents and futures state changes.universal_transfer: required for Spot <-> USD-M internal transfers.profile doctor reports both profile/risk consistency and live Binance API-key permission checks when HMAC env vars are set.risk check and submit block an intent when the matching profile permission is false, even if the risk whitelist would otherwise allow it.[permissions] or omit individual fields parse with those permissions defaulting to false; this is fail-closed and profile doctor will report which declarations are missing for the risk policy.agent-finance profile path --profile default
agent-finance profile template --profile default
agent-finance profile doctor --profile default
agent-finance profile explain --profile default
agent-finance risk explain --profile default
agent-finance account permissions --profile default --json
agent-finance account balances --profile default --json
agent-finance account positions --profile default --json
Signed read JSON output is a SignedReadSnapshot envelope:
profile, provider, environment, kindrequest: typed read request and scopepayload: raw provider response for the requested signed read| Command | kind | Common payload path |
|---|---|---|
account permissions | api-permissions | payload |
account balances | spot-balances | payload.balances |
account positions | usds-futures-positions | payload.assets, payload.positions |
order query | order-query | payload |
order open | open-orders | payload |
transfer history | transfer-history | payload.rows |
agent-finance order create BTCUSDT --profile default --market spot --side buy --kind limit --quantity 0.001 --price 50000 --time-in-force gtc
agent-finance order create BTCUSDT --profile default --market spot --side buy --kind limit-maker --quantity 0.001 --price 50000
agent-finance order create BTCUSDT --profile default --market spot --side buy --kind market --quantity 0.001 --valuation-price 50000
agent-finance risk check INTENT_ID --profile default
agent-finance order submit INTENT_ID --profile default
agent-finance order submit INTENT_ID --profile default --test
agent-finance order submit INTENT_ID --profile default --live
agent-finance order query BTCUSDT --profile default --market spot --client-order-id CLIENT_ORDER_ID --json
agent-finance order open --profile default --market spot --symbol BTCUSDT --json
Signed submit JSON output is a SubmitSnapshot envelope:
profile, provider, environment, intent_id, intent_kind, mode, riskexecution.kind: plan, order-submit, cancel, transfer, or futures-stateexecution.payload: dry-run request plan, exchange rule check, or raw provider execution payloadorder cancel creates a cancel intent; it does not cancel an exchange order until the intent is checked and submitted.
agent-finance order cancel BTCUSDT --profile default --market spot --client-order-id CLIENT_ORDER_ID
agent-finance risk check CANCEL_INTENT_ID --profile default
agent-finance order submit CANCEL_INTENT_ID --profile default
agent-finance order submit CANCEL_INTENT_ID --profile default --live
Add Binance futures account position mode policy manually before using --kind position-mode; it is not included in the default profile template:
[[risk.allowed_futures_state_changes]]
kind = "position-mode"
mode = "hedge"
agent-finance state create --profile default --kind leverage --symbol BTCUSDT --leverage 2
agent-finance state create --profile default --kind margin-type --symbol BTCUSDT --margin-type isolated
agent-finance state create --profile default --kind position-mode --position-mode hedge
agent-finance risk check INTENT_ID --profile default --live
agent-finance state submit INTENT_ID --profile default
agent-finance state submit INTENT_ID --profile default --live
agent-finance transfer create USDT --profile default --direction spot-to-usds-futures --amount 10
agent-finance risk check INTENT_ID --profile default
agent-finance transfer submit INTENT_ID --profile default
agent-finance transfer submit INTENT_ID --profile default --live
agent-finance transfer history --profile live --direction spot-to-usds-futures --size 20 --json
agent-finance audit tail --limit 20
agent-finance audit export --json
profile doctor first checks that [permissions] covers the risk policy, then reads Binance API restrictions when HMAC env vars are set and reports specific permission checks for spot trading, USD-M futures, and universal transfer.[permissions] fields default to false; add explicit declarations instead of assuming older profiles are live-write capable.max_daily_order_notional_usdt is enforced from the local append-only audit log for risk check --live and live order submit. Matching live-submit events with missing notional data fail closed.order submit without flags is an offline dry-run; --test calls an exchange test endpoint where available but does not consume the intent; only --live consumes the intent.order submit --test and order submit --live fetch Binance exchangeInfo and block orders that violate locally checkable symbol status, price tick, lot size, or notional filters. Dry-run is offline and prints the exchangeInfo request that will be checked later.--price as the exchange price. Spot limit-maker orders map to Binance LIMIT_MAKER, do not accept --time-in-force, and rely on the exchange to reject orders that would immediately take liquidity. Market orders use --valuation-price for risk notional checks and never send an exchange price parameter; exchange notional for market orders is reported as not locally checked because it depends on execution price.[[risk.allowed_transfers]] entries with direction, asset, and max amount.[[risk.allowed_futures_state_changes]] entries. Order submit does not change leverage, margin type, or position mode implicitly.risk check findings before live position-mode submit; the CLI warns that Binance applies it account-wide across every symbol and that UM/CM share the setting.