{{Quickfixn}} get prices
Walter Robert Ditzler
ditwal001 at gmail.com
Fri Mar 8 13:45:12 PST 2013
hey grant,
i found some errors in the event log. Do you think that with the date is the
problem?
Thanks, Walter.
PS: I use hotspotfx, any experience with them?
-----Original Message-----
From: quickfixn-bounces at lists.quickfixn.com
[mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Grant Birchmeier
Sent: Freitag, 8. März 2013 22:09
To: Mailing list for QuickFIX/n
Subject: Re: {{Quickfixn}} get prices
That OnMessage method looks good, so I'm thinking that the message is being
rejected at the transport-layer level.
Did you pass a FileLogFactory into your Acceptor or Initiator's constructor?
I think the message or event logs would better explain what is happening.
On Fri, Mar 8, 2013 at 3:05 PM, Walter Robert Ditzler <ditwal001 at gmail.com>
wrote:
> Grant,
>
> i did, those 2 links are open all day long. As far as I understood,
> the MessageCracker is responsible that the application reaches the
"OnMessage".
> I tried many possibilities.
>
> Your link
> https://github.com/connamara/quickfixn/tree/master/Examples/Executor
> shows how to pull a order but not how to get prices or 1 price in my
> case (depth = 1).
>
> Also my code never runs into the try section of the method below.
>
> public void OnMessage(QuickFix.FIX42.MarketDataSnapshotFullRefresh
> message, QuickFix.SessionID sessionID)
> {
> try
> {
> Trace.WriteLine("OnMessage\n\n" +
> message.ToString(),"abbeoo");
>
> Console.Write(message.ToString());
> }
> catch(System.Exception ex)
> {
> Trace.WriteLine("OnMessage error\n\n"
> + ex.ToString(),"abbeoo");
> }
> finally
> {
>
> }
> }
>
> What I miss is a "howto" to access simply field from a incoming fix
stream.
> Or I just dont see it, cause I remained too long on the pc :-(
>
> Thanks a lot,
>
> walter
>
> -----Original Message-----
> From: quickfixn-bounces at lists.quickfixn.com
> [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Grant
> Birchmeier
> Sent: Freitag, 8. März 2013 21:29
> To: Mailing list for QuickFIX/n
> Subject: Re: {{Quickfixn}} get prices
>
> Have you looked at the example programs? I think those would be
> helpful to you. Have a look at the Executor:
> https://github.com/connamara/quickfixn/tree/master/Examples/Executor
>
> Also, read the tutorial if you haven't yet. This page is especially
> relevant.
> http://quickfixn.org/tutorial/receiving-messages
>
> -Grant
>
> On Fri, Mar 8, 2013 at 2:22 PM, Walter Robert Ditzler
> <ditwal001 at gmail.com>
> wrote:
>> Hi again there,
>>
>> i still didnt get the whole mechanism oft he quickfix/n. I have a
>> message object coming from the FromApp event.
>>
>> I do
>>
>> ***
>> if(message.Header.GetString(Tags.MsgType).Equals(MsgType.MARKET_DATA_
>> S
>> NAPSHO
>> T_FULL_REFRESH))
>> {
>> Console.WriteLine(message.GetDecimal(Tags.BidPx).ToString());
>> }
>> ***
>>
>> I just want to extract the prices, but I don't get any. From my
>> tcpdump I see prices coming in. when I set a break point into the
>> "if", I see it reaches there.
>>
>> What do I do wrong here?
>>
>> Thanks a lot for help,
>>
>> Walter.
>>
>>
>>
>> _______________________________________________
>> Quickfixn mailing list
>> Quickfixn at lists.quickfixn.com
>> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>
>
> --
> Grant Birchmeier
> Connamara Systems, LLC
> Made-To-Measure Trading Solutions.
> Exactly what you need. No more. No less.
> http://connamara.com
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
--
Grant Birchmeier
Connamara Systems, LLC
Made-To-Measure Trading Solutions.
Exactly what you need. No more. No less.
http://connamara.com
_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: messages.current.log
Type: application/octet-stream
Size: 1499 bytes
Desc: not available
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20130308/677de6f2/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: event.current.log
Type: application/octet-stream
Size: 3357 bytes
Desc: not available
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20130308/677de6f2/attachment-0005.obj>
More information about the Quickfixn
mailing list