Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Code Block
<entity type=”org.symphonyoss.fin.security.price”/>
	<entity type=”org.symphonyoss.fin.security”/>
        <attribute name=”id” type=”org.symphonyoss.fin.security.id.isin” priority=0 value=”I12345””US0378331005”/>
        <attribute name=”id” type=”org.symphonyoss.fin.security.id.cusip” priority=1 value=”12345””037833100”/>
	</entity>
	<entity type=”org.symphonyoss.fin.security”/>
		<attribute name=”id” type=”org.symphonyoss.fin.security.id.cusip” priority=1 value=”987654””459200-10-1”/>
        <attribute name=”id” type=”org.symphonyoss.fin.security.id.openfigi” priority=2 value=”O987654””BBG000B9XRY4”/>
	</entity>
</entity>

 

MUST be interpreted by Receiving User Agents as if it was

 

Code Block
<entity type=”org.symphonyoss.fin.security.price”/>
	<entity type=”org.symphonyoss.fin.security”/>
		<attribute name=”id” type=”org.symphonyoss.fin.security.id.isin” priority=0 value=”I12345””US0378331005”/>
        <attribute name=”id” type=”org.symphonyoss.fin.security.id.cusip” priority=1 value=”12345””037833100”/>
        <attribute name=”id” type=”org.symphonyoss.fin.security.id.openfigi” priority=2 value=”O987654””BBG000B9XRY4”/>
	</entity>
</entity>

In this example none of the entities or attributes is named, so their names default to their type identifiers. The second sub-entity which has the same name as the first is therefore merged with it. This means that there are now two attributes with the type ID org.symphonyoss.fin.security.id.cusip and the second (and any subsequent) occurrence is ignored.

...

The lack of globally recognized identifiers for some entities such as financial securities, and the existence of multiple widely understood identifiers for the same entity (such as ISIN, CUSIP and OpenFIGI) means that it is necessary to be able to express multiple identifiers for the same entity. The intention is that in cases where more than one identifier is given that the id values stated are equivalent and that they refer to the same entity. It would be an error, for example, to specify an entity with a CUSIP for IBM Apple and an ISIN for Oracle.

Where multiple well known identifiers exist for a particular Entity type, the Entity format definition SHOULD permits the presence of multiple attributes with the same name to hold the potentially multiple identifiers for the same Entity.

...

Type ID

Description

org.symphonyoss.number.byte

An 8 bit unsigned integer, having the semantics of a Java byte, represented as a string of decimal digits.

org.symphonyoss.number.short

A 16 bit signed integer, having the semantics of a Java short, represented as a string of decimal digits.

org.symphonyoss.number.int

A 32 bit signed integer, having the semantics of a Java int, represented as a string of decimal digits.

org.symphonyoss.number.long

A 64 bit signed integer, having the semantics of a Java long, represented as a string of decimal digits.

org.symphonyoss.number.double

A 64 bit signed floating point number, having the semantics of a Java double, represented as a string of decimal digits optionally with a single decimal point.

org.symphonyoss.type.string

A string value.

org.symphonyoss.time.millis

A date/time value specified as a 64 bit integer value, represented as a string of decimal digits, indicating a time in milliseconds since Jan 1st 1970 with the semantics of a Java Date.

org.symphonyoss.fin.security.id.isin

An International Securities Identification Number (see https://en.wikipedia.org/wiki/International_Securities_Identification_Number)

org.symphonyoss.fin.security.id.cusip

A CUSIP (see https://en.wikipedia.org/wiki/CUSIP)

org.symphonyoss.fin.security.id.openfigi

An OpenFIGI identifier (see https://en.wikipedia.org/wiki/Financial_Instrument_Global_Identifier)

org.symphonyoss.fin.exchange.id.micAn exchange identifier

A Market Identifier Code (see http://www.iso15022.org/MIC/homepageMIC.htm)

org.symphonyoss.fin.exchange.id.ticker

An exchange identifier

org.symphonyoss.fin.ccy

A 3 letter currency identifier as defined in TBD

org.symphonyoss.fin.ccypair

A 6 letter currency pair identifier as defined in TBD

...

 

Code Block
<entity type=”org.symphonyoss.fin.security”/>
       <attribute name=”id” type=”org.symphonyoss.fin.security.id.isin” priority=0 value=”I12345””US0378331005”/>
       <attribute name=”id” type=”org.symphonyoss.fin.security.id.cusip” priority=1 value=”12345””037833100”/>
       <attribute name=”id” type=”org.symphonyoss.fin.security.id.openfigi” priority=2 value=”O987654””BBG000B9XRY4”/>
</entity>

 

 

 

 

Price Source – org.symphonyoss.fin.price.source

...

 

Code Block
<entity type=”org.symphonyoss.fin.security.price.history”/>
	<entity type=”org.symphonyoss.fin.security”/>
		<attribute name=”id” type=”org.symphonyoss.fin.security.id.isin” priority=0 value=”I12345””US0378331005”/>
        <attribute name=”id” type=”org.symphonyoss.fin.security.id.cusip” priority=1 value=”12345””037833100”/>
        <attribute name=”id” type=”org.symphonyoss.fin.security.id.openfigi” priority=2 value=”O987654””BBG000B9XRY4”/>
		<presentationML>IBM<presentationML>Apple Common Stock</presentationML>
	</entity>
	<entity format=”org.symphonyoss.fin.price.source”/>
       <attribute name=”id” format=”org.symphonyoss.fin.exchange.id.mic” priority=0 value=”45”/>
       <attribute name=”id” format=”org.symphonyoss.fin.exchange.id.ticker” priority=1 value=”NYSE”/>
       <presentationML><b>NYSE</b></presentationML>
	</entity>
	<entity name=”time” format=”org.symphonyoss.time.range”/>
       <attribute name=”from” format=”org.symphonyoss.time.millis” value=45464646/>
       <attribute name=”to” format=”org.symphonyoss.time.millis” value=45464996/>
	</entity>
	<entity format=”org.symphonyoss.time.moment”/>
       <attribute name=”at” format=”org.symphonyoss.time.millis” value=45464996/>
       <attribute name=”annotation” format=”org.symphonyoss.type.string” value=”Looks like it has turned here”/>
	</entity>
	<presentationML>
       <b>NYSE:IBM<Apple</b> from Jan 5 2016 to Mar 29 2016; at Mar 27 2016 ”Looks like it has turned here”
	</presentationML>
</entity>

 

...

 

Code Block
<entity type=”org.symphonyoss.fin.security.price.quote”/>
	<entity type=”org.symphonyoss.fin.security”/>
		<attribute name=”id” type=”org.symphonyoss.fin.security.id.isin” priority=0 value=”I12345””US0378331005”/>
        <attribute name=”id” type=”org.symphonyoss.fin.security.id.cusip” priority=1 value=”12345””037833100”/>
        <attribute name=”id” type=”org.symphonyoss.fin.security.id.openfigi” priority=2 value=”O987654””BBG000B9XRY4”/>
		<presentationML>IBM<presentationML>Apple Common Stock</presentationML>
	</entity>
	<entity format=”org.symphonyoss.fin.price.source”/>
       <attribute name=”id” format=”org.symphonyoss.fin.exchange.id.mic” priority=0 value=”45”/>
       <attribute name=”id” format=”org.symphonyoss.fin.exchange.id.ticker” priority=1 value=”NYSE”/>
       <presentationML><b>NYSE</b></presentationML>
	</entity>
	<entity format=”org.symphonyoss.time.moment”/>
       <attribute name=”at” format=”org.symphonyoss.time.millis” value=45464996/>
       <attribute name=”annotation” format=”org.symphonyoss.type.string” value=”Looks like a value buying opportunity”/>
	</entity>
	<attribute format=”org.symphonyoss.fin.ccy” value=”USD”/>
	<attribute name=”amount” format=”org.symphonyoss.number.double” value=”50.22123”/>
	<attribute name=”validUntil” format=”org.symphonyoss.time.millis” value=45469996/>
	<attribute name=”quantityMin” format=”org.symphonyoss.number.int” value=”10000”/>
	<attribute name=”quantityMax” format=”org.symphonyoss.number.int” value=”99999”/>
      
	<presentationML>
       <b>NYSE:IBM<Apple</b> at Mar 27 2016; $152.07 ”Looks like a value buying opportunity”
       valid until Mar 27 2016 17:00
	</presentationML>
</entity>

 

...