Re: Adding Blank data representation to MAMA API data types
Phelan, Nigel
Hi Keith – what we normally do here is use the relevant getters/setters on the Price and DateTime fields (getIsValidPrice, setIsValidPrice, HasDate, HasTime). We tell people to render blanks for invalid prices and for DateTimes with no date or time part. I believe the tick42rmds adaptor for TREP maps these correctly from the native TREP RWF encoding. Do you have counter examples?
Nigel
Nigel Phelan | Corporate & Investment Bank | Market Data Services | J.P. Morgan
From: Openmama-dev@... [mailto:Openmama-dev@...]
On Behalf Of Keith Rudd
Sent: 09 December 2019 16:49 To: 'openmama-dev@...' <openmama-dev@...> Subject: [Openmama-dev] Adding Blank data representation to MAMA API data types
Certain other market data platforms / APIs (well, TREP) support the concept of ‘blank’ field values. The price and time field types actually have special blank data representations defined. This is used in the context where a publisher wants to include a field in a message but with no assigned value, possibly for example to indicate that a price that was previously offered and valid is now no longer available. (Granted there are other ways to do this, with another price status field etc. but we do see this method used sometimes and with no other indicator of validity)
This introduces a conundrum when translating such values to the MAMA API as prices, times, etc. have no such equivalent blank representation in MAMA.
So, my proposal is that we might extend MAMA field data types to include such ‘blank’ values. This would need to be done while preserving backwards-compatibility.
A discussion point for now - Is this a feature which others see value in? - Any feasible suggestions for how it might be achieved and what values would be used for ‘blank’ ?
Regards, Keith
This message is confidential and subject to terms at: https://www.jpmorgan.com/emaildisclaimer including on confidential, privileged or legal entity information, viruses and monitoring of electronic messages. If you are not the intended recipient, please delete this message and notify the sender immediately. Any unauthorized use is strictly prohibited. |
|