fix-antenna-net-core icon indicating copy to clipboard operation
fix-antenna-net-core copied to clipboard

Datetime values parser

Open jirisacha opened this issue 2 years ago • 6 comments

I have a question about parsing datetime values, specifically year values.

In several places in the code, validation is used against the hard coded value 1582, which is the beginning of the Gregorian calendar. But according to the FIX specification, any value between 0000 and 9999 should be valid for the year. Moreover, particular value 1582 has no practical meaning for today's trading platforms :-)

Is this a bug or is it intentional?

There are trading parties (KBC) that sometimes send 0000 as the year and parsing of such messages throws exception.

jirisacha avatar Oct 20 '22 11:10 jirisacha