Difference between revisions of "Binance Broker Plug-in"

From MultiCharts
Jump to navigation Jump to search
Line 38: Line 38:
 
:2. '''Contracts Ratio tab''':
 
:2. '''Contracts Ratio tab''':
 
Here you can check the ratio for one contract in MultiCharts.
 
Here you can check the ratio for one contract in MultiCharts.
 +
<div style="background-color: #E3FBE5;">'''Note''': MultiCharts does not support fractional shares. For trading crypto symbols Contracts Ratio was added into Binance broker settings.
 +
For example, the Contracts Ratio for BTCUSDT futures is 0.001. When you buy 1 contact in MultiCharts, 0.001 contract will be bought at Binance.  </div>
  
 
:3. '''Leverage tab''':
 
:3. '''Leverage tab''':
Line 74: Line 76:
 
:2. '''Contracts Ratio tab''':
 
:2. '''Contracts Ratio tab''':
 
Here you can check the ratio for one contract in MultiCharts.
 
Here you can check the ratio for one contract in MultiCharts.
 +
<div style="background-color: #E3FBE5;">'''Note''': MultiCharts does not support fractional shares. For trading crypto symbols Contracts Ratio was added into Binance broker settings.
 +
For example, the Contracts Ratio for BTCUSDT futures is 0.001. When you buy 1 contact in MultiCharts, 0.001 contract will be bought at Binance.  </div>
  
 
:3. '''Open Positions tab''':
 
:3. '''Open Positions tab''':

Revision as of 17:38, 23 December 2021

Since MultiCharts 14 Release 2 you can connect Binance Futures and Binance Spot broker profiles.

OCO group is emulated by MultiCharts. Simulated OCO-group means that all OCO orders are sent to the broker, price is monitored by MultiCharts and once one of the orders is filled, other orders from this OCO group are cancelled by MultiCharts. When one of the OCO orders is filled, MultiCharts sends a command to cancel the second OCO order to the broker. Note that the second order may also be filled if price reaches its level before the cancellation is processed by the broker (see OCO-Orders Risk).

Binance Futures Broker Profile

All types of orders are supported:

  • Market orders
  • Limit orders
  • Stop orders
  • Stop-Limit orders

Binance provides information on the list of accounts, balance, and open positions. Equity is calculated by MultiCharts. Open position Profit/Loss and Unrealized Profit/Loss is calculated in MultiCharts as it is not provided by Binance.

Setting up Binance Futures Broker Profile

In the Binance Futures Properties window (see Managing Broker Profiles) enter the information provided by Binance.

1. Main tab:
  • Connectivity section

Enter your API key and Secret key for Binance. Select the USDT Futures server for unexpired futures or Coin Futures server for the futures with the expiry date. In the Currency section you can select the base currency.

  • Default Order Settings section

Select Time in Force. Binance has limitations for the number of requests from one IP per minute. Use the option Orders request waiting limits to enable automatic monitoring or requests from MultiCharts.

  • Global section

You can set the Timing security interval to specify the time during which the request is considered to be active. Enable the option Use heartbeats for connection loss detection to automatically restore the connection with the Binance server in case of temporary connection loss. Use Show Error pop-up alert to receive alerts.

2. Contracts Ratio tab:

Here you can check the ratio for one contract in MultiCharts.

Note: MultiCharts does not support fractional shares. For trading crypto symbols Contracts Ratio was added into Binance broker settings. For example, the Contracts Ratio for BTCUSDT futures is 0.001. When you buy 1 contact in MultiCharts, 0.001 contract will be bought at Binance.
3. Leverage tab:

In this section you can set the leverage.

Note: The leverage value will be applied at the moment when you connect the broker profile.

Binance Spot Broker Profile

  • Stop orders are not supported by the exchange.
  • Market, Limit, and Stop-Limit orders are supported.

Balance, equities, the list of accounts, and open positions are emulated by MultiCharts since this data is not provided by Binance.

Setting up Binance Spot Broker Profile

In the Binance Spot Properties window (see Managing Broker Profiles) enter the information provided by Binance.

1. Main tab:
  • Connectivity section

Enter your API key and Secret key for Binance. In the Currency section you can select the base currency.

  • Default Order Settings section

Select Time in Force. Binance has limitations for the number of requests from one IP per minute. Use the option Orders request waiting limits to enable automatic monitoring or requests from MultiCharts.

  • Global section

You can set the Timing security interval to specify the time during which the request is considered to be active. Enable the option Use heartbeats for connection loss detection to automatically restore the connection with the Binance server in case of temporary connection loss. Use Show Error pop-up alert to receive alerts.

2. Contracts Ratio tab:

Here you can check the ratio for one contract in MultiCharts.

Note: MultiCharts does not support fractional shares. For trading crypto symbols Contracts Ratio was added into Binance broker settings. For example, the Contracts Ratio for BTCUSDT futures is 0.001. When you buy 1 contact in MultiCharts, 0.001 contract will be bought at Binance.
3. Open Positions tab:

The first time you connect to the Binance Spot broker profile in MultiCharts, MultiCharts considers the position to be flat. When you open a position in MultiCharts, it will be displayed in this tab. The next modifications to the position made both in MultiCharts and in the Binance platform will be displayed here. Press Lookup to synchronize the position with the broker. You can press the Reset button if you’d like to erase the cache with Binance positions from this tab.

Note: The Reset option will not close the position, there will be no changes performed at the broker, it will just clear MultiCharts internal data on Binance positions.