Difference between revisions of "Trading Technologies 2020 Broker Plug-in"

From MultiCharts
Jump to navigation Jump to search
Line 26: Line 26:
 
==Setting up Trading Technologies 2020 Broker Profile==
 
==Setting up Trading Technologies 2020 Broker Profile==
  
In the '''Properties Trading Technologies''' window (see [[Broker Profiles Overview#Managing Broker Profiles|Managing Broker Profiles]])  enter the information provided by Trading Technologies
+
To connect MultiCharts to Trading Technologies 2020, it is necessary to receive an API Key at the [https://uat.trade.tt/home Trading Technologies website].
  
===Connection settings tab===
+
In the '''Properties Trading Technologies 2020''' window (see [[Auto Trading#Select Broker Plug-in|Auto trading settings]]) enter your AppKey and its type.
  
# Order Connection Settings section. <br/> '''Server IP''', '''Password''', '''Port number''', '''SenderCompID''' and '''TargetCompID'''.
+
====Default Order Settings section====
# Price Connection Settings section.<br/> '''Server IP''', '''Password''', '''Port number''', '''SenderCompID''' and '''TargetCompID'''.
+
*Enter your Account
# Reconnection Settings section. <br/> Configure timer to reconnect if connection to Rithmic is lost.
+
*Select one of 4 available '''Time In Force''' order parameters
 
 
===Additional Settings tab===
 
 
 
====Trading Accounts section====
 
Enter your
 
* Account,
 
* Clearing Account,
 
* FFT2 (tag 16102),
 
* Agent Account.
 
====Unrealized Profit Calculation Mode section====
 
Select one of two modes to calculate unrealized profit: '''By Best Bid & Best Ask''' or '''By Last Trade'''.
 
If the account requires enabling multiple gateways feature, check the '''Use Multiple Exchange Gateway (Tag 18203)''' box.
 
====Order routing section====
 
Input the '''Broker ID''' and '''Company ID''' to route your orders to.
 
 
 
===MiFID II Settings tab===
 
 
 
Due to fact that Trading Technologies expanded their Fix API protocol for MiFID regulations, corresponding settings were introduced in '''MultiCharts 12'''. The following parameters can be speicifed:
 
* '''Direct Electronic Access'''
 
* '''Trading Capacity'''
 
* '''Liquidity Provision'''
 
* '''Commodity Derivative Indicator'''
 
* '''Investment Decision ID'''
 
* '''Execution Decision ID'''
 
* '''Client ID'''
 
* '''FFT4'''
 
<div style="background-color: #E5F6FF;">'''Note:''' these configuration parameters are to be provided by the broker.</div>
 
 
 
===Order Settings tab===
 
 
 
Select one of 4 available '''Time In Force''' order parameters
 
  
 
* '''DAY; or:''' <br> Order is canceled if it does not execute by the close of the trading day. Unless otherwise specified, every order is a Day order.
 
* '''DAY; or:''' <br> Order is canceled if it does not execute by the close of the trading day. Unless otherwise specified, every order is a Day order.
Line 69: Line 38:
 
* '''GTC (Good-Til-Cancelled; or:''' <br>  Order will continue to work within the system and in the marketplace until it executes or is canceled.
 
* '''GTC (Good-Til-Cancelled; or:''' <br>  Order will continue to work within the system and in the marketplace until it executes or is canceled.
 
* '''IOC (Immediate-or-Cancel); or:''' <br> Any portion of an order that is not filled as soon as it becomes available in the market is canceled.
 
* '''IOC (Immediate-or-Cancel); or:''' <br> Any portion of an order that is not filled as soon as it becomes available in the market is canceled.
* '''ATO (At the opening); or:''' <br> An order specifying that a trade is to be executed at the opening of the market, otherwise it's canceled.
 
 
* '''GTD (Good-Til-Date)''' <br> Order is placed and it is active up to a specified date. Once GTD time-in-force parameter is selected, the '''Good-Til-Date field''' occurs to specify number of days for order to stay active. The inactive field nearby indicates the date.
 
* '''GTD (Good-Til-Date)''' <br> Order is placed and it is active up to a specified date. Once GTD time-in-force parameter is selected, the '''Good-Til-Date field''' occurs to specify number of days for order to stay active. The inactive field nearby indicates the date.
 
===Alerts Tab===
 
Allows for configuring the email notification upon the broker profile connection loss.
 
# Check the '''Use Mail Alerts''' checkbox.
 
# Enter the email address of the sender.
 
# Enter the email address of the recipients. To send the email to multiple recipients, separate each email address with a semi-colon.
 
# Enter the '''SMTP Server Name or IP address''', and the '''Port''' number into the textboxes. Please get this information from your email provider.
 
# Check the '''SMTP Server authentication data''' checkbox if your SMTP server requires authentication to send emails. Enter the '''User name''' and '''Password'''.
 
# Press the '''Test''' button to send a test email.
 
  
 
[[Category:Broker Plug-ins]]
 
[[Category:Broker Plug-ins]]

Revision as of 14:26, 21 January 2022

TT .NET SDK API is used for connection between MultiCharts and Trading Technologies.

Trading Technologies doesn’t provide information on the list of accounts, equity and balance.

Entry Price is returned by the broker as Average Entry Price for day.

Market orders are converted into Limit ones on broker end.

Stop orders are converted into Stop-Limit ones. If at the moment an order is sent its stop level is met, then it will be rejected by the broker.

Stop-Limit orders with stop and limit levels not overlapping each other will be rejected by the broker. If at the moment an order is sent its stop level is met, then it will be rejected by the broker.

Open position Profit/Loss is calculated in MultiCharts as it is not provided by TT .NET SDK API.

Unrealized Profit/Loss for the account is calculated in MultiCharts as it is not provided by TT .NET SDK API.

There are also following broker limitations:

  • There is price ceiling for stop orders. Any orders beyond this limit are rejected by broker.
  • On some exchanges (for example: SGX), a stop order and stop prices of a stop-limit order cannot be modified. This may influence auto trading.
  • There are exchanges, which don’t support stop orders.

Trading Technologies does not support Native One-Cancels-Others group. In this case MultiCharts emulates OCO group on its end. 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 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).

Setting up Trading Technologies 2020 Broker Profile

To connect MultiCharts to Trading Technologies 2020, it is necessary to receive an API Key at the Trading Technologies website.

In the Properties Trading Technologies 2020 window (see Auto trading settings) enter your AppKey and its type.

Default Order Settings section

  • Enter your Account
  • Select one of 4 available Time In Force order parameters
  • DAY; or:
    Order is canceled if it does not execute by the close of the trading day. Unless otherwise specified, every order is a Day order.
  • FOK (Fill or Kill Orders); or:
    Specifying that the order must execute immediately and in its entirety, or be canceled.
  • GTC (Good-Til-Cancelled; or:
    Order will continue to work within the system and in the marketplace until it executes or is canceled.
  • IOC (Immediate-or-Cancel); or:
    Any portion of an order that is not filled as soon as it becomes available in the market is canceled.
  • GTD (Good-Til-Date)
    Order is placed and it is active up to a specified date. Once GTD time-in-force parameter is selected, the Good-Til-Date field occurs to specify number of days for order to stay active. The inactive field nearby indicates the date.