Operations 23
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“How do I place a limit order on a futures contract?”
“Can I send a reduce-only futures order?”
Tell an agent
Place a {orderType} futures order to {side} {size} {symbol}.
Buy {size} {symbol} futures with a limit at {limitPrice}.
Ask an LLM
“Can I change the size or limit price of a futures order already on the book?”
“How do I adjust the stop price on my futures order?”
Tell an agent
Change futures order {orderId} to size {size}.
Move the limit price of futures order {orderId} to {limitPrice}.
Ask an LLM
“How do I cancel a single futures order?”
“Can I cancel a futures order using its order ID?”
Tell an agent destructive · confirm first
Cancel futures order {order_id}.
Pull my resting futures order {order_id} off the book.
Ask an LLM
“How do I cancel every open futures order at once?”
“Can I cancel all my futures orders for just one contract?”
Tell an agent destructive · confirm first
Cancel all my open futures orders.
Cancel every futures order on {symbol}.
POST
/cancelallordersafter
Arm a futures dead man's switch · Kraken Cancel All Orders After (Futures)
#
Ask an LLM
“How do I make sure my futures orders get cancelled if my bot disconnects?”
“Can I set a timeout after which all futures orders are cancelled?”
Tell an agent destructive · confirm first
Cancel all my futures orders after {timeout} seconds unless I re-arm.
Set the futures dead man's switch to {timeout} seconds.
Ask an LLM
“Can I send several futures order changes in one request?”
“Is it possible to place and cancel futures orders together in one call?”
Tell an agent
Submit this batch of futures order instructions: {batchOrder}.
Run futures batch {batchOrder} of places, edits and cancels in one call.
Ask an LLM
“How do I place a market or limit order on a spot pair?”
“Can I place an iceberg order that only shows part of its volume?”
Tell an agent
Place a {ordertype} order to {type} {volume} {pair}.
Place a limit order to {type} {volume} {pair} at {price}.
Ask an LLM
“Can I submit several orders on one spot pair in a single request?”
“What is the maximum number of orders in a spot batch?”
Tell an agent
Place this batch of orders {orders} on {pair}.
Validate batch {orders} for {pair} without placing it.
Ask an LLM
“Can I replace an order with a new volume or price, getting a new order ID?”
“How do I cancel-and-replace a spot order?”
Tell an agent
Replace order {txid} on {pair} with volume {volume}.
Cancel and replace order {txid} on {pair} at new price {price}.
Ask an LLM
“Can I change an order's quantity without losing its order ID?”
“How do I update the limit price of a resting order in place?”
Tell an agent
Amend order {txid} to quantity {order_qty} keeping the same ID.
Amend the limit price of order {txid} in place to {limit_price}.
Ask an LLM
“How do I cancel a single open spot order?”
“Can I cancel an order by its transaction ID?”
Tell an agent destructive · confirm first
Cancel order {txid}.
Cancel my open spot order {txid}.
Ask an LLM
“How do I cancel every open spot order on my API key?”
“Is there a quick way to pull all my spot orders off the book?”
Tell an agent destructive · confirm first
Cancel all my open spot orders.
Cancel every open order using two-factor code {otp}.
POST
/0/private/CancelAllOrdersAfter
Arm a spot dead man's switch · Kraken Cancel All Orders After (Dead Man's Switch)
#
Ask an LLM
“How do I auto-cancel my spot orders if my connection drops?”
“Can I disable the dead man's switch by setting the timeout to zero?”
Tell an agent destructive · confirm first
Cancel all my spot orders after {timeout} seconds unless I call again.
Arm the spot dead man's switch for {timeout} seconds.
Ask an LLM
“Can I cancel a list of specific orders in one call?”
“How many spot orders can I cancel in a single batch?”
Tell an agent destructive · confirm first
Cancel these orders in one batch: {orders}.
Batch-cancel spot orders {orders}.
Documentation
Documentation
https://docs.kraken.com/api/docs/rest-api/get-server-time
APIReference
https://docs.kraken.com/api/docs/category/spot-rest/
Authentication
https://docs.kraken.com/api/docs/guides/spot-rest-auth
RateLimits
https://support.kraken.com/articles/206548367-what-are-the-api-rate-limits
Documentation
https://docs.kraken.com/api/docs/futures-api/trading/get-accounts
APIReference
https://docs.kraken.com/api/docs/category/futures-api/
Authentication
https://docs.kraken.com/api/docs/guides/futures-api-auth