BitMEX Broker Profile

From MultiCharts
Jump to navigation Jump to search

OCO group is emulated by MultiCharts. Emulated OCO group means that all OCO orders are sent to the broker, price is monitored by MultiCharts and once one of the orders is filled, other orders from this OCO group are cancelled by MultiCharts. When one of the OCO orders is filled, MultiCharts sends a command to cancel the second OCO order to the broker. Note that the second order may also be filled if price reaches its level before the cancellation is processed by the broker (see OCO Orders Risk).

BitMEX Futures Broker Profile

All types of orders are supported:

  • Market orders
  • Limit orders
  • Stop orders
  • Stop-Limit orders

BitMEX provides information on the list of accounts, balance, and open positions. Equity is calculated by MultiCharts. Open position Profit/Loss and Unrealized Profit/Loss is calculated in MultiCharts as it is not provided by BitMEX.

Setting up BitMEX Futures Broker Profile

To connect BitMEX Futures broker profile, make sure that you have the following API permissions enabled on BitMEX website:

  • Enable Reading
  • Enable Futures


In the BitMEX Futures Settings window (see Managing Broker Profiles) enter the information provided by BitMEX.

1. Main tab:
Connectivity section
  • Enter your API key and Secret key for BitMEX.
  • In the Currency section you can select the base currency.
Default Order Settings section
  • Select Time in Force.
  • Use the option Orders request waiting limits to enable automatic monitoring or requests from MultiCharts.
Note: BitMEX has limitations for the number of requests from one IP per minute.
Global section
  • You can set the Timing security interval to specify the time during which the request is considered to be active.
  • Enable the option Use heartbeats for connection loss detection to automatically restore the connection with the BitMEX server in case of temporary connection loss.
  • Use Show Error pop-up alert to receive alerts.
2. Contracts Ratio tab:
  • Here you can check the ratio for one contract in MultiCharts.
Note: MultiCharts does not support fractional shares. For trading crypto symbols Contracts Ratio was added into BitMEX broker settings. For example, the Contracts Ratio for BNBUSDT futures is 1000. When you buy 1 contact in MultiCharts, 1000 contracts will be bought at BitMEX.
3. Leverage tab:
  • Press Lookup to synchronize the symbol list and leverage with the broker.

The leverage value will be applied at the moment when you connect the broker profile.

Note: It is required to press Lookup each time when you connect BitMEX Broker profile for correct operation.

BitMEX Spot Broker Profile

  • Stop orders are not supported by the exchange.
  • Market, Limit, and Stop-Limit orders are supported.

Balance, equities, the list of accounts, and open positions are emulated by MultiCharts since this data is not provided by BitMEX.

Setting up BitMEX Spot Broker Profile

To connect BitMEX Spot broker profile, make sure that you have the following API permissions enabled on Binance website:

  • Enable Reading
  • Enable Spot & Margin Trading


In the BitMEX Spot Settings window (see Managing Broker Profiles) enter the information provided by BitMEX.

1. Main tab:
Connectivity section
  • Enter your API key and Secret key for BitMEX.
  • In the Currency section you can select the base currency.
Default Order Settings section
  • Select Time in Force.
  • Use the option Orders request waiting limits to enable automatic monitoring or requests from MultiCharts.
Note: BitMEX has limitations for the number of requests from one IP per minute.
Global section
  • You can set the Timing security interval to specify the time during which the request is considered to be active.
  • Enable the option Use heartbeats for connection loss detection to automatically restore the connection with the Binance server in case of temporary connection loss.
  • Use Show Error pop-up alert to receive alerts.
2. Contracts Ratio tab:
  • Here you can check the ratio for one contract in MultiCharts.
Note: MultiCharts does not support fractional shares. For trading crypto symbols Contracts Ratio was added into BitMEX broker settings. For example, the Contracts Ratio for XBT_USDT spot is 10000. When you buy 1 contact in MultiCharts, 10000 contract will be bought at BitMEX.
3. Open Positions tab:

As BitMEX Spot operates with wallets, MultiCharts has to emulate positions.
The first time you connect to the BitMEX Spot broker profile in MultiCharts, MultiCharts considers the position to be flat. When you open a position in MultiCharts, it will be displayed in this tab.

  • Click Lookup to emulate positions based on the orders sent from MultiCharts.
Note: If a position was opened/changed outside MultiCharts, MultiCharts will not be aware of it.
  • Click Recalculate to recalculate all the positions based on orders starting from the set date.

To recalculate a position for a specific symbol click the button next to it.

  • Click “Add” to select symbols to add to the positions list.


After the broker profile is set up, you can select it for trading, see the How to Select a Broker Account For Trading guide.