BitMEX Broker Profile: Difference between revisions
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 32: | Line 32: | ||
##*Enable the option '''Use heartbeats for connection loss detection''' to automatically restore the connection with the BitMEX server in case of temporary connection loss. | ##*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. | ##*Use '''Show Error pop-up alert''' to receive alerts. | ||
# '''Contracts Ratio tab''': | # '''Contracts Ratio tab''':<br>Here you can check the ratio for one contract in MultiCharts.<div class="note">MultiCharts does not support fractional shares. For trading crypto symbols Contracts Ratio was added into BitMEX broker settings.<br>For example, the Contracts Ratio for BNBUSDT futures is 1,000. When you buy 1 contact in MultiCharts, 1,000 contracts will be bought at BitMEX.</div> | ||
#'''Leverage''' tab:<br>Press '''Lookup''' to synchronize the symbol list and leverage with the broker.<br>The leverage value will be applied at the moment when you connect the broker profile.<div class="note">It is required to press Lookup each time when you connect BitMEX Broker profile for correct operation.'''</div> | |||
<div | |||
For example, the Contracts Ratio for BNBUSDT futures is 1,000. When you buy 1 contact in MultiCharts, 1,000 contracts will be bought at BitMEX. | |||
#'''Leverage | |||
The leverage value will be applied at the moment when you connect the broker profile. | |||
<div | |||
==BitMEX Spot Broker Profile== | ==BitMEX Spot Broker Profile== | ||
Line 59: | Line 51: | ||
In the '''BitMEX Spot Settings''' window (see [[Broker Profiles Overview#Managing Broker Profiles|Managing Broker Profiles]]) enter the information provided by BitMEX. | In the '''BitMEX Spot Settings''' window (see [[Broker Profiles Overview#Managing Broker Profiles|Managing Broker Profiles]]) enter the information provided by BitMEX. | ||
#'''Main''' tab: | |||
##'''Connectivity''' section: | |||
##*Enter your '''API key''' and '''Secret key''' for BitMEX. | |||
*Enter your '''API key''' and '''Secret key''' for BitMEX. | ##*In the '''Currency section''' you can select the base currency. | ||
*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.<div class="note">BitMEX has limitations for the number of requests from one IP per minute.</div> | |||
##'''Global''' section: | |||
*Select '''Time in Force'''. | ##*You can set the '''Timing security''' interval to specify the time during which the request is considered to be active. | ||
*Use the option '''Orders request waiting limits''' to enable automatic monitoring or requests from MultiCharts. | ##*Enable the option '''Use heartbeats for connection loss detection''' to automatically restore the connection with the Binance server in case of temporary connection loss. | ||
<div | ##*Use '''Show Error pop-up alert''' to receive alerts. | ||
#'''Contracts Ratio''' tab:<br>Here you can check the ratio for one contract in MultiCharts.<div class="note">MultiCharts does not support fractional shares. For trading crypto symbols Contracts Ratio was added into BitMEX broker settings.<br>For example, the Contracts Ratio for XBT_USDT spot is 10,000. When you buy 1 contact in MultiCharts, 10,000 contract will be bought at BitMEX.</div> | |||
#'''Open Positions''' tab:<br>As BitMEX Spot operates with wallets, MultiCharts has to emulate positions.<br>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.<div class="note-no-title">If a position was opened/changed outside MultiCharts, MultiCharts will not be aware of it. </div> | |||
#* Click '''Recalculate''' to recalculate all the positions based on orders starting from the set date.<br>To recalculate a position for a specific symbol click the button next to it.<br> | |||
*You can set the '''Timing security''' interval to specify the time during which the request is considered to be active. | #* Click '''Add''' to select symbols to add to the positions list. | ||
*Enable the option '''Use heartbeats for connection loss detection''' to automatically restore the connection with the Binance server in case of temporary connection loss. | <div class="important">The position on Spot accounts is emulated on MultiCharts end. After you open the position, its volume will always be less than the one you specified while opening the position due to the commission taken on Spot accounts. | ||
*Use '''Show Error pop-up alert''' to receive alerts. | |||
<div | |||
For example, the Contracts Ratio for XBT_USDT spot is 10,000. When you buy 1 contact in MultiCharts, 10,000 contract will be bought at BitMEX. | |||
As BitMEX Spot operates with wallets, MultiCharts has to emulate positions.<br> | |||
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. | |||
<div | |||
* 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.<br> | |||
* Click | |||
<div | |||
In order to close this position properly, please use [[From_Broker_To_Strategy_MP_Synchronizer|From Broker To Strategy MP Synchronizer]].</div> | In order to close this position properly, please use [[From_Broker_To_Strategy_MP_Synchronizer|From Broker To Strategy MP Synchronizer]].</div> | ||
After the broker profile is set up, you can select it for trading, see the '''[[How to Select a Broker Account For Trading]]''' guide. | |||
[[Category:Broker Profiles]] | [[Category:Broker Profiles]] |
Latest revision as of 12:22, 18 July 2024
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.
- Main tab:
- Connectivity section:
- Enter your API key and Secret key for BitMEX.
- In the Currency field 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.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.
- Connectivity section:
- Contracts Ratio tab:
Here you can check the ratio for one contract in MultiCharts.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 1,000. When you buy 1 contact in MultiCharts, 1,000 contracts will be bought at BitMEX. - 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.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.
- 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.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.
- Connectivity section:
- Contracts Ratio tab:
Here you can check the ratio for one contract in MultiCharts.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 10,000. When you buy 1 contact in MultiCharts, 10,000 contract will be bought at BitMEX. - 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.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.
- Click Lookup to emulate positions based on the orders sent from MultiCharts.
After the broker profile is set up, you can select it for trading, see the How to Select a Broker Account For Trading guide.