소스 정보
- 저장소
- kmshihab7878/claude-code-setup
- 최근 소스 활동
- 2026년 4월 7일 21:22
- 감지된 SKILL.md 언어
- 영어
- 스타
- 6
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/kmshihab7878/claude-code-setup --skill aster-trading명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | aster-trading |
| description | Aster DEX trading skill for futures, spot, and market data via MCP tools |
| keywords | trading, crypto, DeFi, perpetuals, futures, spot, Aster DEX, market data, orders, positions, leverage |
Aster DEX is a next-generation perpetual futures and spot exchange backed by YZi Labs. This skill provides trading capabilities through the aster MCP server.
| Tool | Description |
|---|---|
ping | Test Aster API connectivity |
get_ticker | 24h ticker / latest price for a futures symbol |
get_order_book | Order book depth (bids/asks) |
get_klines | Candlestick/K-line data (1m, 5m, 1h, 4h, 1d) |
get_funding_rate | Current funding rate and mark price |
get_funding_info | Funding rate configuration |
get_exchange_info | Exchange rules and contract specifications |
get_spot_ticker | 24h spot ticker |
get_spot_price | Latest spot price |
get_spot_order_book | Spot order book depth |
get_spot_klines | Spot candlestick data |
get_spot_exchange_info | Spot trading rules |
| Tool | Description |
|---|---|
get_balance | Futures account balance |
get_positions | Open positions (optionally filtered by symbol) |
get_account_info | Account info with position summary |
get_account_v4 | Full account info (assets + positions) |
get_income | PnL and fee flow (TRANSFER, REALIZED_PNL, FUNDING_FEE, COMMISSION) |
get_commission_rate | Trading fee rate for a symbol |
get_leverage_bracket | Leverage tier brackets |
get_spot_account | Spot account balances (free/locked) |
| Tool | Description |
|---|---|
create_order | Place order (LIMIT, MARKET, STOP, STOP_MARKET) |
cancel_order | Cancel by order_id or client_order_id |
cancel_all_orders | Cancel all open orders for a symbol |
get_order | Query single order |
get_open_orders | List current open orders |
get_all_orders | Order history |
get_my_trades | Trade/fill history |
| Tool | Description |
|---|---|
create_spot_order | Place spot order |
cancel_spot_order | Cancel spot order |
cancel_spot_all_orders | Cancel all spot orders for a symbol |
get_spot_order | Query spot order |
get_spot_open_orders | List open spot orders |
get_spot_all_orders | Spot order history |
get_spot_my_trades | Spot trade history |
get_spot_transaction_history | Spot transaction flow |
get_spot_commission_rate | Spot fee rate |
| Tool | Description |
|---|---|
set_leverage | Set leverage multiplier for a symbol |
set_margin_mode | Set ISOLATED or CROSSED margin |
transfer_funds | Transfer between spot and futures (type 1=spot->futures, 2=futures->spot) |
transfer_spot_futures | Spot-futures transfer (SPOT_FUTURE or FUTURE_SPOT) |
| Tool | Description |
|---|---|
get_server_info | MCP server info, configured accounts, tool count |
API keys are managed exclusively through the encrypted config:
# Configure HMAC account
aster-mcp config
# Configure EIP-712 (V3) account
aster-mcp config --account-id main --auth-type v3
# List configured accounts
aster-mcp list
# Test connectivity
aster-mcp test main
Keys are stored with Fernet encryption in ~/.config/aster-mcp/.
CRITICAL: These rules are mandatory for all trading operations.
User confirmation required: ALWAYS confirm with the user before placing ANY order. Display the full order details (symbol, side, type, quantity, price, leverage) and ask for explicit approval.
Position size disclosure: Before executing, show:
Leverage warnings:
Never auto-execute: No order placement without user seeing a preview and confirming.
Rate limits: Respect Aster API rate limits. If receiving 429 responses, back off and inform the user.
aster-mcp config (Fernet encrypted)~/.config/aster-mcp/ (encrypted)1. Call get_ticker with symbol="BTCUSDT"
2. Display: last price, 24h change %, 24h volume
1. Call get_ticker to show current price
2. Call get_balance to show available margin
3. Present order preview: symbol, side=BUY, type=LIMIT, quantity, price
4. Wait for user confirmation
5. Call create_order with confirmed parameters
6. Display order result (orderId, status, filled quantity)
1. Call get_positions to show open positions
2. Identify the position to close
3. Create a closing order (opposite side, reduce_only=true)
4. Wait for user confirmation
5. Execute and display result
1. Call get_balance for margin/PnL overview
2. Call get_positions for open positions
3. Call get_open_orders for pending orders
4. Present consolidated portfolio view
Symbols accept both formats and are normalized internally:
BTCUSDT or BTC/USDT -> BTCUSDTETHUSDT or ETH/USDT -> ETHUSDT| Type | URL |
|---|---|
| Futures REST | https://fapi.asterdex.com |
| Spot REST | https://sapi.asterdex.com |
| WebSocket | wss://fstream.asterdex.com |
1. Fetch candles: get_klines(symbol, interval="1h", limit=500)
2. Calculate indicators: RSI, MACD, Bollinger Bands, ATR
3. Run ML model: feature engineering → prediction → confidence score
4. Generate signal: BUY/SELL/HOLD with confidence (0.0-1.0)
5. Position sizing: Kelly criterion or fixed fractional (see finance-ml skill)
6. Risk check: get_balance() + get_positions() → verify margin availability
7. Present to user with full details (MANDATORY confirmation)
8. Execute if confirmed: create_order(...)
| Indicator | Bullish Signal | Bearish Signal |
|---|---|---|
| RSI(14) | Below 30 (oversold) | Above 70 (overbought) |
| MACD | Signal line crossover up | Signal line crossover down |
| Bollinger Bands | Price touches lower band | Price touches upper band |
| Funding Rate | Negative (shorts paying) | Very positive (longs paying) |
| Volume | Increasing on uptrend | Increasing on downtrend |