Tags and mentions
Last updated
Last updated
MessageML supports the following tags to embed additional information into messages:
Here after you can find an example of a message sent by a bot and containing these tags specific to Symphony as well as the structure of the messageML sent:
Below several examples of financial instruments, using different types of identifiers and filters.
When identifiers and filters are not sufficient to identify a unique match, or when an instrument is not found in our reference database, an error is returned, except if a fallback-ticker
is specified.
Tag
Description
Optional attributes
<mention uid="123456789"/>
Insert a mention for the user whose Symphony userid is 123456789
.
<mention email="user@music.org"/>
Insert a mention for the user whose email address is user@music.org
.
• strict
=true
, the API will throw an error if no user of that email address exists. (default)
• strict
=false
. Message is accepted even if the user cannot be resolved.
<hash tag="label"/>
Insert "label" as a free-text hashtag.
<cash tag="ticker"/>
Insert "ticker" as a free-text cashtag. Important: when sending numeric cashtags as signals, add a *
after the $ sign, for example, $_122450. <messageML>
`<cash tag="$_122450"/> `\
Note: Cashtags are deprecated. Please use the <tag /> notation for financial instruments.
<tag />
Insert a financial instrument (enhanced tag) in your message, coming from our reference database.
The following instruments are supported: Stocks, ETFs, Indices and currency pairs.
To identify an instrument, you'll need to provide at least one identifier (e.g. an ISIN), and optionally some filters if your identifier is not specific enough.
You can also specify a fallback-ticker
that will act as a free-text tag (workaround) if we are not able to find the instrument referenced.
More information on the new tags is available in the Enhanced tags notice.
Identifiers:
fullbbgcompticker
figi
bbgcompticker
us-code
isin
local-code
Filters:
instrument-class
bbgmarket-sector
return-main-listing
country-code
operational-mic
Others:
fallback-ticker
<chime />
Send a chime alert.
Note: No other content (even line breaks) is permitted with a <chime/>
tag. Please see an example of the messageML to send a chime below.