×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Binance Broker Profile: Difference between revisions - MultiCharts
+1 888 340 6572

Binance Broker Profile: Difference between revisions

From MultiCharts
No edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 18: Line 18:
*Enable Futures
*Enable Futures


<br>In the '''Binance Futures Settings''' window (see [[Broker Profiles Overview#Managing Broker Profiles|Managing Broker Profiles]]) enter the information provided by Binance.
<br>In the '''Binance Futures Settings''' window (see [[Broker Profiles Overview#Managing Broker Profiles|Managing Broker Profiles]]) enter the information provided by Binance.


#'''Main''' tab:
#'''Main''' tab:
Line 33: Line 33:
##*Enable the option '''Use heartbeats for connection loss detection''' to automatically restore the connection with the Binance server in case of temporary connection loss.  
##*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.
##*Use '''Show Error pop-up alert''' to receive alerts.
#'''Contracts Ratio''' tab:
#'''Contracts Ratio''' tab:<br>Here you can check the ratio for one contract in MultiCharts.<div class="note">MultiCharts does not support fractional shares. For trading crypto symbols Contracts Ratio was added into Binance broker settings.<br>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>  
#*Here you can check the ratio for one contract in MultiCharts.<div class="note">MultiCharts does not support fractional shares. For trading crypto symbols Contracts Ratio was added into Binance broker settings.<br>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>  
#'''Leverage''' tab:<br>Press '''Lookup''' to synchronize the symbol list and leverage with the broker.<br>The leverage value will be applied at the moment when you connect the broker profile.<div class="note">It is required to press Lookup each time when you connect Binance Broker profile for correct operation.</div>
#'''Leverage''' tab:
#* Press '''Lookup''' to synchronize the symbol list and leverage with the broker.<br>The leverage value will be applied at the moment when you connect the broker profile.<div class="note">It is required to press Lookup each time when you connect Binance Broker profile for correct operation.</div>


==Binance Spot and Binance .US Spot Broker Profile==
==Binance Spot and Binance.US Spot Broker Profile==


*Stop orders are not supported by the exchange.
*Stop orders are not supported by the exchange.
*Market, Limit, and Stop-Limit orders are supported.
*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.
<br>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/Binance .US Spot Broker Profile==
==Setting up Binance Spot/Binance.US Spot Broker Profile==


To connect Binance Spot broker profile, make sure that you have the following API permissions enabled on Binance website:
To connect Binance Spot broker profile, make sure that you have the following API permissions enabled on Binance website:
*Enable Reading
*Enable Reading
*Enable Spot & Margin Trading
*Enable Spot & Margin Trading


In the '''Binance Spot Settings''' window (see [[Broker Profiles Overview#Managing Broker Profiles|Managing Broker Profiles]])  enter the information provided by Binance.
In the '''Binance Spot Settings''' window (see [[Broker Profiles Overview#Managing Broker Profiles|Managing Broker Profiles]])  enter the information provided by Binance.


:1. '''Main tab''':
# '''Main''' tab:
:'''Connectivity section'''
##'''Connectivity''' section:
 
##*Enter your '''API key''' and '''Secret key''' for Binance.
*Enter your '''API key''' and '''Secret key''' for Binance.
##* Select the trading mode from the '''trading mode''' drop-down list.
*In the '''Currency section''' you can select the base currency.
##*Select the base currency in the '''Currency''' field.
 
##'''Default Order Settings section''':
:'''Default Order Settings section'''
##*Select '''Time in Force'''.
##*Use the option '''Orders request waiting limits''' to enable automatic monitoring or requests from MultiCharts.<div class="note">Binance has limitations for the number of requests from one IP  per minute.</div>
##'''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.
# '''Contracts Ratio''' tab:<br>Here you can check the ratio for one contract in MultiCharts.<div class="note">MultiCharts does not support fractional shares. For trading crypto symbols Contracts Ratio was added into Binance broker settings.<br>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>
#'''Open Positions''' tab: <br>As Binance Spot operates with wallets, MultiCharts has to emulate positions.<br>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.
#* Click '''Lookup''' to emulate positions based on the orders sent from MultiCharts.<div class="note">If a position was opened/changed outside MultiCharts, MultiCharts will not be aware of it.</div>
#* Click '''Recalculate''' to recalculate all the positions based on orders starting from the set date.<br>To recalculate a position for a specific symbol click the button next to it.<br>
#* Click '''Add''' to select symbols to add to the positions list.


*Select '''Time in Force'''.
<div class="important">The position on Spot accounts is emulated on MultiCharts end. After you open the position, its volume will always be less than the one you specified while opening the position due to the commission taken on Spot accounts.
*Use the option '''Orders request waiting limits''' to enable automatic monitoring or requests from MultiCharts.
<div style="background-color: #E3FBE5;">'''Note''': Binance has limitations for the number of requests from one IP  per minute.
</div>
 
:'''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.
<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''':
As Binance Spot operates with wallets, MultiCharts has to emulate positions.<br>
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.<br>
* Click '''Lookup''' to emulate positions based on the orders sent from MultiCharts.
<div style="background-color: #E3FBE5;"> '''Note''': If a position was opened/changed outside MultiCharts, MultiCharts will not be aware of it. </div>
* Click '''Recalculate''' to recalculate all the positions based on orders starting from the set date.
To recalculate a position for a specific symbol click the button next to it.<br>
* Click “'''Add'''” to select symbols to add to the positions list.
 
<div style="background-color: #E3FBE5;">'''Note:''' The position on Spot accounts is emulated on MultiCharts end. After you open the position, its volume will always be less than the one you specified while opening the position due to the commission taken on Spot accounts.
In order to close this position properly, please use [[From_Broker_To_Strategy_MP_Synchronizer|From Broker To Strategy MP Synchronizer]].</div>
In order to close this position properly, please use [[From_Broker_To_Strategy_MP_Synchronizer|From Broker To Strategy MP Synchronizer]].</div>


 
After the broker profile is set up, you can select it for trading, see the '''[[How to Select a Broker Account For Trading]]''' guide.
<div style="background-color: #F0F8FF;">After the broker profile is set up, you can select it for trading, see the '''[[How to Select a Broker Account For Trading]]''' guide.</div>


==Troubleshooting==
==Troubleshooting==


=== Broker profile is not connecting ===  
=== Broker Profile Is Not Connecting ===  
If broker profile connection is not established after you click '''Connect''':  
If broker profile connection is not established after you click '''Connect''':  
* Make sure you pressed the '''Lookup''' button in the Leverage tab (for Binance Futures)
# Make sure you pressed the '''Lookup''' button in the '''Leverage''' tab (for Binance Futures).
* Check the [[Order and Position Tracker]] -> Logs tab.<br>If you see the "'''Timestamp for this request is outside of the recvWindow'''" messages, synchronize the time of your PC: right-click your PC time -> Adjust date/time -> in the Date&time tab click Sync now.<br>If you see the '''"Invalid API-key, IP, or permissions for action"''' messages, check your email for notifications from Binance, contact them directly for details or create a new API and Secret Key.
# Check the [[Order and Position Tracker]] Logs tab.
#* If you see the '''Timestamp for this request is outside of the recvWindow''' messages, synchronize the time of your PC: right-click your PC time Adjust date/time in the Date&time tab click Sync now.
#*If you see the '''Invalid API-key, IP, or permissions for action''' messages, check your email for notifications from Binance, contact them directly for details or create a new API and Secret Key.


=== Orders are rejected ===
=== Orders Are Rejected ===
If your orders get rejected, check the [[Order and Position Tracker]] -> Logs tab to see the rejection reason.
If your orders get rejected, check the '''[[Order and Position Tracker]] Logs''' tab to see the rejection reason.
* '''Minimum trade volume = X. Price: Y * Quantity: Z ='''<br> Adjust your trade size to fit the Binance limit taking into account the Contract Ratio.<br>In MultiCharts it is only possible to trade integer values. For trading crypto symbols Contracts Ratio was added into Binance broker settings. You can access it in Binance Settings -> Contracts Ratio tab.<br>For example, Contracts Ratio for BNBUSDT is 0,01. So, when you buy 1 BNBUSDT contract in MC, you buy 0,01 (1*0,01) contract at Binance, which doesn’t correspond to their minimal allowed trade size – 5.  
* '''Minimum trade volume = X. Price: Y * Quantity: Z ='''<br> Adjust your trade size to fit the Binance limit taking into account the Contract Ratio.<br>In MultiCharts it is only possible to trade integer values. For trading crypto symbols Contracts Ratio was added into Binance broker settings. You can access it in Binance Settings → '''Contracts Ratio''' tab. <div class="example">Contracts Ratio for BNBUSDT is 0,01. So, when you buy 1 BNBUSDT contract in MC, you buy 0,01 (1*0,01) contract at Binance, which doesn’t correspond to their minimal allowed trade size – 5.</div>
* '''Not found symbol from server X and currency Y'''<br>
* '''Not found symbol from server X and currency Y'''<br>
# Re-add the symbol in QuoteManager -> Instrument -> Add Symbol -> From Data Source -> Binance
# Re-add the symbol in '''QuoteManager Instrument Add Symbol From Data Source Binance'''.
# Make sure you trade Futures with Binance Futures and Cryptocurrencies with Binance Spot  
# Make sure you trade Futures with Binance Futures and Cryptocurrencies with Binance Spot.
# Make sure the correct server and currency is selected in the Binance broker profile settings depending on the traded symbol
# Make sure the correct server and currency is selected in the Binance broker profile settings depending on the traded symbol.
*'''Order’s notional must be no smaller than 5.0 (unless you choose reduce only)'''<br> Enable the '''Reduce Only''' option in the Main tab of the Binance Futures settings to avoid the Binance minimum trade size limit when closing a position.
*'''Order’s notional must be no smaller than 5.0 (unless you choose reduce only)'''<br> Enable the '''Reduce Only''' option in the '''Main''' tab of the Binance Futures settings to avoid the Binance minimum trade size limit when closing a position.
 
 




[[Category:Broker Profiles]]
[[Category:Broker Profiles]]

Latest revision as of 14:08, 22 July 2024

OCO group is emulated by MultiCharts. Emulated 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

To connect Binance Futures broker profile, make sure that you have the following API permissions enabled on Binance website:

  • Enable Reading
  • Enable Futures


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

  1. Main tab:
    1. 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.
    2. Default Order Settings section:
      • Select Time in Force.
      • Use the option Orders request waiting limits to enable automatic monitoring or requests from MultiCharts.
        Binance has limitations for the number of requests from one IP per minute.
      • Use the Reduce Only option to enable Reduce Only orders and avoid the Binance minimum trade size limit when closing a position.
    3. 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.
    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:
    Press Lookup to synchronize the symbol list and leverage with the broker.
    The leverage value will be applied at the moment when you connect the broker profile.
    It is required to press Lookup each time when you connect Binance Broker profile for correct operation.

Binance Spot and Binance.US 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/Binance.US Spot Broker Profile

To connect Binance Spot broker profile, make sure that you have the following API permissions enabled on Binance website:

  • Enable Reading
  • Enable Spot & Margin Trading

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

  1. Main tab:
    1. Connectivity section:
      • Enter your API key and Secret key for Binance.
      • Select the trading mode from the trading mode drop-down list.
      • Select the base currency in the Currency field.
    2. Default Order Settings section:
      • Select Time in Force.
      • Use the option Orders request waiting limits to enable automatic monitoring or requests from MultiCharts.
        Binance has limitations for the number of requests from one IP per minute.
    3. 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.
    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:
    As Binance Spot operates with wallets, MultiCharts has to emulate positions.
    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.
    • Click Lookup to emulate positions based on the orders sent from MultiCharts.
      If a position was opened/changed outside MultiCharts, MultiCharts will not be aware of it.
    • Click Recalculate to recalculate all the positions based on orders starting from the set date.
      To recalculate a position for a specific symbol click the button next to it.
    • Click Add to select symbols to add to the positions list.
The position on Spot accounts is emulated on MultiCharts end. After you open the position, its volume will always be less than the one you specified while opening the position due to the commission taken on Spot accounts. In order to close this position properly, please use From Broker To Strategy MP Synchronizer.

After the broker profile is set up, you can select it for trading, see the How to Select a Broker Account For Trading guide.

Troubleshooting

Broker Profile Is Not Connecting

If broker profile connection is not established after you click Connect:

  1. Make sure you pressed the Lookup button in the Leverage tab (for Binance Futures).
  2. Check the Order and Position Tracker → Logs tab.
    • If you see the Timestamp for this request is outside of the recvWindow messages, synchronize the time of your PC: right-click your PC time → Adjust date/time → in the Date&time tab click Sync now.
    • If you see the Invalid API-key, IP, or permissions for action messages, check your email for notifications from Binance, contact them directly for details or create a new API and Secret Key.

Orders Are Rejected

If your orders get rejected, check the Order and Position Tracker → Logs tab to see the rejection reason.

  • Minimum trade volume = X. Price: Y * Quantity: Z =
    Adjust your trade size to fit the Binance limit taking into account the Contract Ratio.
    In MultiCharts it is only possible to trade integer values. For trading crypto symbols Contracts Ratio was added into Binance broker settings. You can access it in Binance Settings → Contracts Ratio tab.
    Contracts Ratio for BNBUSDT is 0,01. So, when you buy 1 BNBUSDT contract in MC, you buy 0,01 (1*0,01) contract at Binance, which doesn’t correspond to their minimal allowed trade size – 5.
  • Not found symbol from server X and currency Y
  1. Re-add the symbol in QuoteManager → Instrument → Add Symbol → From Data Source → Binance.
  2. Make sure you trade Futures with Binance Futures and Cryptocurrencies with Binance Spot.
  3. Make sure the correct server and currency is selected in the Binance broker profile settings depending on the traded symbol.
  • Order’s notional must be no smaller than 5.0 (unless you choose reduce only)
    Enable the Reduce Only option in the Main tab of the Binance Futures settings to avoid the Binance minimum trade size limit when closing a position.