Places and manages trades on BloFin exchange: market, limit, post_only, FOK, IOC orders, batch operations, TP/SL, and algo/trigger orders. Requires authenticated API access with TRADE permission.
Ships in blofin-skills-hub. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Execute trades on BloFin exchange. Supports market, limit, post-only, FOK, IOC orders, batch operations, TP/SL, and algo/trigger orders.
CRITICAL: Always confirm order details with the user before placing any trade. Display the instrument, side, size, price, and estimated cost/margin before execution.
| Type | Description |
|---|---|
market | Execute immediately at best available price |
limit | Execute at specified price or better |
post_only | Limit order that only adds liquidity (maker only); cancelled if it would match immediately |
fok | Fill or Kill — must fill entirely immediately or cancel |
ioc | Immediate or Cancel — fill what's possible immediately, cancel the rest |
| Side | Position Side | Action |
|---|---|---|
buy | long | Open long / close short |
sell | short | Open short / close long |
buy | short | Close short (in hedge mode) |
sell | long | Close long (in hedge mode) |
size is in contracts, not in base currencycontractValue (check via get_instruments)minSize (e.g., 0.1 contracts for BTC-USDT)lotSizeUse place_order to submit a new trade. ALWAYS confirm with the user first.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
instId | String | Yes | Instrument ID, e.g. BTC-USDT |
marginMode | String | Yes | cross or isolated |
positionSide | String | Yes | long, short, or net |
side | String | Yes | buy or sell |
orderType | String | Yes | market, limit, post_only, fok, ioc |
size | String | Yes | Order size in contracts |
price | String | Conditional | Required for limit/post_only/fok/ioc orders |
reduceOnly | Boolean | No | If true, only reduces existing position |
clientOrderId | String | No | Custom order ID (max 32 chars) |
tpTriggerPrice | String | No | Take-profit trigger price |
tpOrderPrice | String | No | TP order price (-1 for market) |
slTriggerPrice | String | No | Stop-loss trigger price |
slOrderPrice | String | No | SL order price (-1 for market) |
brokerId | String | No | Broker ID if applicable |
Example prompts:
Pre-order checklist (always do this before placing):
get_instruments)get_balance)get_leverage_info)get_tickers)size * contractValue * price / leverageUse cancel_order to cancel a pending order.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
instId | String | Yes | Instrument ID |
orderId | String | Conditional | Order ID (either orderId or clientOrderId required) |
clientOrderId | String | Conditional | Client order ID |
Use batch_orders for placing multiple orders at once. Max 20 orders per batch.
All orders in a batch must share the same instId and marginMode.
Example prompts:
Use cancel_batch_orders to cancel multiple orders at once.
All cancellations should use the same identifier type (prefer orderId).
Use close_position to close a full position on an instrument. Confirm with the user first.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
instId | String | Yes | Instrument ID |
marginMode | String | Yes | cross or isolated |
positionSide | String | No | long, short, or net |
clientOrderId | String | No | Custom order ID |
Example prompts:
Use get_open_orders to see unfilled or partially filled orders.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
instId | String | No | Filter by instrument |
orderType | String | No | Filter by order type |
state | String | No | live or partially_filled |
before / after | String | No | Pagination by orderId |
limit | String | No | Max 100, default 100 |
Use get_order_detail to check the status of a specific order.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
instId | String | Yes | Instrument ID |
orderId | String | Conditional | Order ID |
clientOrderId | String | Conditional | Client order ID |
Use get_order_history to review filled, cancelled, or expired orders.
Use place_tpsl to set take-profit and/or stop-loss on an existing position.
Always confirm trigger prices with the user.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
instId | String | Yes | Instrument ID |
marginMode | String | Yes | cross or isolated |
positionSide | String | Yes | long, short, or net |
tpTriggerPrice | String | Conditional | Take-profit trigger price |
tpOrderPrice | String | No | TP execution price (-1 for market) |
slTriggerPrice | String | Conditional | Stop-loss trigger price |
slOrderPrice | String | No | SL execution price (-1 for market) |
size | String | No | Size to close (default: full position) |
TP/SL validation rules:
Example prompts:
Use cancel_tpsl to remove existing TP/SL orders.
Use get_pending_tpsl to see active TP/SL orders.
Use get_tpsl_history to review past TP/SL orders.
Use place_algo_order for trigger-based orders that execute when a condition is met.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
instId | String | Yes | Instrument ID |
marginMode | String | Yes | cross or isolated |
positionSide | String | Yes | long, short, or net |
side | String | Yes | buy or sell |
orderType | String | Yes | Order type for execution |
size | String | Yes | Size in contracts |
triggerPrice | String | Yes | Price that triggers the order |
orderPrice | String | Conditional | Execution price (required for limit) |
reduceOnly | Boolean | No | Only reduces position |
Manage and review algo/trigger orders.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
/blofin-skills-hub:blofin-traderfrom blofin-skills-hub
blofin-skills-hub@fin-skills is listed by howard-lynn-ye/fin-rsi — review the source before installing
npx claudepluginhub howard-lynn-ye/fin-rsi --plugin blofin-skills-hub9 skills in this plugin
/blofin-account-managerManage BloFin futures account — check balances, view positions, configure leverage, margin mode, and position mode. Requires authenticated BloFin API access./blofin-asset-managerManage BloFin assets — check balances across account types, transfer funds between accounts (funding, futures, copy trading, earn, spot), and track deposit/withdrawal history. Requires authenticated API access with TRANSFER permission./blofin-copy-tradingManage BloFin copy trading — view copy trading account, positions, orders, and lead trader operations. Supports both follower and lead trader workflows. Requires authenticated API access./blofin-funding-monitorMonitor BloFin perpetual swap funding rates, analyze market sentiment through funding data, and track funding rate trends across instruments./blofin-market-dataRetrieve real-time market data from BloFin exchange — prices, orderbook depth, candlestick charts, trades, mark prices, and funding rates. No authentication required./blofin-portfolio-analystAnalyze your BloFin trading portfolio — PnL breakdown, trade history, fill analysis, performance metrics, and generate reports. Requires authenticated API access.