Quote from SmoothTraderFX:
QuantDeveloper/Anton,
Can I ask other questions.
2. You mentioned, at a production stage, I don't need to use Guardian that is a local TTgateway to TTnativeAPI, I probably connect to TTFIXadapter of VF over the internet. Acually, in the document, it says TTFIX adapter establishs the connection via TCP/IP, so that makes sense. However, in the demoApp, Prover-TTFIX property has no IP field, and I even don't know how to manage demoTTFIX adapter. It looks like conect automaically locally.
Missing the target IP, and there are Account/Password field, but no idea what to type there. I have TTSIM account and password=12345678, but this is for TTSIMgateway password not TTFIX, and doesn't work.
3. Not exactly sure how to define TT instruments. Using QuickFIX format? I could import IBstocks market data, but not TT.
Execuse me for bunch of Qs, but looks like it's getting hard for me just to read Data from TT enviroment with SQ.
Regards.
You should change both TT FIX Adapter and QuantDeveloper QuickFIX config files if you would like to set up a demo account. You will need to change settings for Price and Order sessions in TT FIX Adapter config, define password for these sessions.. basically set up new "account" or session definitions for a client (QuantDeveloper). Think that TT FA acts as a broker side FIX server. The next step is to change QD TT FIX config file to match these TT FA settings (IP, port, target comp ID, etc.).
It's written in QD docs and should basically take a couple of minutes to setup.
Indeed when you deal with VF adapter you will be given ip, host and pass.
Once you are connected to TT FIX, you can import all instrument definitions from TT via FIX SecurityDefinitionRequest message. There are several filters that allow you to import f.ex. just futures from CBOE with such expiration, etc. It will even import multileg instruments correctly for you. It's GUI based and doesn't require any manual work. You can find docs discussing SecurityDefinition import from TT FIX in the DataCenter manual.
Regards,
Anton
www.smartquant.com
SmartQuant Financial Data Analysis and Trading Framework
TT X_Trader® FIX Adapter Connectivity
Introduction
QuantDeveloper can connect to TT X_Trader® via TT FIX Adapter and autoexecute trading strategies using TT data/execution services.
Configuring TT FIX Adapter
[gatewayTTSIM-D]
member=TTSIM-D
group=SIM
trader=001
password=12345678
[sessionorders]
port=10501
remotecompany=SmartQuant
localcompany=TT_ORDER
password=QuantDeveloper
persistent=N
[sessionprices]
port = 10502
remotecompany=SmartQuant
localcompany=TT_PRICE
password=QuantDeveloper
persistent=N
Configuring QuantDeveloper
[DEFAULT]
ConnectionType=initiator
HeartBtInt=20
StartTime=00:00:00
EndTime=00:00:00
ReconnectInterval=1
BeginString=FIX.4.2
DataDictionary=../fix/tt/FIX42_TT.xml
FileStorePath=../fix/tt/logs/tt
CheckLatency=N
ResetOnLogout=Y
ResetOnDisconnect=Y
#price session
[SESSION]
SenderCompID=SmartQuant
TargetCompID=TT_PRICE
SocketConnectHost=localhost
SocketConnectPort=10502
FileStorePath=logs/price
#order session
[SESSION]
TargetCompID=TT_ORDER
SenderCompID=SmartQuant
SocketConnectHost=localhost
SocketConnectPort=10501
FileStorePath=logs/execution
Copyright (c) 1997-2005 SmartQuant Ltd,
www.smartquant.com