Several Financial Securities

Alice sends a message to Bob drawing his attention to securities she has buyers for at the moment.

Submission at the API

Alice submits a MessageML template and an EntityJSON data object.

MessageML

MessageML
<messageML>
	Hey Bob, today I have buyers for: 
	<div class="entity" data-entity-id="123">
	<b>Apple</b>
	</div>,
	<div class="entity" data-entity-id="456">
	<b>Microsoft</b>
	</div>,
	<div class="entity" data-entity-id="789">
	<b>IBM</b>
	</div>
	and I am selling 
	<div class="entity" data-entity-id="321">
	<b>Apple June 16 Puts</b>
	</div>
</messageML>

EntityJSON

EntityJSON
{
  "123": {
    "type": "org.symphonyoss.fin.security",
    "version": "0.1",
    "id": [
      {
        "type": "org.symphonyoss.fin.security.id.isin",
        "value": "US0378331005"
      },
      {
        "type": "org.symphonyoss.fin.security.id.cusip",
        "value": "037833100"
      },
      {
        "type": "org.symphonyoss.fin.security.id.openfigi",
        "value": "BBG000B9XRY4"
      }
    ]
  },
  "456": {
    "type": "org.symphonyoss.fin.security",
    "version": "0.1",
    "id": [
      {
        "type": "org.symphonyoss.fin.security.id.isin",
        "value": "US5949181045"
      },
      {
        "type": "org.symphonyoss.fin.security.id.cusip",
        "value": "594918104"
      },
      {
        "type": "org.symphonyoss.fin.security.id.openfigi",
        "value": "BBG000BPH459"
      }
    ]
  },
  "789": {
    "type": "org.symphonyoss.fin.security",
    "version": "0.1",
    "id": [
      {
        "type": "org.symphonyoss.fin.security.id.isin",
        "value": "US4592001014"
      },
      {
        "type": "org.symphonyoss.fin.security.id.cusip",
        "value": "459200101"
      },
      {
        "type": "org.symphonyoss.fin.security.id.openfigi",
        "value": "BBG000BLNNH6"
      }
    ]
  },
  "321": {
    "type": "org.symphonyoss.fin.security",
    "version": "0.1",
    "id": [
      {
        "type": "org.symphonyoss.fin.security.id.openfigi",
        "value": "BBG00CSTXNX6"
      }
    ]
  }
}


			

Note that the order of the entries in the array is significant, the first element is the preferred identifier (as determined by the message originator). This was specified by the priority attribute in EntityML.

Need help? Email help@finos.org we'll get back to you.

Content on this page is licensed under the CC BY 4.0 license.
Code on this page is licensed under the Apache 2.0 license.