QuantDeveloper/ TT connectivity and other issues

Quote from market_hacker:

Hi Smooth,

QuantDeveloper uses the QuickFix engine for its FIX messaging, maybe you can look at the quickfix logs and it will give you a clue what is going wrong?

I develop with the quickfix engine myself and i know that it can be very picky about message formats and so on.

look for a file something like fix/logs/*.events

I have had the experience that the quickfixengine when it finds a message it doesn't like it will spit out a message in that log file and then reject the session.

In your case i don't see any reject messages in your TTFix log so i don't think thats necessarily exactly your problem, but i've found useful clues in those logs in the past so they are good to know about.

If you'd be willing to post a zip file w/ a demo app that produces your problem i'd be happy to try it against my Fix adapter. (i have a copy of QD installed i can try it with)

MarketHacker

Really appreciated for your kind offer.
Actually, I try to connect TTFIX from QD IDE now.
Well, I hesitate to step in the FIX abyss. That's why I try to develop with QD. I don't like IB network and TWS generally, but I like their API.

Regards
Smooth
 
Ok, so as long as just testing the connection to TTFIXAdapter, no extra load of TTSIM stuff is needed, just TTFIXAdapter itself is required.

Actually, I'm reinstalling WindowServer2003 now.
.net2.0 has been officially relieased and I have installed bunch of frameworks VS.net2005, QD, TT testing environment plus my wireless netwrok hardware error occurs frequently, so I thought it's a time to re-organaize system from a clean-install of OS.

I also hope this shall help the TTFIX connection with QD. I will let you know soon. Thanks for helps.

Regards,
Smooth.
 
A few trivial suggestions or thought I have.
1. Since SQ/QD is a framework that is a base of another applications, it should be installed on \C root directory. Actually, I will do so because I feel somewhat uncomfortable or unstable to see myApp access QD DLLs in probramFiles folder. IMO, such a core DLL should be located near the root directory.

2 QD's TTFIX configration should be exported to the property of TTFIX provider as well as 'password'. I don't see any proper reason that the TTFIX configuraion info such as compTargetName or IP etc is stored in a file located in the hidden location.

Regards,
Smooth
 
Quote from ssternlight:

I'm a fan of QD but I have to say I find it somewhat amazing that a technical support question is being answered outside of the QD site...:)

I'm helping QD's advertisement at ET, and Anton well understand that :cool: It's give and take.
Well, but yes, he must be one of the top class programmers in the world and I appreciate his kind support. Really.

I guess he is a Russian. I wonder what is happening in IT field in Russia. I see a few excellent project like MetaTrader or QD. They design software strucutre with such a intricated way. Some quality must be there.

Regards
 
Anton,

Here is my report...
I have clean-reinstalled the OS that is Windows2003 Server SP1.
Installed .net2.0 with VS2005.net.

Installed QD.
Installed TTdemo.

Overwrite the demoTTFIXAdapter cfg file to match the QD-TTFIX default setting.

[sessionorders]
port=10501
remotecompany=SmartQuant
localcompany=TT_ORDER
password=QuantDeveloper
persistent=N

[sessionprices]

port = 10502
remotecompany=SmartQuant
localcompany=TT_PRICE
password=QuantDeveloper
persistent=N



No touch on QDside files.

Run only demoTTFIXAdapter.
On the console window, it reports that with above configuration, Order/Price Session Created.

So far, so good. It looks working properly as intended.

Run QD and just click TTFIX provider to connect.

The result is basically the same as I previously had reported.
onCreate
onLogon
onLogout
onLogon
onLogout
......


TTFIX Adapter console says reset somthing as usual.

Regards.
 
Could you check that your QD tt.cfg file looks like

[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
FileLogPath=../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


Then please check that you don't have message logs in your tt fix qd directory. Then run TT FA and QD, try to connect and send me output from TT FA console.

Thanks,
Anton
 
Back
Top