Documentation

How to create your API Keys

Welcome to TOMMYBOTS!

In this article, we'll guide you through the process of generating new API keys on your exchange and using those keys to create a new bot under the My Account section of the TOMMYBOTS platform.

Step 1: Generate New API Keys on Your Exchange

To use TOMMYBOTS, you need to generate new API keys on your exchange. API keys are unique codes that allow TOMMYBOTS to access your exchange account and execute trades on your behalf. Here's how you can generate new API keys on Kraken or Binance.us:

Kraken.com:

  1. Log in to your Kraken account and click on your name in the top right corner.

  2. Select "Security" from the dropdown menu.

  3. Click on "API" in the top menu.

  4. Click on the "Generate Key" or "Add Key" button.

  5. Enter a name for the API key and select the permissions you want to grant TOMMYBOTS. We recommend checking all of the boxes except "Deposit Funds" and "Withdraw Funds". Do NOT enable these.

  6. Click on "Generate Key" button.

  7. Make sure to copy the API Key and Secret Key before leaving this page. You won't be able to access the secret key again. Move on to STEP 2 below.

Binance.us:

  1. Log in to your Binance.us account and click on your profile in the top right corner.

  2. Select "API Management" from the dropdown menu.

  3. Click on "Create New API" button.

  4. Enter a name for the API key

  5. Click the "Create" button

  6. Click the Edit Restrictions button

  7. Enable Spot Trading and Read permissions. Do NOT enable withdrawals or internal transfer.

  8. Leave IP Access as "Unrestricted". This is necessary since our servers use many different ip addresses.

  9. Make sure to copy the API Key and Secret Key before leaving this page. You won't be able to access the secret key again.

  10. Click the "Save" button and move on to STEP 2 below.

Binance.com:

  1. Log in to your Binance.com account and click on your profile in the top right corner.

  2. Select "API Management" from the dropdown menu.

  3. Click on "Create New API" button.

  4. For the "API Key Type", select "System Generated" and click Next.

  5. Enter a name for the API key such as "TOMMYBOTS" and click Next

  6. You might need to enter an Email verification code and your Authenticator code to proceed

  7. Click the Edit Restrictions button on the right side

  8. Enable Spot and Margin Trading and Read permissions. Do NOT enable withdrawals or internal transfer.

  9. Leave IP Access as "Unrestricted". This is necessary since our servers use many different ip addresses.

  10. Make sure to copy the API Key and Secret Key before leaving this page. You won't be able to access the secret key again.

  11. Click the "Save" button and move on to STEP 2 below.

Oanda.com:

  1. Log in to your Oanda.com account

  2. Navigate to the API section: Once you are signed in, locate the API section on the Oanda website. This is typically found on the left side of the trading panel. Click on "API".

  3. This will bring you to a page with the title "Your key to OANDA's API". Click the "Generate" button to generate a new API Key.

  4. A new API Key will be displayed on the screen with a bunch of letters and numbers. For example, something like 0ef23cf47b39b97531ad536b988a386a-0acb9b5f9a6ac1443eff388d9e2cae2c will be displayed. Be sure to select the entire key from beginning to end and copy it to your clipboard.

  5. Be sure to look over the Special Notes for Oanda Bots

Info for Step 2 below:

  1. When creating your bot in Step 2 below, paste the key from above into the Private Key in TOMMYBOTS.

  2. Go back to your Oanda Account Dashboard and find your account number. Select and copy your entire account number and paste it into the Public Key field in TOMMYBOTS.

Step 2: Create a New Bot on TOMMYBOTS

Now that you have your API keys, it's time to create a new bot on TOMMYBOTS. Here's how:

  1. Log in to your TOMMYBOTS account.

  2. Click on My Account in the top right corner and visit the Dashboard

  3. Click the "My Bots" menu tab

  4. Enter a name for your bot and select the exchange you want to use.

  5. Paste your API Key and Secret Key in the appropriate fields.

  6. Select your notification preferences. You can choose to be notified via email and / or text message when trades take place on the exchange.

  7. Click on "Create Bot" button.

That's it! You've successfully created a new bot on TOMMYBOTS using your exchange's API keys. You can now start using the TOMMYBOTS platform to automate your trades and take advantage of its powerful features.

If you run into any issues or have any questions, please don't hesitate to reach out to our support team. We're always happy to help!

Copyright 2024 (c) www.tommybots.com