Loading...
Loading...
Execute trades on BloFin exchange — place orders (market, limit, post_only, fok, ioc), cancel orders, batch operations, close positions, and manage TP/SL and algo/trigger orders. Requires authenticated API access with TRADE permission.
npx skill4agent add blofin/blofin-skills-hub blofin-trader| Type | Description |
|---|---|
| Execute immediately at best available price |
| Execute at specified price or better |
| Limit order that only adds liquidity (maker only); cancelled if it would match immediately |
| Fill or Kill — must fill entirely immediately or cancel |
| Immediate or Cancel — fill what's possible immediately, cancel the rest |
| Side | Position Side | Action |
|---|---|---|
| | Open long / close short |
| | Open short / close long |
| | Close short (in hedge mode) |
| | Close long (in hedge mode) |
sizecontractValueget_instrumentsminSizelotSizeUse place_order to submit a new trade. ALWAYS confirm with the user first.| Parameter | Type | Required | Description |
|---|---|---|---|
| String | Yes | Instrument ID, e.g. |
| String | Yes | |
| String | Yes | |
| String | Yes | |
| String | Yes | |
| String | Yes | Order size in contracts |
| String | Conditional | Required for limit/post_only/fok/ioc orders |
| Boolean | No | If true, only reduces existing position |
| String | No | Custom order ID (max 32 chars) |
| String | No | Take-profit trigger price |
| String | No | TP order price (-1 for market) |
| String | No | Stop-loss trigger price |
| String | No | SL order price (-1 for market) |
| String | No | Broker ID if applicable |
get_instrumentsget_balanceget_leverage_infoget_tickerssize * contractValue * price / leverageUse cancel_order to cancel a pending order.| Parameter | Type | Required | Description |
|---|---|---|---|
| String | Yes | Instrument ID |
| String | Conditional | Order ID (either orderId or clientOrderId required) |
| String | Conditional | Client order ID |
Use batch_orders for placing multiple orders at once. Max 20 orders per batch.instIdmarginModeUse cancel_batch_orders to cancel multiple orders at once.orderIdUse close_position to close a full position on an instrument. Confirm with the user first.| Parameter | Type | Required | Description |
|---|---|---|---|
| String | Yes | Instrument ID |
| String | Yes | |
| String | No | |
| String | No | Custom order ID |
Use get_open_orders to see unfilled or partially filled orders.| Parameter | Type | Required | Description |
|---|---|---|---|
| String | No | Filter by instrument |
| String | No | Filter by order type |
| String | No | |
| String | No | Pagination by orderId |
| String | No | Max 100, default 100 |
Use get_order_detail to check the status of a specific order.| Parameter | Type | Required | Description |
|---|---|---|---|
| String | Yes | Instrument ID |
| String | Conditional | Order ID |
| 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.| Parameter | Type | Required | Description |
|---|---|---|---|
| String | Yes | Instrument ID |
| String | Yes | |
| String | Yes | |
| String | Conditional | Take-profit trigger price |
| String | No | TP execution price (-1 for market) |
| String | Conditional | Stop-loss trigger price |
| String | No | SL execution price (-1 for market) |
| String | No | Size to close (default: full position) |
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.| Parameter | Type | Required | Description |
|---|---|---|---|
| String | Yes | Instrument ID |
| String | Yes | |
| String | Yes | |
| String | Yes | |
| String | Yes | Order type for execution |
| String | Yes | Size in contracts |
| String | Yes | Price that triggers the order |
| String | Conditional | Execution price (required for limit) |
| Boolean | No | Only reduces position |