Re: RFC for Extended MAMA Date Time
Returning an error sounds fine to me.
From: Frank Quinn [mailto:fquinn@...]
Sent: 14 December 2016 09:24
To: Tom Doust <tom.doust@...>; Alpert, Reed <reed.alpert@...>; 'Openmama-dev@...' <Openmama-dev@...>
Subject: RE: RFC for Extended MAMA Date Time
Good question… the approach we had planned on taking was to allow accessors to be called and return an error if an extended value was requested via a function which doesn’t support extended values.
An argument could certainly be made to implement what you’re talking about and in terms of code, it would be the easiest thing in the world to add, but I think (after some deliberation) we should avoid it because:
1. It makes the application aware of the concept of “Extended” values, which I expect the application developer won’t want to have to consider independently
2. Whether it’s extended or not is usually irrelevant until you try to read or write to it using certain accessors in which case we have a mechanism already in there in returning an error code (which applications should already be checking)
3. It would mean introducing a method which would immediately get deprecated in MAMA 7 (as we will revisit the interface at that point to make all interfaces support extended data types)
I also have one eye on trying to steer anyone who is depending on extended data types to actually move exclusively towards methods which support extended values and use POSIX mechanisms rather than have conditional statements where they need to maintain two blocks of code – one for extended and one for the old non-extended.
One question, (and I haven’t fully thought this through), is there any need to be able to determine at runtime, given a mamaDateTime object, whether it contains an extended value?
This looks good for JPMChase, we will be able to support our securities before 1970 and far into the future.
I have just opened up a new RFC to cover the upcoming Extended MAMA Date Time functionality. You can find it listed here:
Also note that in the interest of making this process completely transparent, I have also created a process document outlining how we review RFCs and guidelines on how to create them going forward:
Pay particular attention to the most constructive ways to provide feedback: https://openmama.github.io/openmama_rfc_process.html#how-to-provide-rfc-feedback
As per our process, we will leave this RFC open for a period of 2 weeks, after which point if there are no major concerns, the RFC design will be considered approved and work can begin.
Principal Engineer, Europe
O. +44 289 568 0209 x3592
Adelaide Exchange Building, 2nd Floor, 24-26 Adelaide Street, Belfast, BT2 8GD
velatradingtech.com | @vela_tt
This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates (collectively, "JPMC"). This transmission may contain information that is proprietary, privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMC for any loss or damage arising in any way from its use. Please note that any electronic communication that is conducted within or through JPMC's systems is subject to interception, monitoring, review, retention and external production in accordance with JPMC's policy and local laws, rules and regulations; may be stored or otherwise processed in countries other than the country in which you are located; and will be treated in accordance with JPMC policies and applicable laws and regulations. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to European legal entities.