Skip to content
All library documents

BitMEX Passive Limit Orders, Bulk Placement, and Order Cancellation

Article FMZ forum · Author: Ninabadass

Summary

This implementation note shows how to submit BitMEX orders through an exchange API interface. It demonstrates setting an order instruction that prevents a buy or sell from immediately taking liquidity, then submitting multiple pending orders together in one bulk request. The examples use the XBTUSD market and include a request to cancel all open orders for a specified symbol.

The material is operational rather than a trading strategy: it explains order submission patterns but gives no rationale for choosing prices, quantities, or timing. It also presents no tests, execution results, or discussion of exchange constraints, partial fills, or error handling. Users would need to consult current exchange documentation and account for API behavior and market conditions before relying on these request patterns.

Key ideas

  • The order instruction shown is intended to prevent an order from immediately taking liquidity.
  • Multiple pending orders can be assembled and sent through a bulk endpoint.
  • A symbol-specific request can cancel all open orders for that market.
  • The examples do not explain order selection, fill behavior, error handling, or performance.

Tags

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