Bitmex
![bitmex-Logo](/img/exchange/bitmex-light.png)
![bitmex-Logo](/img/exchange/bitmex-dark.png)
Connecting Bitmex to Tealstreet
IP Whitelisting is mandatory to connect your BitMEX API to Tealstreet
Follow the steps below:
-
First, make sure you are logged into your Bitmex account.
-
Second, log into your Tealstreet account.
Its a good idea to keep both Tealstreet and Bitmex tabs open when managing trades.
-
Once you have successfully logged into Tealstreet, navigate to the header titled ‘API Keys’
-
Click the blue button titled ‘New API Key’
API Keys
- Choose Bitmex from the dropdown menu.
- Now you are ready to generate the API Keys within your Bitmex Account. Head on over to the Bitmex tab and:
-
Click on account.
-
Select API Keys.
Visit the Bitmex API documentation page if you want more information.
Bitmex API Settings
- Now you are ready to create the API. On the Create an API Key page:
![API Detailed](/assets/images/apimore-b38fe48b26af7365b9853d64787c0ab8.png)
-
First, choose a name for your API Key. This is helpful for traders who utilize multiple exchanges and/or sub accounts and want to distinguish between them. This name is visible only on the BitMEX website.
-
Copy the Whitelist IP Addresses supplied by the Tealstreet trading terminal (on the new API key page) and paste them into the CIDR field.
-
Choose order on 'Key Permissions.'
-
Ensure that 'Withdraw' is unchecked.
-
Click ‘Create API Key.’
-
Now you have your API Key. The API secret code will not be available once you leave the page so either write it down or copy and paste.
Do not share your API keys with anyone. Make sure you stored your key secrets in a safe place.
- Once you have created the API Key on Bitmex’s website, you are ready to fill out the information on Tealstreet’s API Keys page.
1. Ensure you have selected ‘Bitmex’ in the Exchange dropdown menu.
2. Choose a name for this API connection. You will see the name on an API dropdown list on the trading page of the Tealstreet terminal. This is helpful for traders who utilize multiple accounts and/or sub accounts per exchange and want to distinguish between them.
3. Choose your Encryption Password. Remember to save this somewhere!
4. Paste the API Key provided by Bitmex here.
5. Paste the API Secret provided by Bitmex here.
6. Click ‘Create.’
Be sure to double check you do not confuse API Key and API Secret. Connecting your Bitmex exchange account to Tealstreet will not work if these fields are not entered correctly.
If all the details are correct, you will have successfully linked your Bitmex account to Tealstreet. Navigate to the ‘Trade’ page of Tealstreet and select the Bitmex account from the dropdown menu. If properly linked, you will see your balance/collateral appear in the Margin window of Tealstreet.
Frequently Asked Questions
Can I trade on TS with a Bitmex sub-account?
- Unfortunately no, Bitmex does not support sub-accounts having API keys.
![Bitmex Subaccount API](/assets/images/bitmex-subacc-api-e2e091e76faffa8e34c4955f14edc352.png)