Binance

Modified on Tue, 13 Aug at 9:57 AM

The Binance modules allow you to list account traders, orders, retrieve, and cancel the account information, exchange information, orders, and OCO orders from your Binance account.

Getting Started with Binance

Prerequisites

A  Binance account - create an account at binance.com/en.

The module dialog fields that are displayed in bold (in the Make scenario, not in this documentation article) are mandatory!

Connecting Binance to Make

To connect your Binance account to Make you need to obtain the API key and Secret API Key from your Binance account and insert it in the Create a connection dialog in the Make module.

  1. Log in to your Binance account.

  2. Click Settings.

  3. Click API Tokens.

  4. Click New token

  5. In the Name field, enter a name for the token and click Create.

  6. Copy the API Token to your clipboard.

  7. Log in to your Make account, add a module from the Binance app into an Make scenario.

  8. Click Add next to the Connection field.

    Binance-1.gif
  9. In the Connection name field, enter a name for the connection.

  10. In the API Key field, enter the token details copied in step 6 and click Continue.

The connection has been established.

Account Information

List trades for a specific account and symbol.

Connection

Establish a connection to your Binance account.

Symbol

Select or map the symbol whose trades you want to list.

Order From ID

Select or map the Order From ID whose trades you want to list.

Start Time

Enter (map) a start time to search the trades.

End Time

Enter (map) an end time to search the trades.

Limit

Set the maximum number of trades Make should return during one execution cycle. Note that the default limit is 10 and it should be less than 1000.

Retrieves all open orders in a symbol.

Connection

Establish a connection to your Binance account.

Symbol

Select or map the symbol trades you want to list current open trades.

Limit

Set the maximum number of trades Make should return during one execution cycle. Note that the default limit is 10.

Retrieves all account orders; active, canceled, or filled.

Connection

Establish a connection to your Binance account.

Symbol

Select or map the symbol whose orders you want to search.

Order From ID

Select or map the Order From ID trades you want to search. Note: If Order ID is set, it will get orders of that Order ID. Otherwise, most recent orders are returned.

Start Time

Enter (map) a start time to search the orders. Note: If Start Time and/or End Time are provided, the Order ID is not required.

End Time

Enter (map) an end time to search the orders. Note: If Start Time and/or End Time are provided, the Order ID is not required.

Limit

Set the maximum number of trades Make should return during one execution cycle. Note that the default limit is 10 and it should be less than 1000.

Exchange Information

Retrieves exchange information from the Binance.

Connection

Establish a connection to your Binance account.

Trade Pairs

Select or map the trade pairs to retrieve the exchange Information.

Retrieves 24hr ticker price change statistics.

Connection

Establish a connection to your Binance account.

Symbol

Select or map the trading symbol to retrieve the ticker price.

Retrieves candlestick data from Binance.

Connection

Establish a connection to your Binance account.

Symbol

Select or map the trading symbol to retrieve the candlestick data (Kline).

Interval

Select or map the time interval to retrieve the candlestick data (Kline):

1 minute

Select this to retrieve the candlestick data for every minute.

3 minutes

Select this to retrieve the candlestick data every 3 minutes.

5 minutes

Select this to retrieve the candlestick data every 5 minutes.

15 minutes

Select this to retrieve the candlestick data every 15 minutes.

30 minutes

Select this to retrieve the candlestick data every 30 minutes.

45 minutes

Select this to retrieve the candlestick data every 45 minutes.

1 hour

Select this to retrieve the candlestick data every 1 hour.

2 hours

Select this to retrieve the candlestick data every 2 hours.

4 hours

Select this to retrieve the candlestick data every 4 hours.

6 hours

Select this to retrieve the candlestick data every 6 hours.

8 hours

Select this to retrieve the candlestick data every 8 hours.

12 hours

Select this to retrieve the candlestick data every 12 hours.

1 day

Select this to retrieve the candlestick data of 1 day.

3 days

Select this to retrieve the candlestick data of 3 days.

1 week

Select this to retrieve the candlestick data of 1 week.

1 month

Select this to retrieve the candlestick data of 1 month.

Start Time

Enter (map) a start time to retrieve the candlestick data.

End Time

Enter (map) an end time to retrieve the candlestick data.

Retrieves current average price of trading pair.

Connection

Establish a connection to your Binance account.

Symbol

Select or map the trading symbol to retrieve the current average price.

Retrieves the best price/ quantity on the order book for a pair.

Connection

Establish a connection to your Binance account.

Symbol

Select or map the trading symbol to retrieve the symbol order book ticker.

Gets history trades from Binance.

Connection

Establish a connection to your Binance account.

Symbol

Select or map the trading symbol to retrieve the recent trades list.

Number of Trades

Enter (map) a maximum number of trades Make should return during one execution cycle. Note that the default limit is 10 and it should be less than 1000.

Gets history trades from Binance.

Connection

Establish a connection to your Binance account.

Symbol

Select or map the trading symbol to retrieve the older trades list.

Order From ID

Select or map the Order From ID to retrieve the older trades list.

Limit

Set the maximum number of trades Make should return during one execution cycle. Note that the default limit is 10 and it should be less than 1000.

Orders

Sends in a new order.

Connection

Establish a connection to your Binance account.

Symbol

Select or map the trading symbol to send a new order.

Side

Select the side of order:

  • Buy

  • Sell

Order Type

Select the type of the order:

  • Limit

  • Market

  • Stop Loss

  • Stop Loss (Limit)

  • Take Profit

  • Take Profit (Limit)

  • Limit Maker

Limit

Time in Force

Select the type of time in force:

  • Good-Till-Cancelled

  • Immediate or Cancel

  • Fill or Kill

Quantity

Enter (map) the quantity of the order.

Price

Enter (map) the price of the order.

Market

Quantity type

Buy a quantity of an asset

Enter (map) the amount to buy the asset.

Spend quantity of asset

Enter (map) the amount to spend.

Stop Loss

Quantity

Enter (map) the quantity of the order.

Stop Price

Enter (map) the price of the order.

Stop Loss (Limit)

Time in Force

Select the type of time in force:

  • Good-till-canceled

  • Immediate or Cancel

  • Fill or Kill

Quantity

Enter (map) the quantity of the order.

Price

Enter (map) the price of the order.

Stop Price

Enter (map) the stop price of the order.

Take Profit

Quantity

Enter (map) the quantity of the order.

Stop Price

Enter (map) the stop price of the order.

Take Profit (Limit)

Time in Force

Select the type of time in force:

  • Good-Till-Cancelled

  • Immediate or Cancel

  • Fill or Kill

Quantity

Enter (map) the quantity of the order.

Price

Enter (map) the price of the order.

Stop Price

Enter (map) the stop price of the order.

Limit Maker

Quantity

Enter (map) the quantity of the order.

Stop Price

Enter (map) the stop price of the order.

Cancels order by ID or ClientID.

Connection

Establish a connection to your Binance account.

Symbol

Select or map the trading symbol to cancel an order.

Cancel by

Select the method of canceling the order:

  • Order ID

  • Orig Client Order ID

Order ID

Select or map the Order ID to cancel the order.

Orig Client Order ID

Select or map the Orig Client Order ID to cancel the order.

Cancels all active orders on a symbol. Includes OCO orders.

Connection

Establish a connection to your Binance account.

Symbol

Select or map the trading symbol to cancel all open orders on the symbol.

Retrieves all open orders in a symbol.

Connection

Establish a connection to your Binance account.

Symbol

Select or map the trading symbol to retrieve all open orders in a symbol.

Limit

Set the maximum number of orders Make should return during one execution cycle. Note that the default limit is 10.

OCO Orders

Sends in a new OCO.

Connection

Establish a connection to your Binance account.

Symbol

Select or map the trading symbol to send a new OCO.

Side

Select the side of order:

  • Buy

  • Sell

Buy

Select the type of the order:

Limit Price

Enter (map) at what price you want to buy.

Stop Price

Enter (map) at what you want to sell. Note: This price should be higher than the market price.

Stop Limit Price

Enter (map) the stop limit price for the trade. Note: This price should be higher than the market price.

Limit

Limit Price

Enter (map) at what price you want to sell.

Stop Price

Enter (map) at what you want to buy. Note: This price should be higher than the market price.

Stop Limit Price

Enter (map) the stop limit price for the trade. Note: This price should be higher than the market price.

Quantity

Enter (map) the quantity of the order.

List Client Order ID

Enter (map) the unique ID for the entire order list.

ID of the Limit Order

Enter (map) the unique ID for the limit order.

Limit Iceberg Quantity

Enter (map) the Limit Iceberg Quantity for the new order.

Stop Client Order ID

Enter (map) the Stop Client Order ID for the order.

Stop Limit Time In Force

Select the type of Time In Force:

  • Good-Till-Cancelled

  • Immediate or Cancel

  • Fill or Kill

New Order Response Type

Select the order response type:

  • Ask

  • Result

  • Full

Retrieves a specific OCO based on provided optional parameters.

Connection

Establish a connection to your Binance account.

Query Type

Select the type of Query to retrieve:

  • Query OCO

  • Query All OCO's

  • Query Open OCO's

Query OCO

Order ID

Select or map the Order ID to retrieve the OCO.

Orig Client Order ID

Select or map the Orig Client Order ID to retrieve the OCO.

Query All OCO's

Form ID

Select or map the Form ID to retrieve the OCO. Note:  If Form ID is available then start time or end time is not required.

Start Time

Enter (map) a start time to retrieve the OCO's.

End Time

Enter (map) an end time to retrieve the OCO's.

Limit

Set the maximum number of queries Make should return during one execution cycle. Note that the default limit is 500 and the maximum value is 1000.

Cancels an entire Order list.

Connection

Establish a connection to your Binance account.

Cancel by

Select how you want to cancel the OCO (Trade):

  • Order List ID

  • List Client Order ID

Order List ID

Select or map the Order List ID to cancel the entire order list.

List Client Order ID

Select or map the List Client Order ID to cancel the entire order list.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article