Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 21:54:57 +0000



Post From: Direct BitMEX Trading Support

[2018-02-16 04:25:32]
Sierra Chart Engineering - Posts: 104368
In version 1703 there is a new Global Settings >> Data/Trade Service Settings >> Service named "BitMEX Trading Direct".

This uses Sierra Chart's own direct integration to the BitMEX trading API. This is released and tested. But should still be tested in BitMEX testnet or with small quantities so that it is proven that it works well for you. Testing on your side is important as well.

Instructions:
1. Update Sierra Chart to prerelease 1703 by selecting Help >> Download Prerelease. Refer to:
Software Download: Fast Update

2. Set Global Settings >> Data/Trade Service Settings >> Service to "BitMEX Trading Direct".


3. Set the Service Setting >> Server to either Live or Testnet depending upon which BitMEX server you want to use.

4. Obtain your API Key and API Secret through your BitMEX account on the BitMEX website. Enter those into the corresponding Service Settings in Global Settings >> Data/Trade Service Settings .

For instructions:
https://www.bitmex.com/app/dtcIntegration

Also refer to the attached screenshot.

You will have a different API key and secret for your Live account as compared to Testnet. So you do not have to keep reentering these when you change between Live or Testnet, use the ability to save and load Service Settings configurations documented here:
Data/Trade Service Settings: Saving and Loading Service Settings

5. Press OK.

6. Connect to the server with File >> Connect to Data Feed.

7. This connection to BitMEX supports both the market data from the Live server and the Testnet server no matter how the Server is set above.


8. Open a chart through File >> Find Symbol. You will have to get the symbols and this is explained here:
File Menu: Getting Symbols

9. You can use either BitMEX Live and/or Testnet symbols. However, when trading if you are using the Live server (step #3 ) you can only trade from a chart that uses the BitMEX Live symbols. If you have connected Sierra Chart to the BitMEX Testnet server (step #3 ) , you can only trade from a chart that uses the BitMEX Testnet symbols. Otherwise an error will occur on order submission.

10. For complete trading documentation, refer to:

Overview of Trading

11. Disable Trade >> Trade Simulation Mode On.

12. Make sure you have selected the correct Trade Account on the Trade Window. Refer to:
Basic Trading and the Trade Window: Main/C >> Trade Account (Selecting Trade Account for Chart / Trade DOM)



We will update this thread as needed with any additional information.

----
Background information: Sierra Chart integration to BitMEX has been through a DTC protocol server which BitMEX is using which was developed by another developer. This was not developed by us. At times users are having trouble with BitMEX trading integration in part because of this particular server, and for other reasons which we are not totally aware of because the issues are not within Sierra Chart.

In no case are the problems within Sierra Chart. Since BitMEX integration has become available since about April of last year, there have only been two minor issues which were on our side or which we were able to address and were taken care of immediately. The other issues were never on our side at all. Unfortunately, when users have trouble it does create a poor impression for us as well.

This post describes direct integration that we developed ourselves to BitMEX using their standard API. The DTC protocol is a vastly superior well-organized protocol and BitMEX and other exchanges should have direct adoption for it, but unfortunately this is just not the case.

However, in regards to DTC, one alternative method we could use is we could allow the users to connect directly to BitMEX through their DTC gateway.. So this is something that is still a possibility. We do think that this will alleviate some of the problems.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2018-02-21 00:56:35
imageNew Sierra Chart BitMEX integration page 2018.png / V - Attached On 2018-02-21 00:55:44 UTC - Size: 791.84 KB - 1151 views