asterdex/aster-skills-hub/aster-api-trading-v1
Claude Code and agent skill by asterdex/aster-skills-hub
- community
Checking that the SKILL.md file is still in the repository.
Place, cancel, batch, countdown-cancel, and query orders for Aster Futures API v1 (/fapi/v1/). Use when placing/canceling orders or querying open/historical. Signed; see aster-api-auth-v1.
Install
npx vskill@latest install asterdex/aster-skills-hub/aster-api-trading-v1SKILL.md
Aster API Trading (v1)
Base: https://fapi.asterdex.com. Signed (TRADE/USER_DATA). POST/DELETE: body application/x-www-form-urlencoded.
New order
POST /fapi/v1/order (W: 1)
| Parameter | Req | Notes | |
|---|---|---|---|
| symbol, side, type | Y | side: BUY/SELL; type → see below | |
| positionSide | N | BOTH or LONG/SHORT (hedge); req. in Hedge Mode | |
| timeInForce | N | GTC, IOC, FOK, GTX, HIDDEN | |
| quantity | N | Not with closePosition=true | |
| reduceOnly | N | "true"/"false"; not with closePosition/hedge | |
| price, stopPrice | N | stopPrice for STOP/TAKE_PROFIT | |
| closePosition | N | "true"/"false"; STOP_MARKET/TAKE_PROFIT_MARKET only; no quantity/reduceOnly | |
| activationPrice, callbackRate | N | TRAILING_STOP_MARKET; callbackRate 0.1–5 (1=1%) | |
| workingType | N | MARK_PRICE, CONTRACT_PRICE (default) | |
| priceProtect | N | "TRUE"/"FALSE" | |
| newClientOrderId | N | Unique; ^[\.A-Z\:/a-z0-9_-]{1,36}$ | |
| newOrderRespType | N | ACK (default), RESULT |
Type-specific required: LIMIT → timeInForce, quantity, price. MARKET → quantity. STOP/TAKE_PROFIT → quantity, price, stopPrice. STOP_MARKET/TAKE_PROFIT_MARKET → stopPrice. TRAILING_STOP_MARKET → callbackRate.
Trigger rules: STOP/STOP_MARKET: BUY → latest ≥ stopPrice; SELL → latest ≤ stopPrice. TAKE_PROFIT/TAKE_PROFIT_MARKET: BUY → latest ≤ stopPrice; SELL → latest ≥ stopPrice. TRAILING_STOP_MARKET: BUY → low ≤ activationPrice and latest ≥ low×(1+callbackRate); SELL → high ≥ activationPrice and latest ≤ high×(1-callbackRate). activationPrice: BUY < latest, SELL > latest (else -2021). closePosition=true: close all long (SELL) or short (BUY); no quantity/reduceOnly; hedge: no BUY for LONG / SELL for SHORT.
Batch / Cancel / Countdown / Query
- POST /fapi/v1/batchOrders (W: 5):
batchOrdersarray, max 5; same params as order; responses match order. - DELETE /fapi/v1/order (W: 1): symbol + orderId or origClientOrderId.
- DELETE /fapi/v1/allOpenOrders (W: 1): symbol.
- DELETE /fapi/v1/batchOrders (W: 1): symbol + orderIdList or origClientOrderIdList (max 10).
- POST /fapi/v1/countdownCancelAll (W: 10): symbol, countdownTime (ms). Cancel all at countdown end; 0 = cancel timer. Heartbeat to extend (e.g. 30s with 120000 ms). Checks ~10 ms.
- GET /fapi/v1/order, openOrder (W: 1): symbol + orderId or origClientOrderId.
- GET /fapi/v1/openOrders (W: 1 or 40): symbol optional; no symbol = all (40).
- GET /fapi/v1/allOrders (W: 5): symbol req.; orderId, startTime, endTime, limit (500 default, 1000 max). Window < 7 days; orderId → orders ≥ that id. CANCELED/EXPIRED >7d with no fills may be missing.
Payload shapes: reference.md.
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 repositoryCheckingskills/aster-api-trading-v1/SKILL.md
Popularity
- Repository stars
- 59
- Repository forks
- 9
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 7 months ago.
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/asterdex/aster-skills-hub/aster-api-trading-v1)