Skip to content
All library documents

Placing Post-Only and Bulk Orders on BitMEX via IO

Article FMZ forum · Author: 小草

Summary

This brief trading-platform example shows how to use an IO function to submit a BitMEX post-only limit order, submit several such orders together through the bulk endpoint, and cancel all orders for a specified symbol. The examples use XBTUSD and set an instruction that prevents an order from immediately initiating a trade, which is the key post-only behavior illustrated.

The document is procedural API guidance, not a strategy evaluation. It supplies example request parameters and shows logging the bulk-order response, but reports no execution results or performance evidence. It does not discuss authentication, exchange errors, rate limits, partial fills, or how the venue handles orders that would otherwise cross the book, so the examples are not a complete production workflow.

Key ideas

  • A post-only limit order can be submitted by setting the venue's non-initiating execution instruction.
  • Multiple orders can be encoded together and sent through the bulk-order endpoint.
  • The example also shows canceling all orders for one symbol.
  • The guidance omits error handling, rate limits, and execution outcomes.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.