Tags and mentions
Tags
MessageML supports the following tags to embed additional information into messages:
Tag
Description
Optional attributes
<mention uid="123456789"/>
Insert a mention for the user whose Symphony userid is 123456789.
<mention email="[email protected]"/>
Insert a mention for the user whose email address is [email protected].
• 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:
fullbbgcomptickerfigibbgcomptickerus-codeisinlocal-code
Filters:
instrument-classbbgmarket-sectorreturn-main-listingcountry-codeoperational-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.
Examples
Here after you can find an example of a message sent by a bot and containing these tags specific to Symphony Messaging as well as the structure of the messageML sent:
Mentions
<messageML>
<br/><span>Mention with an email: </span>
<mention email="[email protected]"/>
<br/><span>Mention with a user Id: </span>
<mention uid="71811853190567"/>
</messageML>
Free-text Tags

Enhanced tags (Financial instruments)
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.

Chime
Last updated
Was this helpful?