{{Quickfixn}} FW: FW: market data subscription
Walter Robert Ditzler
ditwal001 at gmail.com
Mon Mar 18 09:18:09 PDT 2013
Ervin,
i can confirm u, i use 1.4!
thanks walter
From: quickfixn-bounces at lists.quickfixn.com
[mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Ervin MARGUC
Sent: Montag, 18. März 2013 13:43
To: 'Mailing list for QuickFIX/n'
Subject: Re: {{Quickfixn}} FW: FW: market data subscription
Hi
Sorry but you are mistaken, you are not using v1.4.0, I have just check
sources on GitHub and downloaded version from web page with UnitTest and
test shows no failure for your fix message that you have send in logs
Please check again!
You can also download sources and add new UnitTest for your case:
[Test]
public void DateOnlyTimeOnlyConvertProblem2()
{
// issue 135
var dd = new QuickFix.DataDictionary.DataDictionary();
dd.Load("../../../spec/fix/FIX42.xml");
string[] msgFields = { "8=FIX.4.2", "9=153", "35=W",
"49=HSFX-FIX-BRIDGE", "56=DATA_FIX_FRONTIZO", "34=571674",
"52=20130315-20:55:02.419", "55=EUR/USD", "268=1", "269=2",
"270=1.30763", "271=0", "272=20130315",
"273=16:55:01", "274=2", "10=152"
};
string msgStr = String.Join(Message.SOH, msgFields) +
Message.SOH;
QuickFix.FIX42.MarketDataSnapshotFullRefresh msg = new
QuickFix.FIX42.MarketDataSnapshotFullRefresh();
msg.FromString(msgStr, true, dd, dd, _defaultMsgFactory);
QuickFix.FIX42.MarketDataIncrementalRefresh.NoMDEntriesGroup
gentry1 =
(QuickFix.FIX42.MarketDataIncrementalRefresh.NoMDEntriesGroup)msg.GetGroup(1
, new QuickFix.FIX42.MarketDataIncrementalRefresh.NoMDEntriesGroup());
Assert.AreEqual(new DateTime(2013, 03, 15),
gentry1.MDEntryDate.getValue());
Assert.AreEqual(new DateTime(2013, 03, 15, 16, 55,
01).TimeOfDay, gentry1.MDEntryTime.getValue().TimeOfDay);
Assert.AreEqual(new DateTime(2013, 03, 15, 16, 55, 01),
gentry1.MDEntryDate.getValue() + gentry1.MDEntryTime.getValue().TimeOfDay);
}
best regards
Ervin MARGUC
<http://www.enteralpha.com/>
From: quickfixn-bounces at lists.quickfixn.com
<mailto:quickfixn-bounces at lists.quickfixn.com>
[mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Walter Robert
Ditzler
Sent: Monday, March 18, 2013 10:53 AM
To: 'Mailing list for QuickFIX/n'
Subject: Re: {{Quickfixn}} FW: FW: market data subscription
Mike,
thanks for information. Just to let u know i work already with version
1.4! that means that bug still exists :(
I will change the xml file so.
Thanks,
Walter.
From: quickfixn-bounces at lists.quickfixn.com
<mailto:quickfixn-bounces at lists.quickfixn.com>
[mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Mike Gatny
Sent: Montag, 18. März 2013 02:20
To: Mailing list for QuickFIX/n
Subject: Re: {{Quickfixn}} FW: FW: market data subscription
This error from your logs:
"Could not convert string (20130315) to DateTime: String was not recognized
as a valid DateTime."
... is a bug (#135) that should be fixed in v1.4 -- if possible, please
download that version and see if it resolves your issue.
If that is not possible, here is a workaround. In your data dict xml,
change this:
<field number="272" name="MDEntryDate" type="UTCDATE"/>
To this:
<field number="272" name="MDEntryDate" type="STRING"/>
--
Mike Gatny
Connamara Systems, LLC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20130318/9b463636/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4105 bytes
Desc: not available
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20130318/9b463636/attachment-0002.png>
More information about the Quickfixn
mailing list