BitMEX Broker Plug-in
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 Plug-in
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 is provided by BitMEX.
Setting up BitMEX Futures Plug-in
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.
- 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.
- 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.
BitMEX Spot Broker Plug-in
- 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.
- 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.
- 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.
- 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.