quickfix-developers Mailing List for QuickFIX (Page 96)
Brought to you by:
orenmnero
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
(5) |
Mar
(16) |
Apr
(15) |
May
(17) |
Jun
(33) |
Jul
(35) |
Aug
(34) |
Sep
(19) |
Oct
(40) |
Nov
(51) |
Dec
(43) |
2003 |
Jan
(45) |
Feb
(79) |
Mar
(124) |
Apr
(121) |
May
(132) |
Jun
(77) |
Jul
(110) |
Aug
(57) |
Sep
(48) |
Oct
(83) |
Nov
(60) |
Dec
(40) |
2004 |
Jan
(67) |
Feb
(72) |
Mar
(74) |
Apr
(87) |
May
(70) |
Jun
(96) |
Jul
(75) |
Aug
(147) |
Sep
(128) |
Oct
(83) |
Nov
(67) |
Dec
(42) |
2005 |
Jan
(110) |
Feb
(84) |
Mar
(68) |
Apr
(55) |
May
(51) |
Jun
(192) |
Jul
(111) |
Aug
(100) |
Sep
(79) |
Oct
(127) |
Nov
(73) |
Dec
(112) |
2006 |
Jan
(95) |
Feb
(120) |
Mar
(138) |
Apr
(127) |
May
(124) |
Jun
(97) |
Jul
(103) |
Aug
(88) |
Sep
(138) |
Oct
(91) |
Nov
(112) |
Dec
(57) |
2007 |
Jan
(55) |
Feb
(35) |
Mar
(56) |
Apr
(16) |
May
(20) |
Jun
(77) |
Jul
(43) |
Aug
(47) |
Sep
(29) |
Oct
(54) |
Nov
(39) |
Dec
(40) |
2008 |
Jan
(69) |
Feb
(79) |
Mar
(122) |
Apr
(106) |
May
(114) |
Jun
(76) |
Jul
(83) |
Aug
(71) |
Sep
(53) |
Oct
(75) |
Nov
(54) |
Dec
(43) |
2009 |
Jan
(32) |
Feb
(31) |
Mar
(64) |
Apr
(48) |
May
(38) |
Jun
(43) |
Jul
(35) |
Aug
(15) |
Sep
(52) |
Oct
(62) |
Nov
(62) |
Dec
(21) |
2010 |
Jan
(44) |
Feb
(10) |
Mar
(47) |
Apr
(22) |
May
(5) |
Jun
(54) |
Jul
(19) |
Aug
(54) |
Sep
(16) |
Oct
(15) |
Nov
(7) |
Dec
(8) |
2011 |
Jan
(18) |
Feb
(9) |
Mar
(5) |
Apr
(5) |
May
(41) |
Jun
(40) |
Jul
(29) |
Aug
(17) |
Sep
(12) |
Oct
(23) |
Nov
(22) |
Dec
(11) |
2012 |
Jan
(8) |
Feb
(24) |
Mar
(5) |
Apr
(5) |
May
(6) |
Jun
(5) |
Jul
(5) |
Aug
(5) |
Sep
(2) |
Oct
(9) |
Nov
(2) |
Dec
(18) |
2013 |
Jan
(25) |
Feb
(16) |
Mar
(8) |
Apr
(2) |
May
(16) |
Jun
(17) |
Jul
(2) |
Aug
(13) |
Sep
(3) |
Oct
(4) |
Nov
(1) |
Dec
|
2014 |
Jan
(2) |
Feb
|
Mar
(22) |
Apr
(9) |
May
(3) |
Jun
(1) |
Jul
(5) |
Aug
(11) |
Sep
(18) |
Oct
(4) |
Nov
(4) |
Dec
(3) |
2015 |
Jan
(2) |
Feb
|
Mar
|
Apr
(3) |
May
(4) |
Jun
(37) |
Jul
|
Aug
(4) |
Sep
(6) |
Oct
(1) |
Nov
(4) |
Dec
(2) |
2016 |
Jan
(9) |
Feb
(3) |
Mar
(7) |
Apr
(1) |
May
(8) |
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
(3) |
Nov
(16) |
Dec
|
2017 |
Jan
(1) |
Feb
(15) |
Mar
(2) |
Apr
(12) |
May
(4) |
Jun
(7) |
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
(23) |
Dec
(8) |
2018 |
Jan
(2) |
Feb
(4) |
Mar
(2) |
Apr
(8) |
May
(3) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(5) |
Nov
(3) |
Dec
|
2020 |
Jan
|
Feb
(4) |
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
(12) |
Aug
(5) |
Sep
(3) |
Oct
(1) |
Nov
|
Dec
(1) |
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Djalma R. d. S. F. <drs...@gm...> - 2008-02-14 12:45:14
|
Hi Sylvain , As far as I know, the FIX header starts with the BeginString field (8= FIX.4.2|) and unfortunately there is no end of header or start of body. The body starts when you find a field that doesn't belong to Header. This is something I miss in FIX, a simple way to parse only the Header. Djalma On Thu, Feb 14, 2008 at 7:35 AM, Sylvain FRANCIOLI <sfr...@ch...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > > Thank you for your reply Nick, > > But I need some more information in the structure of the header of Fix > protocol to use for incase it in a frame TCP. > > ---------------------------------------------------------------------------------- > | | > ------------------------------------------------------ | > | || | > || > | TCP || FIX | > DATA || > | HEADER || HEADER | (8=FIX.4.2|9=56|...) || > | || | > || > | | > ------------------------------------------------------ | > > ----------------------------------------------------------------------------------- > > > > Best regards, > > Syl > > > > *"Nick Bilak" <be...@gm...>* > > 12/02/2008 11:23 > To > "Sylvain FRANCIOLI" <sfr...@ch...> cc > Subject > Re: [Quickfix-developers] Incase FIX in TCP > > > > > FIX specification is on *fixprotocol.org* <http://fixprotocol.org/> > > On Feb 12, 2008 10:47 AM, Sylvain FRANCIOLI <*sfr...@ch...*<sfr...@ch...>> > wrote: > QuickFIX Documentation: * > http://www.quickfixengine.org/quickfix/doc/html/index.html*<http://www.quickfixengine.org/quickfix/doc/html/index.html> > QuickFIX Support: *http://www.quickfixengine.org/services.html*<http://www.quickfixengine.org/services.html> > > > > Hi All, > > To begining, sorry for my broken english. > > I'm making a little program C for send frames FIX by using socket. > At the moment, I be able to send frame TCP but for incase FIX protocol I > need information on the structure of the header to use. > > I'm waiting for your help. > > Best regards, > > Syl > > "This message, including any attachments may contain confidential > and privileged material; it is intended only for the person to whom > it is addressed. Its contents do not constitute a commitment by Credit > Agricole Cheuvreux except where provided for in a written agreement. > Credit Agricole Cheuvreux assumes no liability or responsibility for > the consequences arising out of a delay and/or loss in transit of this > message, or for corruption or other error(s) arising in its > transmission and for any misuse or fraudulent use which may be made > thereof. If you are not the intended recipient, please contact us and > abstain from any disclosure, use or dissemination. To the extent that > this message contains research information and/or recommendations, these > are provided on the same basis as Credit Agricole Cheuvreux's > published research and the recipient must have regard to all disclosures > and disclaimers contained therein." > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008.* > **http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/*<http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/> > _______________________________________________ > Quickfix-developers mailing list* > **Qui...@li...*<Qui...@li...> > * > **https://lists.sourceforge.net/lists/listinfo/quickfix-developers*<https://lists.sourceforge.net/lists/listinfo/quickfix-developers> > > > > -- > Regards, > Nick. > > > > "This message, including any attachments may contain confidential > and privileged material; it is intended only for the person to whom > it is addressed. Its contents do not constitute a commitment by Credit > Agricole Cheuvreux except where provided for in a written agreement. > Credit Agricole Cheuvreux assumes no liability or responsibility for > the consequences arising out of a delay and/or loss in transit of this > message, or for corruption or other error(s) arising in its > transmission and for any misuse or fraudulent use which may be made > thereof. If you are not the intended recipient, please contact us and > abstain from any disclosure, use or dissemination. To the extent that > this message contains research information and/or recommendations, these > are provided on the same basis as Credit Agricole Cheuvreux's > published research and the recipient must have regard to all disclosures > and disclaimers contained therein." > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: Sylvain F. <sfr...@ch...> - 2008-02-14 10:53:57
|
Hi everydody, Sorry to distract you. I need some explanation on how to incase Fix message in frame TCP. I don't know to define FIX header in data TCP to have a valid frame. I capture some packet with ethereal but I can't see the Fix header but only the order data (all tags fix). Thank for your help. Regard, Syl "This message, including any attachments may contain confidential and privileged material; it is intended only for the person to whom it is addressed. Its contents do not constitute a commitment by Credit Agricole Cheuvreux except where provided for in a written agreement. Credit Agricole Cheuvreux assumes no liability or responsibility for the consequences arising out of a delay and/or loss in transit of this message, or for corruption or other error(s) arising in its transmission and for any misuse or fraudulent use which may be made thereof. If you are not the intended recipient, please contact us and abstain from any disclosure, use or dissemination. To the extent that this message contains research information and/or recommendations, these are provided on the same basis as Credit Agricole Cheuvreux's published research and the recipient must have regard to all disclosures and disclaimers contained therein." |
From: BRACKLEY, A. G. <And...@rb...> - 2008-02-13 10:24:26
|
I'm fairly new to quickfix so could be wrong but I don't think getField(xxx) populates the field you pass it. Instead it returns the field details which you are interested in. The parameter is simply so that it can recognize the correct field type you are interested in. Therefore you probably need something like: QuickFix.Message qfmsg = qMessages.Dequeue() as QuickFix.Message; QuickFix.MsgType qfmsgtype_tag = new MsgType(); QuickFix.MsgType qfmsgtype qfmsgtype = qfmsg.getHeader().getField(qfmsgtype_tag); strMsgType = qfmsgtype.getValue(); Hope this helps -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Andrew Culross Sent: 12 February 2008 19:50 To: qui...@li... Subject: Re: [Quickfix-developers] Attempted to read or write protected memory.This is often an indication that other memory is corrupt. QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html *********************************************************************************** The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. Authorised and regulated by the Financial Services Authority This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by The Royal Bank of Scotland plc in this regard and the recipient should carry out such virus and other checks as it considers appropriate. Visit our websites at: www.rbs.com www.rbs.com/gbm www.rbsgc.com *********************************************************************************** ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ |
From: geka134 <ge...@ya...> - 2008-02-13 09:34:01
|
Problem with validation or may be bug in QuickFix Hello all. I am playing with validation facilities of QuickFix and faced with troubles: In my FIX message (ExecutionReport) exists one custom field (with tag 7012) with a string “TEST FIELD”. In configuration file I have following: [DEFAULT] ConnectionType=acceptor SocketAcceptPort=5001 SocketReuseAddress=Y StartTime=00:00:00 EndTime=00:00:00 UseDataDictionary=Y HttpAcceptPort=8090 [SESSION] BeginString=FIX.4.3 SenderCompID=EXECUTOR TargetCompID=CLIENT1 FileStorePath=store DataDictionary=./FIX43.xml In FIX43.xml i have added two records: 1) one in fields section <field number="7012" name="TestField" type="STRING" /> 2) and one in message (<message name="ExecutionReport" msgtype="8" msgcat="app">) section <field name="TestField" required="N" /> In the program code a do not add class for this field and simply do message.getField(7012); As a result quickfix reject message with: “Tag not defined for this message type” What it can be ? |
From: Hozaifa A. A. <hoz...@ve...> - 2008-02-13 05:35:07
|
This is for others knowledge.. What I have done is created 2 different session initiators with different session settings and also given both of them SessionQualifier. This way I am able to get Market data and also process order. I thank all of u above for the replies. Hozaifa Akber Ali wrote: > > > Oren, > > Here is the info the broker has sent for the connection where only port is > different: > > API Access Information > > Market logins > ------------------ > IP address: 66.238.4.59 > Port number: 6200 > SenderCompID: ANDYSTAP (tag 49 on login) > TargetCompID: CAX (tag 56 on login) > password : ******** (tag 96 on login) > > Orders Login > —————————— > IP address: 66.238.4.59 > Port number: 17200 > SenderCompID: ANDYSTAP (tag 49 on login) > TargetCompID: CAX (tag 56 on login) > Password: ******** (tag 96 on login) > > New order Entry/Cxl: > ———————————— > Account : andys (tag 1 on new order) > Sender SubID : 001 (tag 50 on new order) > > Regards > Hozaifa > > > Oren Miller wrote: >> >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> Hoazifa, >> >> Why do the two sessions have the same compids and connect >> information. This doesn't seem right. Is this the information the >> counterparty gave you? >> >> --oren >> >> On Feb 6, 2008, at 11:50 PM, Hozaifa Akber Ali wrote: >> >>> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ >>> html/index.html >>> QuickFIX Support: http://www.quickfixengine.org/services.html >>> >>> >>> Hi Azmat and Oren, >>> >>> I Have created this config and send to ThreadedSocketInitiator >>> >>> [DEFAULT] >>> ConnectionType=initiator >>> HeartBtInt=30 >>> ReconnectInterval=1 >>> FileStorePath=store >>> FileLogPath=log >>> StartTime=00:00:00 >>> EndTime=00:00:00 >>> UseDataDictionary=N >>> >>> [SESSION]\n" >>> BeginString=FIX.4.2 >>> SenderCompID=CID >>> TargetCompID=CAX >>> SocketConnectHost66.238.4.59 >>> SocketConnectPort=6200 >>> DataDictionary=spec/FIX42.xml >>> >>> [SESSION] >>> BeginString=FIX.4.2 >>> SenderCompID=CID >>> TargetCompID=CAX >>> SocketConnectHost=66.238.4.59 >>> SocketConnectPort=17200 >>> DataDictionary=spec/FIX42.xml >>> >>> Port 6200 is for Market Data Server and >>> Port 17200 is for Order Processing Data Server >>> >>> When I start the initiator I connect to Market data server and setting >>> object uses Default block and >>> Session block number 2 with 17200 port. >>> >>> how do I manage the session for the market data and order processing?? >>> Azmat can I have your msn id or direct email address ?? >>> mine is hozaifa_99 @ hotmail . com >>> >>> Thanks Azmat for ur reply and forwarding me to this post. >>> >>> >>> azmat wrote: >>>> >>>> QuickFIX Documentation: >>>> http://www.quickfixengine.org/quickfix/doc/html/index.html >>>> QuickFIX Support: http://www.quickfixengine.org/services.html >>>> >>>> >>>> Nice! I am using the ThreadedSocketInitiator. The data from each >>>> session >>>> will not need to interact with one another. Basically, I am sending >>>> requests (orders and market data) and then repackaging the >>>> responses (FIX >>>> Messages) into our own proprietary objects and passing them along >>>> to our >>>> internal financial subsystem. >>>> >>>> I think this will work! Beautiful job! >>>> >>>> thanks! >>>> Azmat >>>> >>>> >>>> On Feb 5, 2008 12:02 PM, Oren Miller <or...@qu...> wrote: >>>> >>>>> Depends on which initiator you use. The SocketInitiator will >>>>> keep them >>>>> both in the same thread, while the ThreadedSocketInitiator will >>>>> provide a >>>>> thread for each session. Whether they should be the same or >>>>> different >>>>> apps >>>>> I guess depends on whether the session data needs to interact >>>>> with each >>>>> other. >>>>> --oren >>>>> >>>>> On Feb 5, 2008, at 11:48 AM, mr azmat wrote: >>>>> >>>>> QuickFIX Documentation: >>>>> http://www.quickfixengine.org/quickfix/doc/html/index.html >>>>> QuickFIX Support: http://www.quickfixengine.org/services.html >>>>> >>>>> Oren- >>>>> >>>>> That sounds good. Now the question is if I get two requests from >>>>> our OMS >>>>> (1 requesting Market Data and 1 order submission), and I send >>>>> them both >>>>> out >>>>> (1 through the Market Data session and 1 through the Order >>>>> Management >>>>> session), would quickfix use two 'threads' to handle both >>>>> requests OR >>>>> should >>>>> I create a separate application to handle Market Data Requests/ >>>>> Responses >>>>> that works on its own thread? >>>>> >>>>> thanks! >>>>> Azmat >>>>> >>>>> On Feb 5, 2008 11:19 AM, Oren Miller <or...@qu...> >>>>> wrote: >>>>> >>>>>> It's pretty typical to separate market data and order management >>>>>> into >>>>>> different sessions. The will probably just create a new session >>>>>> for >>>>>> you with a different set of comp ids. You will need to add this >>>>>> new >>>>>> session to your configuration file. Then you will need to target >>>>>> your market data messages to that sessions comp ids. >>>>>> >>>>>> --oren >>>>>> >>>>>> On Feb 5, 2008, at 11:07 AM, mr azmat wrote: >>>>>> >>>>>>> Oren- >>>>>>> >>>>>>> I did speak to the representative at the brokerage firm, and they >>>>>>> said that they needed to setup a separate connection on their FIX >>>>>>> server for us. Someone told me that typically Market Data >>>>>>> Requests/ >>>>>>> Responses are over a separate IP. Is this true? And if so, how >>>>>>> will quickfix handle sending multiple messages over two different >>>>>>> connections? Is there another line in the settings file for >>>>>>> Market >>>>>>> Data connections? >>>>>>> >>>>>>> thanks! >>>>>>> Azmat >>>>>> >>>>>> >>>>> -------------------------------------------------------------------- >>>>> ----- >>>>> This SF.net email is sponsored by: Microsoft >>>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>>> >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>>> _______________________________________________ >>>>> Quickfix-developers mailing list >>>>> Qui...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >>>>> >>>>> >>>>> >>>> >>>> --------------------------------------------------------------------- >>>> ---- >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> Quickfix-developers mailing list >>>> Qui...@li... >>>> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >>>> >>> >>> -- >>> View this message in context: http://www.nabble.com/Market-Data- >>> Request-tp15279801p15327848.html >>> Sent from the QuickFIX - Dev mailing list archive at Nabble.com. >>> >>> >>> ---------------------------------------------------------------------- >>> --- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Quickfix-developers mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >>> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Quickfix-developers mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >> >> > > -- View this message in context: http://www.nabble.com/Market-Data-Request-tp15279801p15449955.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |
From: Andrew C. <And...@Tw...> - 2008-02-12 19:52:12
|
I think this might be a result of trying to access a message that had been disposed. Andrew Culross Direct +1 (914) 220-8849 http://www.twofour.com/emaildisclaimer.aspx -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Andrew Culross Sent: Tuesday, February 12, 2008 11:05 AM To: qui...@li... Subject: [Quickfix-developers] Attempted to read or write protected memory.This is often an indication that other memory is corrupt. I'm receiving the error message below - C# code looks something like this: QuickFix.Message qfmsg = qMessages.Dequeue() as QuickFix.Message; QuickFix.MsgType qfmsgtype = new MsgType(); qfmsg.getHeader().getField(qfmsgtype); strMsgType = qfmsgtype.getValue(); Extended message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Stack trace: at FIX.Message.toString(Message* , basic_string<char\,std::char_traits<char>\,std::allocator<char> >* , Int32 , Int32 , Int32 ) at QuickFix.Message.ToString() at QuickFix.Message.getHeader() Any thoughts on what might be causing this? Andrew Culross Direct +1 (914) 220-8849 http://www.twofour.com/emaildisclaimer.aspx |
From: Oren M. <or...@qu...> - 2008-02-12 16:28:14
|
It should be detected. If a message has a possdupflag set to Y and the origseqflag is lower then the last processed sequence number, QuickFIX will see this and eat the message. --oren On Feb 12, 2008, at 8:27 AM, Andrei Goldchleger wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ > html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi there, > > > Suppose that a message contains PossDupFlag=Y and is *actually* a > duplicate. Does it end up showing in the fromApp callback, or is this > situation detected by QuickFIX and the message is discarded? > > Regards, > > Andrei Goldchleger > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: Andrew C. <And...@Tw...> - 2008-02-12 16:06:43
|
I'm receiving the error message below - C# code looks something like this: QuickFix.Message qfmsg = qMessages.Dequeue() as QuickFix.Message; QuickFix.MsgType qfmsgtype = new MsgType(); qfmsg.getHeader().getField(qfmsgtype); strMsgType = qfmsgtype.getValue(); Extended message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Stack trace: at FIX.Message.toString(Message* , basic_string<char\,std::char_traits<char>\,std::allocator<char> >* , Int32 , Int32 , Int32 ) at QuickFix.Message.ToString() at QuickFix.Message.getHeader() Any thoughts on what might be causing this? Andrew Culross Direct +1 (914) 220-8849 http://www.twofour.com/emaildisclaimer.aspx |
From: Keith M. <km...@us...> - 2008-02-12 15:39:58
|
Hi Scott Looking at those FIX messages, the second cancel you are sending is using the ClOrdID of the original cancel message as the OrigClOrdID (i.e. you are trying to cancel a cancel), so when the server replies with a CancelReject for it, the OrdStatus should be Rejected as that ClOrdID has been processed (with the PendingCancel execution report). HTH Keith ----- Original Message ----- From: "Scott Mitchell" <rs...@pr...> To: <qui...@li...> Sent: Tuesday, February 12, 2008 12:25 PM Subject: [Quickfix-developers] Interpretation of OrdStatus inOrderCancelReject message? > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi all, > > I'm interested in people's thoughts on the interpretation of the > OrdStatus (39) field of an OrderCancelReject (35=9) message. The 4.2 > spec simply says this is the "OrdStatus value after this cancel reject > is applied", which I've always taken to mean the status of the complete > order chain after the cancel reject has been applied. This > interpretation has served us well, until we recently had to integrate > with a server (a home-grown one, I believe) that always sets 39=8 > (Rejected) on any OrderCancelReject, yet still sends subsequent > execution reports for the order. This seems bogus to me - it's the > cancel request that is being rejected, not the order - but the server > vendor insists their behaviour is valid. They may be correct within the > letter of the spec but my feeling is that this violates the spirit of > the protocol at least; although we will probably implement a workaround > for this case regardless, I'd still like to be able to claim some moral > high ground and produce some evidence that their implementation is > incorrect. > > So what do other people think - how should 39=8 in an OrderCancelReject > be handled? > > Below is a sample message sequence demonstrating what I'm talking about > - the client attempts to cancel an order that's already in the Pending > Cancel state and gets an OrderCancelReject with 39=8 (excuse dodgy line > wrapping): > > 8=FIX.4.2 9=178 35=D 34=228 49=FIXAPAMA 52=20080125-14:44:38 56=TDPX > 1=TD580IT 7 08470615C6 CDS 5J9535E 11=1:168:72278 21=1 38=500 40=2 44=99 > 47=J 54=1 55=RIM 60=20080125-08:44:38 100=110 114=N 10=170 > > 8=FIX.4.2 9=236 35=8 34=469 49=TDPX 52=20080125-14:44:38 56=FIXAPAMA 6=0 > 11=1:168:72278 14=0 17=FIXAPAMA-70080125-95-0 20=0 30=110 31=0 32=0 > 37=FIXAPAMA-70080125-95 38=500 39=A 44=99 47=J 54=1 55=RIM 59=0 > 60=20080125-14:44:38 99=0 150=A 151=500 167=CS 10=158 > > 8=FIX.4.2 9=236 35=8 34=470 49=TDPX 52=20080125-14:44:38 56=FIXAPAMA 6=0 > 11=1:168:72278 14=0 17=FIXAPAMA-70080125-95-1 20=0 30=110 31=0 32=0 > 37=FIXAPAMA-70080125-95 38=500 39=0 44=99 47=J 54=1 55=RIM 59=0 > 60=20080125-14:44:38 99=0 150=0 151=500 167=CS 10=117 > > 8=FIX.4.2 9=147 35=F 34=230 49=FIXAPAMA 52=20080125-14:44:39 56=TDPX > 11=1:170:12012 37=FIXAPAMA-70080125-95 38=500 41=1:168:72278 54=1 55=RIM > 60=20080125-08:44:39 10=015 > > 8=FIX.4.2 9=242 35=8 34=472 49=TDPX 52=20080125-14:44:39 56=FIXAPAMA > 6=99 11=1:168:72278 14=200 17=FIXAPAMA-70080125-95-2 20=0 30=110 31=99 > 32=200 37=FIXAPAMA-70080125-95 38=500 39=1 44=99 47=J 54=1 55=RIM 59=0 > 60=20080125-14:44:38 99=0 150=1 151=300 167=CS 10=190 > > 8=FIX.4.2 9=254 35=8 34=473 49=TDPX 52=20080125-14:44:39 56=FIXAPAMA > 6=99 11=1:170:12012 14=200 17=FIXAPAMA-70080125-95-3 20=0 30=110 31=0 > 32=0 37=FIXAPAMA-70080125-95 38=500 39=1 41=1:168:72278 44=99 47=J 54=1 > 55=RIM 59=0 60=20080125-14:44:39 99=0 150=6 151=300 167=CS 10=251 > > 8=FIX.4.2 9=147 35=F 34=232 49=FIXAPAMA 52=20080125-14:44:39 56=TDPX > 11=1:172:72279 37=FIXAPAMA-70080125-95 38=500 41=1:170:12012 54=1 55=RIM > 60=20080125-08:44:39 10=013 > > 8=FIX.4.2 9=143 35=9 34=474 49=TDPX 52=20080125-14:44:39 56=FIXAPAMA > 11=1:172:72279 37=NONE 39=8 41=1:170:12012 58=Order Not Found (Too late > to cancel?) 434=1 10=006 > > 8=FIX.4.2 9=239 35=8 34=478 49=TDPX 52=20080125-14:44:39 56=FIXAPAMA > 6=99 11=1:168:72278 14=200 17=FIXAPAMA-70080125-95-4 20=0 30=110 31=0 > 32=0 37=FIXAPAMA-70080125-95 38=500 39=4 44=99 47=J 54=1 55=RIM 59=0 > 60=20080125-14:44:39 99=0 150=4 151=300 167=CS 10=047 > > > Cheers, > > Scott > > -- > Dr Scott Mitchell, Apama Connectivity Engineering Manager, Cambridge UK > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
From: Andrei G. <an...@gm...> - 2008-02-12 14:27:42
|
Hi there, Suppose that a message contains PossDupFlag=Y and is *actually* a duplicate. Does it end up showing in the fromApp callback, or is this situation detected by QuickFIX and the message is discarded? Regards, Andrei Goldchleger |
From: Scott M. <rs...@pr...> - 2008-02-12 12:26:12
|
Hi all, I'm interested in people's thoughts on the interpretation of the OrdStatus (39) field of an OrderCancelReject (35=9) message. The 4.2 spec simply says this is the "OrdStatus value after this cancel reject is applied", which I've always taken to mean the status of the complete order chain after the cancel reject has been applied. This interpretation has served us well, until we recently had to integrate with a server (a home-grown one, I believe) that always sets 39=8 (Rejected) on any OrderCancelReject, yet still sends subsequent execution reports for the order. This seems bogus to me - it's the cancel request that is being rejected, not the order - but the server vendor insists their behaviour is valid. They may be correct within the letter of the spec but my feeling is that this violates the spirit of the protocol at least; although we will probably implement a workaround for this case regardless, I'd still like to be able to claim some moral high ground and produce some evidence that their implementation is incorrect. So what do other people think - how should 39=8 in an OrderCancelReject be handled? Below is a sample message sequence demonstrating what I'm talking about - the client attempts to cancel an order that's already in the Pending Cancel state and gets an OrderCancelReject with 39=8 (excuse dodgy line wrapping): 8=FIX.4.2 9=178 35=D 34=228 49=FIXAPAMA 52=20080125-14:44:38 56=TDPX 1=TD580IT 7 08470615C6 CDS 5J9535E 11=1:168:72278 21=1 38=500 40=2 44=99 47=J 54=1 55=RIM 60=20080125-08:44:38 100=110 114=N 10=170 8=FIX.4.2 9=236 35=8 34=469 49=TDPX 52=20080125-14:44:38 56=FIXAPAMA 6=0 11=1:168:72278 14=0 17=FIXAPAMA-70080125-95-0 20=0 30=110 31=0 32=0 37=FIXAPAMA-70080125-95 38=500 39=A 44=99 47=J 54=1 55=RIM 59=0 60=20080125-14:44:38 99=0 150=A 151=500 167=CS 10=158 8=FIX.4.2 9=236 35=8 34=470 49=TDPX 52=20080125-14:44:38 56=FIXAPAMA 6=0 11=1:168:72278 14=0 17=FIXAPAMA-70080125-95-1 20=0 30=110 31=0 32=0 37=FIXAPAMA-70080125-95 38=500 39=0 44=99 47=J 54=1 55=RIM 59=0 60=20080125-14:44:38 99=0 150=0 151=500 167=CS 10=117 8=FIX.4.2 9=147 35=F 34=230 49=FIXAPAMA 52=20080125-14:44:39 56=TDPX 11=1:170:12012 37=FIXAPAMA-70080125-95 38=500 41=1:168:72278 54=1 55=RIM 60=20080125-08:44:39 10=015 8=FIX.4.2 9=242 35=8 34=472 49=TDPX 52=20080125-14:44:39 56=FIXAPAMA 6=99 11=1:168:72278 14=200 17=FIXAPAMA-70080125-95-2 20=0 30=110 31=99 32=200 37=FIXAPAMA-70080125-95 38=500 39=1 44=99 47=J 54=1 55=RIM 59=0 60=20080125-14:44:38 99=0 150=1 151=300 167=CS 10=190 8=FIX.4.2 9=254 35=8 34=473 49=TDPX 52=20080125-14:44:39 56=FIXAPAMA 6=99 11=1:170:12012 14=200 17=FIXAPAMA-70080125-95-3 20=0 30=110 31=0 32=0 37=FIXAPAMA-70080125-95 38=500 39=1 41=1:168:72278 44=99 47=J 54=1 55=RIM 59=0 60=20080125-14:44:39 99=0 150=6 151=300 167=CS 10=251 8=FIX.4.2 9=147 35=F 34=232 49=FIXAPAMA 52=20080125-14:44:39 56=TDPX 11=1:172:72279 37=FIXAPAMA-70080125-95 38=500 41=1:170:12012 54=1 55=RIM 60=20080125-08:44:39 10=013 8=FIX.4.2 9=143 35=9 34=474 49=TDPX 52=20080125-14:44:39 56=FIXAPAMA 11=1:172:72279 37=NONE 39=8 41=1:170:12012 58=Order Not Found (Too late to cancel?) 434=1 10=006 8=FIX.4.2 9=239 35=8 34=478 49=TDPX 52=20080125-14:44:39 56=FIXAPAMA 6=99 11=1:168:72278 14=200 17=FIXAPAMA-70080125-95-4 20=0 30=110 31=0 32=0 37=FIXAPAMA-70080125-95 38=500 39=4 44=99 47=J 54=1 55=RIM 59=0 60=20080125-14:44:39 99=0 150=4 151=300 167=CS 10=047 Cheers, Scott -- Dr Scott Mitchell, Apama Connectivity Engineering Manager, Cambridge UK |
From: Sylvain F. <sfr...@ch...> - 2008-02-12 08:47:51
|
Hi All, To begining, sorry for my broken english. I'm making a little program C for send frames FIX by using socket. At the moment, I be able to send frame TCP but for incase FIX protocol I need information on the structure of the header to use. I'm waiting for your help. Best regards, Syl "This message, including any attachments may contain confidential and privileged material; it is intended only for the person to whom it is addressed. Its contents do not constitute a commitment by Credit Agricole Cheuvreux except where provided for in a written agreement. Credit Agricole Cheuvreux assumes no liability or responsibility for the consequences arising out of a delay and/or loss in transit of this message, or for corruption or other error(s) arising in its transmission and for any misuse or fraudulent use which may be made thereof. If you are not the intended recipient, please contact us and abstain from any disclosure, use or dissemination. To the extent that this message contains research information and/or recommendations, these are provided on the same basis as Credit Agricole Cheuvreux's published research and the recipient must have regard to all disclosures and disclaimers contained therein." |
From: BRACKLEY, A. G. <And...@rb...> - 2008-02-11 16:32:58
|
I'm sometimes getting errors written to the FIX.4.4xxx.event.log along the lines of: 20080211-16:26:53 : Socket Error: Connection reset by peer. This is followed shortly after by a Logout message. Is it possible to pickup this message from somewhere so that I can display it as an error? Thanks *********************************************************************************** The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. Authorised and regulated by the Financial Services Authority This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by The Royal Bank of Scotland plc in this regard and the recipient should carry out such virus and other checks as it considers appropriate. Visit our websites at: www.rbs.com www.rbs.com/gbm www.rbsgc.com *********************************************************************************** ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ |
From: Oren M. <or...@qu...> - 2008-02-11 15:07:01
|
You need to use the FileLog to do this. --oren On Feb 8, 2008, at 5:42 PM, Mulotte Pierre wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ > html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi, > > I'm developping a C++ application using QuickFix 4.2. > And I have one BIG problem. > QuickFix default behaviour seems to store only outgoing messages. > And for my own reasons I want both incoming AND outgoing messages > to be stored. > > As for example the ScreenLogFactory is able to log both incoming > and outgoing messages so I think/hope it might also be possible to > store all messages whatever the direction. > But I can't find how to do.... Configuration file, constructor > parameter ... > > Anyone having a clue to help me ? > > Thx a lot > Pierre > > Découvrez Windows Live Spaces et créez votre site Web perso en > quelques clics ! Essayez ! > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
From: Mulotte P. <orl...@ho...> - 2008-02-08 23:43:03
|
Hi, I'm developping a C++ application using QuickFix 4.2. And I have one BIG problem. QuickFix default behaviour seems to store only outgoing messages. And for my own reasons I want both incoming AND outgoing messages to be stored. As for example the ScreenLogFactory is able to log both incoming and outgoing messages so I think/hope it might also be possible to store all messages whatever the direction. But I can't find how to do.... Configuration file, constructor parameter ... Anyone having a clue to help me ? Thx a lot Pierre _________________________________________________________________ Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics ! http://spaces.live.com/signup.aspx |
From: Rodrick B. <rod...@gm...> - 2008-02-08 22:40:06
|
CME will provide you with their FIX spec which details on all their custom and required fields, iLink is Fix based 4.2 to be exact so it should be very similar if you've already worked with the FIX API :-) On Feb 8, 2008 5:05 PM, JiteshT <ji...@ed...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hi All, > > We are looking to use QuickFIX to connect to CME iLink for order routing. > Can anyone tell me how long this process should take? > If anyone has any tips or tricks, I'd appreciate it. > > We also want to take the CME Autocert tests. > Is there functionality that CME requires that QuickFIX doesn't have > built-in? > > Thank you, > Jitesh > -- > View this message in context: > http://www.nabble.com/Converting-QuickFIX-to-connect-to-CME-iLink-tp15364796p15364796.html > Sent from the QuickFIX - Dev mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > -- Rodrick R. Brown http://www.rodrickbrown.com |
From: JiteshT <ji...@ed...> - 2008-02-08 22:05:50
|
Hi All, We are looking to use QuickFIX to connect to CME iLink for order routing. Can anyone tell me how long this process should take? If anyone has any tips or tricks, I'd appreciate it. We also want to take the CME Autocert tests. Is there functionality that CME requires that QuickFIX doesn't have built-in? Thank you, Jitesh -- View this message in context: http://www.nabble.com/Converting-QuickFIX-to-connect-to-CME-iLink-tp15364796p15364796.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |
From: Mike P. <mic...@ya...> - 2008-02-08 21:15:06
|
Acceptor.cpp void Acceptor::block() throw ( ConfigError, RuntimeError ) { QF_STACK_PUSH( Acceptor::start ) The QF_STACK_PUSH argument is wrong. This may already be fixed in cvs, but thought I'd mention it ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |
From: Oren M. <or...@qu...> - 2008-02-08 15:21:37
|
Actually there is a configuration setting to handle this. You can set the SessionQualifier for each of the sessions to something unique, say ORDER and MARKETDATA which will allow quickfix to manage two sessions with the same compid. As long as the port or ip is different, there should be no problem connecting to them with the same application. --oren On Feb 8, 2008, at 8:32 AM, Brian Erst wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ > html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > FIX sessions should not differ only by port number (FIX sessions > are logical, not physical). In this case, the "easiest" solution is > probably to split your code into two separate applications - one > for market data and one for execution. You can then have two > separate QuickFIX INI files (make sure to configure things so that > they are differently named or in different directories) and also > make sure that the data and log files are in different directories. > > Your separate applications can now each run on the CAX:ANDYSTAP > session. > > - Brian Erst > Thynk Software, Inc. > > ----- Original Message ---- > From: Hozaifa Akber Ali <hoz...@ve...> > To: qui...@li... > Sent: Thursday, February 7, 2008 11:40:12 PM > Subject: Re: [Quickfix-developers] Market Data Request > > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ > html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > > Oren, > > Here is the info the broker has sent for the connection where only > port is > different: > > API Access Information > > Market logins > ------------------ > IP address: 66.238.4.59 > Port number: 6200 > SenderCompID: ANDYSTAP (tag 49 on login) > TargetCompID: CAX (tag 56 on login) > password : ******** (tag 96 on login) > > Orders Login > —————————— > IP address: 66.238.4.59 > Port number: 17200 > SenderCompID: ANDYSTAP (tag 49 on login) > TargetCompID: CAX (tag 56 on login) > Password: ******** (tag 96 on login) > > New order Entry/Cxl: > ———————————— > Account : andys (tag 1 on new order) > Sender SubID : 001 (tag 50 on new order) > > Regards > Hozaifa > > > Oren Miller wrote: > > > > QuickFIX Documentation: > > http://www.quickfixengine.org/quickfix/doc/html/index.html > > QuickFIX Support: http://www.quickfixengine.org/services.html > > > > Hoazifa, > > > > Why do the two sessions have the same compids and connect > > information. This doesn't seem right. Is this the information the > > counterparty gave you? > > > > --oren > > > > On Feb 6, 2008, at 11:50 PM, Hozaifa Akber Ali wrote: > > > >> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ > >> html/index.html > >> QuickFIX Support: http://www.quickfixengine.org/services.html > >> > >> > >> Hi Azmat and Oren, > >> > >> I Have created this config and send to ThreadedSocketInitiator > >> > >> [DEFAULT] > >> ConnectionType=initiator > >> HeartBtInt=30 > >> ReconnectInterval=1 > >> FileStorePath=store > >> FileLogPath=log > >> StartTime=00:00:00 > >> EndTime=00:00:00 > >> UseDataDictionary=N > >> > >> [SESSION]\n" > >> BeginString=FIX.4.2 > >> SenderCompID=CID > >> TargetCompID=CAX > >> SocketConnectHost66.238.4.59 > >> SocketConnectPort=6200 > >> DataDictionary=spec/FIX42.xml > >> > >> [SESSION] > >> BeginString=FIX.4.2 > >> SenderCompID=CID > >> TargetCompID=CAX > >> SocketConnectHost=66.238.4.59 > >> SocketConnectPort=17200 > >> DataDictionary=spec/FIX42.xml > >> > >> Port 6200 is for Market Data Server and > >> Port 17200 is for Order Processing Data Server > >> > >> When I start the initiator I connect to Market data server and > setting > >> object uses Default block and > >> Session block number 2 with 17200 port. > >> > >> how do I manage the session for the market data and order > processing?? > >> Azmat can I have your msn id or direct email address ?? > >> mine is hozaifa_99 @ hotmail . com > >> > >> Thanks Azmat for ur reply and forwarding me to this post. > >> > >> > >> azmat wrote: > >>> > >>> QuickFIX Documentation: > >>> http://www.quickfixengine.org/quickfix/doc/html/index.html > >>> QuickFIX Support: http://www.quickfixengine.org/services.html > >>> > >>> > >>> Nice! I am using the ThreadedSocketInitiator. The data from each > >>> session > >>> will not need to interact with one another. Basically, I am > sending > >>> requests (orders and market data) and then repackaging the > >>> responses (FIX > >>> Messages) into our own proprietary objects and passing them along > >>> to our > >>> internal financial subsystem. > >>> > >>> I think this will work! Beautiful job! > >>> > >>> thanks! > >>> Azmat > >>> > >>> > >>> On Feb 5, 2008 12:02 PM, Oren Miller <or...@qu...> > wrote: > >>> > >>>> Depends on which initiator you use. The SocketInitiator will > >>>> keep them > >>>> both in the same thread, while the ThreadedSocketInitiator will > >>>> provide a > >>>> thread for each session. Whether they should be the same or > >>>> different > >>>> apps > >>>> I guess depends on whether the session data needs to interact > >>>> with each > >>>> other. > >>>> --oren > >>>> > >>>> On Feb 5, 2008, at 11:48 AM, mr azmat wrote: > >>>> > >>>> QuickFIX Documentation: > >>>> http://www.quickfixengine.org/quickfix/doc/html/index.html > >>>> QuickFIX Support: http://www.quickfixengine.org/services.html > >>>> > >>>> Oren- > >>>> > >>>> That sounds good. Now the question is if I get two requests from > >>>> our OMS > >>>> (1 requesting Market Data and 1 order submission), and I send > >>>> them both > >>>> out > >>>> (1 through the Market Data session and 1 through the Order > >>>> Management > >>>> session), would quickfix use two 'threads' to handle both > >>>> requests OR > >>>> should > >>>> I create a separate application to handle Market Data Requests/ > >>>> Responses > >>>> that works on its own thread? > >>>> > >>>> thanks! > >>>> Azmat > >>>> > >>>> On Feb 5, 2008 11:19 AM, Oren Miller <or...@qu...> > >>>> wrote: > >>>> > >>>>> It's pretty typical to separate market data and order management > >>>>> into > >>>>> different sessions. The will probably just create a new session > >>>>> for > >>>>> you with a different set of comp ids. You will need to add this > >>>>> new > >>>>> session to your configuration file. Then you will need to > target > >>>>> your market data messages to that sessions comp ids. > >>>>> > >>>>> --oren > >>>>> > >>>>> On Feb 5, 2008, at 11:07 AM, mr azmat wrote: > >>>>> > >>>>>> Oren- > >>>>>> > >>>>>> I did speak to the representative at the brokerage firm, and > they > >>>>>> said that they needed to setup a separate connection on > their FIX > >>>>>> server for us. Someone told me that typically Market Data > >>>>>> Requests/ > >>>>>> Responses are over a separate IP. Is this true? And if so, > how > >>>>>> will quickfix handle sending multiple messages over two > different > >>>>>> connections? Is there another line in the settings file for > >>>>>> Market > >>>>>> Data connections? > >>>>>> > >>>>>> thanks! > >>>>>> Azmat > >>>>> > >>>>> > >>>> > -------------------------------------------------------------------- > >>>> ----- > >>>> This SF.net email is sponsored by: Microsoft > >>>> Defy all challenges. Microsoft(R) Visual Studio 2008. > >>>> > >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>>> _______________________________________________ > >>>> Quickfix-developers mailing list > >>>> Qui...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/quickfix-developers > >>>> > >>>> > >>>> > >>> > >>> > --------------------------------------------------------------------- > >>> ---- > >>> This SF.net email is sponsored by: Microsoft > >>> Defy all challenges. Microsoft(R) Visual Studio 2008. > >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>> _______________________________________________ > >>> Quickfix-developers mailing list > >>> Qui...@li... > >>> https://lists.sourceforge.net/lists/listinfo/quickfix-developers > >>> > >> > >> -- > >> View this message in context: http://www.nabble.com/Market-Data- > >> Request-tp15279801p15327848.html > >> Sent from the QuickFIX - Dev mailing list archive at Nabble.com. > >> > >> > >> > ---------------------------------------------------------------------- > >> --- > >> This SF.net email is sponsored by: Microsoft > >> Defy all challenges. Microsoft(R) Visual Studio 2008. > >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >> _______________________________________________ > >> Quickfix-developers mailing list > >> Qui...@li... > >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers > >> > > > > > > > ---------------------------------------------------------------------- > --- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Quickfix-developers mailing list > > Qui...@li... > > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > > > > > -- > View this message in context: http://www.nabble.com/Market-Data- > Request-tp15279801p15349812.html > Sent from the QuickFIX - Dev mailing list archive at Nabble.com. > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
From: Brian E. <azz...@ya...> - 2008-02-08 14:33:08
|
FIX sessions should not differ only by port number (FIX sessions are logical, not physical). In this case, the "easiest" solution is probably to split your code into two separate applications - one for market data and one for execution. You can then have two separate QuickFIX INI files (make sure to configure things so that they are differently named or in different directories) and also make sure that the data and log files are in different directories. Your separate applications can now each run on the CAX:ANDYSTAP session. - Brian Erst Thynk Software, Inc. ----- Original Message ---- From: Hozaifa Akber Ali <hoz...@ve...> To: qui...@li... Sent: Thursday, February 7, 2008 11:40:12 PM Subject: Re: [Quickfix-developers] Market Data Request QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html Oren, Here is the info the broker has sent for the connection where only port is different: API Access Information Market logins ------------------ IP address: 66.238.4.59 Port number: 6200 SenderCompID: ANDYSTAP (tag 49 on login) TargetCompID: CAX (tag 56 on login) password : ******** (tag 96 on login) Orders Login —————————— IP address: 66.238.4.59 Port number: 17200 SenderCompID: ANDYSTAP (tag 49 on login) TargetCompID: CAX (tag 56 on login) Password: ******** (tag 96 on login) New order Entry/Cxl: ———————————— Account : andys (tag 1 on new order) Sender SubID : 001 (tag 50 on new order) Regards Hozaifa Oren Miller wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hoazifa, > > Why do the two sessions have the same compids and connect > information. This doesn't seem right. Is this the information the > counterparty gave you? > > --oren > > On Feb 6, 2008, at 11:50 PM, Hozaifa Akber Ali wrote: > >> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ >> html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> >> Hi Azmat and Oren, >> >> I Have created this config and send to ThreadedSocketInitiator >> >> [DEFAULT] >> ConnectionType=initiator >> HeartBtInt=30 >> ReconnectInterval=1 >> FileStorePath=store >> FileLogPath=log >> StartTime=00:00:00 >> EndTime=00:00:00 >> UseDataDictionary=N >> >> [SESSION]\n" >> BeginString=FIX.4.2 >> SenderCompID=CID >> TargetCompID=CAX >> SocketConnectHost66.238.4.59 >> SocketConnectPort=6200 >> DataDictionary=spec/FIX42.xml >> >> [SESSION] >> BeginString=FIX.4.2 >> SenderCompID=CID >> TargetCompID=CAX >> SocketConnectHost=66.238.4.59 >> SocketConnectPort=17200 >> DataDictionary=spec/FIX42.xml >> >> Port 6200 is for Market Data Server and >> Port 17200 is for Order Processing Data Server >> >> When I start the initiator I connect to Market data server and setting >> object uses Default block and >> Session block number 2 with 17200 port. >> >> how do I manage the session for the market data and order processing?? >> Azmat can I have your msn id or direct email address ?? >> mine is hozaifa_99 @ hotmail . com >> >> Thanks Azmat for ur reply and forwarding me to this post. >> >> >> azmat wrote: >>> >>> QuickFIX Documentation: >>> http://www.quickfixengine.org/quickfix/doc/html/index.html >>> QuickFIX Support: http://www.quickfixengine.org/services.html >>> >>> >>> Nice! I am using the ThreadedSocketInitiator. The data from each >>> session >>> will not need to interact with one another. Basically, I am sending >>> requests (orders and market data) and then repackaging the >>> responses (FIX >>> Messages) into our own proprietary objects and passing them along >>> to our >>> internal financial subsystem. >>> >>> I think this will work! Beautiful job! >>> >>> thanks! >>> Azmat >>> >>> >>> On Feb 5, 2008 12:02 PM, Oren Miller <or...@qu...> wrote: >>> >>>> Depends on which initiator you use. The SocketInitiator will >>>> keep them >>>> both in the same thread, while the ThreadedSocketInitiator will >>>> provide a >>>> thread for each session. Whether they should be the same or >>>> different >>>> apps >>>> I guess depends on whether the session data needs to interact >>>> with each >>>> other. >>>> --oren >>>> >>>> On Feb 5, 2008, at 11:48 AM, mr azmat wrote: >>>> >>>> QuickFIX Documentation: >>>> http://www.quickfixengine.org/quickfix/doc/html/index.html >>>> QuickFIX Support: http://www.quickfixengine.org/services.html >>>> >>>> Oren- >>>> >>>> That sounds good. Now the question is if I get two requests from >>>> our OMS >>>> (1 requesting Market Data and 1 order submission), and I send >>>> them both >>>> out >>>> (1 through the Market Data session and 1 through the Order >>>> Management >>>> session), would quickfix use two 'threads' to handle both >>>> requests OR >>>> should >>>> I create a separate application to handle Market Data Requests/ >>>> Responses >>>> that works on its own thread? >>>> >>>> thanks! >>>> Azmat >>>> >>>> On Feb 5, 2008 11:19 AM, Oren Miller <or...@qu...> >>>> wrote: >>>> >>>>> It's pretty typical to separate market data and order management >>>>> into >>>>> different sessions. The will probably just create a new session >>>>> for >>>>> you with a different set of comp ids. You will need to add this >>>>> new >>>>> session to your configuration file. Then you will need to target >>>>> your market data messages to that sessions comp ids. >>>>> >>>>> --oren >>>>> >>>>> On Feb 5, 2008, at 11:07 AM, mr azmat wrote: >>>>> >>>>>> Oren- >>>>>> >>>>>> I did speak to the representative at the brokerage firm, and they >>>>>> said that they needed to setup a separate connection on their FIX >>>>>> server for us. Someone told me that typically Market Data >>>>>> Requests/ >>>>>> Responses are over a separate IP. Is this true? And if so, how >>>>>> will quickfix handle sending multiple messages over two different >>>>>> connections? Is there another line in the settings file for >>>>>> Market >>>>>> Data connections? >>>>>> >>>>>> thanks! >>>>>> Azmat >>>>> >>>>> >>>> -------------------------------------------------------------------- >>>> ----- >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>> >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> Quickfix-developers mailing list >>>> Qui...@li... >>>> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >>>> >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> ---- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Quickfix-developers mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >>> >> >> -- >> View this message in context: http://www.nabble.com/Market-Data- >> Request-tp15279801p15327848.html >> Sent from the QuickFIX - Dev mailing list archive at Nabble.com. >> >> >> ---------------------------------------------------------------------- >> --- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Quickfix-developers mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > -- View this message in context: http://www.nabble.com/Market-Data-Request-tp15279801p15349812.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
From: Hozaifa A. A. <hoz...@ve...> - 2008-02-08 05:40:14
|
Oren, Here is the info the broker has sent for the connection where only port is different: API Access Information Market logins ------------------ IP address: 66.238.4.59 Port number: 6200 SenderCompID: ANDYSTAP (tag 49 on login) TargetCompID: CAX (tag 56 on login) password : ******** (tag 96 on login) Orders Login —————————— IP address: 66.238.4.59 Port number: 17200 SenderCompID: ANDYSTAP (tag 49 on login) TargetCompID: CAX (tag 56 on login) Password: ******** (tag 96 on login) New order Entry/Cxl: ———————————— Account : andys (tag 1 on new order) Sender SubID : 001 (tag 50 on new order) Regards Hozaifa Oren Miller wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hoazifa, > > Why do the two sessions have the same compids and connect > information. This doesn't seem right. Is this the information the > counterparty gave you? > > --oren > > On Feb 6, 2008, at 11:50 PM, Hozaifa Akber Ali wrote: > >> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ >> html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> >> Hi Azmat and Oren, >> >> I Have created this config and send to ThreadedSocketInitiator >> >> [DEFAULT] >> ConnectionType=initiator >> HeartBtInt=30 >> ReconnectInterval=1 >> FileStorePath=store >> FileLogPath=log >> StartTime=00:00:00 >> EndTime=00:00:00 >> UseDataDictionary=N >> >> [SESSION]\n" >> BeginString=FIX.4.2 >> SenderCompID=CID >> TargetCompID=CAX >> SocketConnectHost66.238.4.59 >> SocketConnectPort=6200 >> DataDictionary=spec/FIX42.xml >> >> [SESSION] >> BeginString=FIX.4.2 >> SenderCompID=CID >> TargetCompID=CAX >> SocketConnectHost=66.238.4.59 >> SocketConnectPort=17200 >> DataDictionary=spec/FIX42.xml >> >> Port 6200 is for Market Data Server and >> Port 17200 is for Order Processing Data Server >> >> When I start the initiator I connect to Market data server and setting >> object uses Default block and >> Session block number 2 with 17200 port. >> >> how do I manage the session for the market data and order processing?? >> Azmat can I have your msn id or direct email address ?? >> mine is hozaifa_99 @ hotmail . com >> >> Thanks Azmat for ur reply and forwarding me to this post. >> >> >> azmat wrote: >>> >>> QuickFIX Documentation: >>> http://www.quickfixengine.org/quickfix/doc/html/index.html >>> QuickFIX Support: http://www.quickfixengine.org/services.html >>> >>> >>> Nice! I am using the ThreadedSocketInitiator. The data from each >>> session >>> will not need to interact with one another. Basically, I am sending >>> requests (orders and market data) and then repackaging the >>> responses (FIX >>> Messages) into our own proprietary objects and passing them along >>> to our >>> internal financial subsystem. >>> >>> I think this will work! Beautiful job! >>> >>> thanks! >>> Azmat >>> >>> >>> On Feb 5, 2008 12:02 PM, Oren Miller <or...@qu...> wrote: >>> >>>> Depends on which initiator you use. The SocketInitiator will >>>> keep them >>>> both in the same thread, while the ThreadedSocketInitiator will >>>> provide a >>>> thread for each session. Whether they should be the same or >>>> different >>>> apps >>>> I guess depends on whether the session data needs to interact >>>> with each >>>> other. >>>> --oren >>>> >>>> On Feb 5, 2008, at 11:48 AM, mr azmat wrote: >>>> >>>> QuickFIX Documentation: >>>> http://www.quickfixengine.org/quickfix/doc/html/index.html >>>> QuickFIX Support: http://www.quickfixengine.org/services.html >>>> >>>> Oren- >>>> >>>> That sounds good. Now the question is if I get two requests from >>>> our OMS >>>> (1 requesting Market Data and 1 order submission), and I send >>>> them both >>>> out >>>> (1 through the Market Data session and 1 through the Order >>>> Management >>>> session), would quickfix use two 'threads' to handle both >>>> requests OR >>>> should >>>> I create a separate application to handle Market Data Requests/ >>>> Responses >>>> that works on its own thread? >>>> >>>> thanks! >>>> Azmat >>>> >>>> On Feb 5, 2008 11:19 AM, Oren Miller <or...@qu...> >>>> wrote: >>>> >>>>> It's pretty typical to separate market data and order management >>>>> into >>>>> different sessions. The will probably just create a new session >>>>> for >>>>> you with a different set of comp ids. You will need to add this >>>>> new >>>>> session to your configuration file. Then you will need to target >>>>> your market data messages to that sessions comp ids. >>>>> >>>>> --oren >>>>> >>>>> On Feb 5, 2008, at 11:07 AM, mr azmat wrote: >>>>> >>>>>> Oren- >>>>>> >>>>>> I did speak to the representative at the brokerage firm, and they >>>>>> said that they needed to setup a separate connection on their FIX >>>>>> server for us. Someone told me that typically Market Data >>>>>> Requests/ >>>>>> Responses are over a separate IP. Is this true? And if so, how >>>>>> will quickfix handle sending multiple messages over two different >>>>>> connections? Is there another line in the settings file for >>>>>> Market >>>>>> Data connections? >>>>>> >>>>>> thanks! >>>>>> Azmat >>>>> >>>>> >>>> -------------------------------------------------------------------- >>>> ----- >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>> >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> Quickfix-developers mailing list >>>> Qui...@li... >>>> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >>>> >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> ---- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Quickfix-developers mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >>> >> >> -- >> View this message in context: http://www.nabble.com/Market-Data- >> Request-tp15279801p15327848.html >> Sent from the QuickFIX - Dev mailing list archive at Nabble.com. >> >> >> ---------------------------------------------------------------------- >> --- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Quickfix-developers mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > -- View this message in context: http://www.nabble.com/Market-Data-Request-tp15279801p15349812.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |
From: Oren M. <or...@qu...> - 2008-02-07 16:17:09
|
Hoazifa, Why do the two sessions have the same compids and connect information. This doesn't seem right. Is this the information the counterparty gave you? --oren On Feb 6, 2008, at 11:50 PM, Hozaifa Akber Ali wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ > html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hi Azmat and Oren, > > I Have created this config and send to ThreadedSocketInitiator > > [DEFAULT] > ConnectionType=initiator > HeartBtInt=30 > ReconnectInterval=1 > FileStorePath=store > FileLogPath=log > StartTime=00:00:00 > EndTime=00:00:00 > UseDataDictionary=N > > [SESSION]\n" > BeginString=FIX.4.2 > SenderCompID=CID > TargetCompID=CAX > SocketConnectHost66.238.4.59 > SocketConnectPort=6200 > DataDictionary=spec/FIX42.xml > > [SESSION] > BeginString=FIX.4.2 > SenderCompID=CID > TargetCompID=CAX > SocketConnectHost=66.238.4.59 > SocketConnectPort=17200 > DataDictionary=spec/FIX42.xml > > Port 6200 is for Market Data Server and > Port 17200 is for Order Processing Data Server > > When I start the initiator I connect to Market data server and setting > object uses Default block and > Session block number 2 with 17200 port. > > how do I manage the session for the market data and order processing?? > Azmat can I have your msn id or direct email address ?? > mine is hozaifa_99 @ hotmail . com > > Thanks Azmat for ur reply and forwarding me to this post. > > > azmat wrote: >> >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> >> Nice! I am using the ThreadedSocketInitiator. The data from each >> session >> will not need to interact with one another. Basically, I am sending >> requests (orders and market data) and then repackaging the >> responses (FIX >> Messages) into our own proprietary objects and passing them along >> to our >> internal financial subsystem. >> >> I think this will work! Beautiful job! >> >> thanks! >> Azmat >> >> >> On Feb 5, 2008 12:02 PM, Oren Miller <or...@qu...> wrote: >> >>> Depends on which initiator you use. The SocketInitiator will >>> keep them >>> both in the same thread, while the ThreadedSocketInitiator will >>> provide a >>> thread for each session. Whether they should be the same or >>> different >>> apps >>> I guess depends on whether the session data needs to interact >>> with each >>> other. >>> --oren >>> >>> On Feb 5, 2008, at 11:48 AM, mr azmat wrote: >>> >>> QuickFIX Documentation: >>> http://www.quickfixengine.org/quickfix/doc/html/index.html >>> QuickFIX Support: http://www.quickfixengine.org/services.html >>> >>> Oren- >>> >>> That sounds good. Now the question is if I get two requests from >>> our OMS >>> (1 requesting Market Data and 1 order submission), and I send >>> them both >>> out >>> (1 through the Market Data session and 1 through the Order >>> Management >>> session), would quickfix use two 'threads' to handle both >>> requests OR >>> should >>> I create a separate application to handle Market Data Requests/ >>> Responses >>> that works on its own thread? >>> >>> thanks! >>> Azmat >>> >>> On Feb 5, 2008 11:19 AM, Oren Miller <or...@qu...> >>> wrote: >>> >>>> It's pretty typical to separate market data and order management >>>> into >>>> different sessions. The will probably just create a new session >>>> for >>>> you with a different set of comp ids. You will need to add this >>>> new >>>> session to your configuration file. Then you will need to target >>>> your market data messages to that sessions comp ids. >>>> >>>> --oren >>>> >>>> On Feb 5, 2008, at 11:07 AM, mr azmat wrote: >>>> >>>>> Oren- >>>>> >>>>> I did speak to the representative at the brokerage firm, and they >>>>> said that they needed to setup a separate connection on their FIX >>>>> server for us. Someone told me that typically Market Data >>>>> Requests/ >>>>> Responses are over a separate IP. Is this true? And if so, how >>>>> will quickfix handle sending multiple messages over two different >>>>> connections? Is there another line in the settings file for >>>>> Market >>>>> Data connections? >>>>> >>>>> thanks! >>>>> Azmat >>>> >>>> >>> -------------------------------------------------------------------- >>> ----- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Quickfix-developers mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >>> >>> >>> >> >> --------------------------------------------------------------------- >> ---- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Quickfix-developers mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >> > > -- > View this message in context: http://www.nabble.com/Market-Data- > Request-tp15279801p15327848.html > Sent from the QuickFIX - Dev mailing list archive at Nabble.com. > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: Hozaifa A. A. <hoz...@ve...> - 2008-02-07 05:50:43
|
Hi Azmat and Oren, I Have created this config and send to ThreadedSocketInitiator [DEFAULT] ConnectionType=initiator HeartBtInt=30 ReconnectInterval=1 FileStorePath=store FileLogPath=log StartTime=00:00:00 EndTime=00:00:00 UseDataDictionary=N [SESSION]\n" BeginString=FIX.4.2 SenderCompID=CID TargetCompID=CAX SocketConnectHost66.238.4.59 SocketConnectPort=6200 DataDictionary=spec/FIX42.xml [SESSION] BeginString=FIX.4.2 SenderCompID=CID TargetCompID=CAX SocketConnectHost=66.238.4.59 SocketConnectPort=17200 DataDictionary=spec/FIX42.xml Port 6200 is for Market Data Server and Port 17200 is for Order Processing Data Server When I start the initiator I connect to Market data server and setting object uses Default block and Session block number 2 with 17200 port. how do I manage the session for the market data and order processing?? Azmat can I have your msn id or direct email address ?? mine is hozaifa_99 @ hotmail . com Thanks Azmat for ur reply and forwarding me to this post. azmat wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Nice! I am using the ThreadedSocketInitiator. The data from each session > will not need to interact with one another. Basically, I am sending > requests (orders and market data) and then repackaging the responses (FIX > Messages) into our own proprietary objects and passing them along to our > internal financial subsystem. > > I think this will work! Beautiful job! > > thanks! > Azmat > > > On Feb 5, 2008 12:02 PM, Oren Miller <or...@qu...> wrote: > >> Depends on which initiator you use. The SocketInitiator will keep them >> both in the same thread, while the ThreadedSocketInitiator will provide a >> thread for each session. Whether they should be the same or different >> apps >> I guess depends on whether the session data needs to interact with each >> other. >> --oren >> >> On Feb 5, 2008, at 11:48 AM, mr azmat wrote: >> >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> Oren- >> >> That sounds good. Now the question is if I get two requests from our OMS >> (1 requesting Market Data and 1 order submission), and I send them both >> out >> (1 through the Market Data session and 1 through the Order Management >> session), would quickfix use two 'threads' to handle both requests OR >> should >> I create a separate application to handle Market Data Requests/Responses >> that works on its own thread? >> >> thanks! >> Azmat >> >> On Feb 5, 2008 11:19 AM, Oren Miller <or...@qu...> wrote: >> >> > It's pretty typical to separate market data and order management into >> > different sessions. The will probably just create a new session for >> > you with a different set of comp ids. You will need to add this new >> > session to your configuration file. Then you will need to target >> > your market data messages to that sessions comp ids. >> > >> > --oren >> > >> > On Feb 5, 2008, at 11:07 AM, mr azmat wrote: >> > >> > > Oren- >> > > >> > > I did speak to the representative at the brokerage firm, and they >> > > said that they needed to setup a separate connection on their FIX >> > > server for us. Someone told me that typically Market Data Requests/ >> > > Responses are over a separate IP. Is this true? And if so, how >> > > will quickfix handle sending multiple messages over two different >> > > connections? Is there another line in the settings file for Market >> > > Data connections? >> > > >> > > thanks! >> > > Azmat >> > >> > >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ >> Quickfix-developers mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >> >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > -- View this message in context: http://www.nabble.com/Market-Data-Request-tp15279801p15327848.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |
From: azmat <azm...@gm...> - 2008-02-06 21:48:44
|
Hozaifa, >From what I understand this is what you need to do. Basically you'll need to create two sessions (based off of the config files). These connections will have their own set of COMP IDs. When you send a market data request, you'll need to send it via the session that is attributed to the market data connection information. Oren helped me understand it in my post below. http://www.nabble.com/Market-Data-Request-tt15279801.html Hope that helps! Azmat On Feb 6, 2008 3:55 AM, Hozaifa Akber Ali <hoz...@ve...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > I want to know that how can i manage sessions and connect to Market data > server on one port and order server on other port. Ho do i create > configuration and handle my application to get market data and also have > order processing to it. > > > > Dale Wilson wrote: > > > > Nick Volpe wrote: > >> > >> Can anyone tell me pros/cons of using a ThreadedSocketInitiator versus > >> a Socket Initiator? I c an't seem to find much in the documentation > >> or the mailing list archives. Any help would be greatly appreciated. > > If you are connecting to a single counterparty (for example a trader > > connecting to one exchange), use SocketInitiator. > > > > If you are connecting to more than one exchange then > > ThreadedSocketInitiator might make your program more responsive. With > > SocketInitiator every incoming FIX message has to be completely > > processed -- including any application level message processing which > > might take a long time -- before any other connections are serviced. > > With ThreadedSocketInitiator messages from separate sources can be > > processed in parallel. > > > > In *either* case you must write thread-safe code because incoming > > messages are processed on a separate thread (or threads) from outgoing > > messages (i.e if your main thread generates an order, the execution > > report(s) for that order will arrive courtesy of a different thread so > > if you have a common "Order Management" component in your application it > > needs to be thread-safe.) > > > > HTH, > > > > Dale > >> > >> Thanks. > >> Nik > > > > > > > > -- > View this message in context: > http://www.nabble.com/ThreadedSocketInitiator-vs-SocketInitiator-tp4300945p15306348.html > Sent from the QuickFIX - Dev mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: Hozaifa A. A. <hoz...@ve...> - 2008-02-06 09:55:25
|
I want to know that how can i manage sessions and connect to Market data server on one port and order server on other port. Ho do i create configuration and handle my application to get market data and also have order processing to it. Dale Wilson wrote: > > Nick Volpe wrote: >> >> Can anyone tell me pros/cons of using a ThreadedSocketInitiator versus >> a Socket Initiator? I c an't seem to find much in the documentation >> or the mailing list archives. Any help would be greatly appreciated. > If you are connecting to a single counterparty (for example a trader > connecting to one exchange), use SocketInitiator. > > If you are connecting to more than one exchange then > ThreadedSocketInitiator might make your program more responsive. With > SocketInitiator every incoming FIX message has to be completely > processed -- including any application level message processing which > might take a long time -- before any other connections are serviced. > With ThreadedSocketInitiator messages from separate sources can be > processed in parallel. > > In *either* case you must write thread-safe code because incoming > messages are processed on a separate thread (or threads) from outgoing > messages (i.e if your main thread generates an order, the execution > report(s) for that order will arrive courtesy of a different thread so > if you have a common "Order Management" component in your application it > needs to be thread-safe.) > > HTH, > > Dale >> >> Thanks. >> Nik > > > -- View this message in context: http://www.nabble.com/ThreadedSocketInitiator-vs-SocketInitiator-tp4300945p15306348.html Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |