Automated Trading Overview

API Keys : Binance Futures

A quick guide to explain the steps needed to create and set up API keys for Binance Futures trading.

Creating a set of API keys

You should create a set of API keys just for Alertatron, as this makes it simple to remove access at a later date without affecting any other services you use that also require API keys.

  1. Sign up to Binance Futures
  2. Log into your Binance account and go to the account settings -> API Management page where you can create a new API key.
  3. For the API restrictions, make sure 'read only', 'Enable Trading', and 'Enable Futures' are enabled. Make sure 'Enable Withdrawals' is disabled.
  4. Once your keys are created, make a note of the API Key and Secret Key...

Adding the keys to Alertatron

  1. From the Automated Trading menu, choose Configure Api Keys. (see image below).
  2. Choose Binance from the exchange list in the Add API Key form.
  3. Give the keys a name. This name is how you will refer to this set of API keys when you send orders to Alertatron. It should be letters only.
  4. Enter the API Key into the Key field.
  5. Enter the Secret Key into the Secret field.
  6. If you created the API keys from a Binance TestNet account, check the testnet option.
  7. Save the changes.
Choose _Configure Api Keys_ from the Alertatron menus.
Choose _Configure Api Keys_ from the Alertatron menus.

Sending a test

Now your bot is ready, it is a good idea to send a test command to it, to make sure everything is working as it should.

Set up an alert that includes the following text in it (it can have other text in the message though). Note that you'll need to change YourAPIKeyName to the name you used in step 3 of 'Adding the keys to Alertatron'.

YourAPIKeyName(BTCUSDT) { limitOrder(side=buy, amount=0.001, offset=100); }

When this alert is triggered, your bot will place a limit order on the BTCUSDT Perpetual market to buy 0.001 btc. The order will be $100 below the current price. You can simply cancel this order after it is created.

Why not take a look at our getting started guide now.

Some images from Unsplash

About Alertatron.com

Your TradingView alerts, with charts, PM'd to you.

Get all your alerts from TradingView, sent to Telegram, Discord, Slack, Email or webhooks, with a chart snapshot attached.

Capture Charts

See a high quality chart with every alert, captured at the moment the alert was triggered. See exactly what the market was doing and make informed decisions.

Automate Trading

Trigger orders on popular cryptocurrency exchanges and trade 24/7. Access powerful algorithmic orders to maximise your profits.

Integrations

Connect your alerts to Telegram (channels, groups and private chats), Discord, Slack, email or send push notifications to other services with webhooks.

Easy To Setup

Nothing to install and no browser extensions. Captures alerts 24/7, even with your computer switched off. Be up and running in seconds.