Trading and Earn

Open, manage and reconcile an Ostium trade

Select an Ostium pair on Arbitrum, review leverage and USDC collateral, protect the position and verify settlement using the original request hash.

Workflow

  1. Match the pair and trading window

    Read ostium.markets and retain the exact pairId. Read ostium.market and ostium.quote for its current terms. For an existing position, query ostium.account using the wallet and pairId. Match the position index and tradeId again after a refresh because a position slot can be reused.

  2. Prepare the intended change

    Choose a single action such as ticketOstiumOpen, ticketOstiumStopLoss, ticketOstiumAddMargin or ticketOstiumClose. Use describeTool for the units and required identities. Check the side, opening or closing price, USDC amount, leverage and any protection settings. Recheck quote freshness and the oracle fee before signing.

  3. Trace the request through settlement

    Save the workspace, request ID, wallet and submitted transaction hash. On a lost response, recover the original ticket and call executionNext in the same workspace for the next evidence check. Read ostium.settlement using wallet and requestHash and follow any returned cursor. An accepted request can still be waiting for a callback. Read the resulting position or order after the callback.

  4. Resolve a pending order

    For a pending limit order, match the original index and creation identity before modifying or cancelling it. Timeout recovery applies only where the protocol reports an eligible pending request. Use the specific timeout ticket and follow its settlement separately.

Look up Ostium recovery steps

REST · cURL
curl -fsS "https://www.bitpont.com/api/v1/agent/derivatives/workflow" \
  -H 'Content-Type: application/json' \
  -d '{"venue":"ostium","intent":"recover"}'
Use this request with MCP

Send this tool call through your connected Bitpont MCP client.

MCP · tool call
{
  "method": "tools/call",
  "params": {
    "name": "bitpont_derivativeWorkflow",
    "arguments": {
      "venue": "ostium",
      "intent": "recover"
    }
  }
}

Tools in this guide

Open tool explorer

Related links