Re: [Quickfix-users] Don't see any trace of operations
Brought to you by:
orenmnero
From: <la...@ma...> - 2008-04-08 12:00:40
|
I've also try 'tradeclient' like this: # ./tradeclient $HOME/session.ini <20080408-11:57:18, FIX.4.2:RUBY_LAUMA->SLE_LAUMA, event> (Created session) 1) Enter Order 2) Cancel Order 3) Replace Order 4) Market data test 5) Quit Action: 1 1) FIX.4.0 2) FIX.4.1 3) FIX.4.2 4) FIX.4.3 5) FIX.4.4 BeginString: 3 NewOrderSingle ClOrdID: 000001 Symbol: FR000120404 1) Buy 2) Sell 3) Sell Short 4) Sell Short Exempt 5) Cross 6) Cross Short 7) Cross Short Exempt Side: 1 1) Market 2) Limit 3) Stop 4) Stop Limit OrdType: 1 OrderQty: 100 1) Day 2) IOC 3) OPG 4) GTC 5) GTX TimeInForce: 1 SenderCompID: RUBY_LAUMA TargetCompID: SLE_LAUMA Use a TargetSubID?: N Send order?: Y OUT: 8=FIX.4.29=13535=D34=449=RUBY_LAUMA52=20080408-11:57:41.33756=SLE_LAUMA11=00000121=138=10040=154=155=FR00012040459=060=20080408-11:57:2810=070 1) Enter Order 2) Cancel Order 3) Replace Order 4) Market data test 5) Quit Action: But I do not see any trace of outgoing message (logon, heartbt, etc) and no incomming message on the server (no error, nothing). Could someone help please ? On Tue, 8 Apr 2008 11:24:08 +0200, <la...@ma...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hello, > > > > I'm currently trying to use quickfix and ruby to communicate with an home > > made Fix engine. > > This one is running on a host: myhost and on port: 5002 > > > > But I do not see any logs on my home made fix server saying that > > tradeclient is connected > > > > What's wrong ?? > > > > Here my session.ini file: > > [DEFAULT] > > ConnectionType=initiator > > ReconnectInterval=60 > > SenderCompID=RUBY_LAUMA > > FileLogPath=./ruby.log > > > > > > > > [SESSION] > > BeginString=FIX.4.2 > > TargetCompID=SLE_LAUMA > > HeartBtInt=30 > > SocketConnectPort=5002 > > SocketConenctHost=myhost > > DataDictionary=/home/team03/lauma/work/devel/quickfix/spec/FIX42.xml > > StartTime=08:00:00 > > EndTime=18:00:00 > > PersistMessages=N > > FileStorePath=./seqnums.db > > > > > > And I've also test the following simple ruby script (from you examples > > directory), but I do not see anythin in logs saying that connection > > is failed or succeed... > > Could anyone help please ? > > > > require 'quickfix_ruby' > > # application does not do anything usefull ;) > > require 'application' > > > > exit if ARGV.length < 1 > > > > fileName = ARGV[0] > > > > begin > > settings = Quickfix::SessionSettings.new( fileName ) > > application = MyApplication.new > > storeFactory = Quickfix::FileStoreFactory.new( settings ) > > logFactory = Quickfix::ScreenLogFactory.new( settings ) > > initiator = Quickfix::SocketInitiator.new( MyApplication.new , > > storeFactory , settings , logFactory ) > > initiator.start() > > initiator.connect() > > while true > > end > > initiator.stop() > > rescue Quickfix::ConfigError => e > > print e > > end > > > > > > Thanks you very much for any help you may provide > > Regards > > Laurent > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users |