Skip to main content

Alexandria Market Data Connector

Alexandria Data Connector based on ASR API. It provides Economic, Commodity, and Equity news feeds.

Features

alexandriaConnector Key
Instrument Types
News
Technology
Custom API
Feed Mode
Real-Time
Message Types
Level 1
Level 2
Level 3
Trades
Funding Rates
Custom Message Types
Alexandria Commodity News Message
Alexandria Economic News Message
Alexandria Equity News Message

Configuration

The connector supports two modes:

  • When Enable Advanced Mode is not selected, the connector receives live news and publishes it through the Aggregator output model.
  • When Enable Advanced Mode is selected, the connector first uploads all files from the selected directory for each enabled news type into the configured TimeBase stream, and then receives live news into that stream.

Data Connector Parameters

ParameterDefault ValueDescription
Hostes02.alexability.comHost name of Alexandria streaming server.
Port9675Port number of Alexandria streaming server.
User NameN/AUser name for connecting to Alexandria streaming server.
PasswordN/APassword for connecting to Alexandria streaming server.
Enable Advanced ModefalseWhen not selected, the connector receives live Economic, Commodity, and Equity news and publishes them through the Aggregator output model.

When selected, for each enabled news type the connector first uploads historical files from the selected directory into the configured TimeBase stream, then continues receiving live news into that same stream. Advanced Mode fields are shown only when this option is enabled. At least one of Process Economic / Commodity / Equity News must be enabled.

Default value for this option is false.
Process Economic NewsfalseEnable processing of Economic news in Advanced Mode (historical file upload and live updates into the Economic news stream).

Default value for this option is false.
Economic News Stream NameN/AName of the target TimeBase stream for Economic news (historical and live) when Advanced Mode is enabled.
Economic News Files DirectoryN/ADirectory with Economic news historical data files. In Advanced Mode the connector uploads files from this directory before receiving live Economic news.
Process Commodity NewsfalseEnable processing of Commodity news in Advanced Mode (historical file upload and live updates into the Commodity news stream).

Default value for this option is false.
Commodity News Stream NameN/AName of the target TimeBase stream for Commodity news (historical and live) when Advanced Mode is enabled.
Commodity News Files DirectoryN/ADirectory with Commodity news historical data files. In Advanced Mode the connector uploads files from this directory before receiving live Commodity news.
Process Equity NewsfalseEnable processing of Equity news in Advanced Mode (historical file upload and live updates into the Equity news stream).

Default value for this option is false.
Equity News Stream NameN/AName of the target TimeBase stream for Equity news (historical and live) when Advanced Mode is enabled.
Equity News Files DirectoryN/ADirectory with Equity news historical data files. In Advanced Mode the connector uploads files from this directory before receiving live Equity news.
DC Instance LabelN/ALabel of a specific instance of the data connector.

Message Types

The connector defines custom news message types (package deltix.qsrv.hf.plugins.data.alexandria.types). All three extend a shared base type.

Alexandria Base News Message

Shared fields for Economic, Commodity, and Equity news messages.

FieldTypeDescription
Historical MessagebooleanIdentifies whether this data message was recorded in real-time mode or loaded from a historical data file.
Story IDCharSequenceUnique ID assigned to every news item.
SentimentbyteOverall sentiment in a trinary score drawn from the highest probability (dominant sentiment): 1 = positive, 0 = neutral, -1 = negative.
ConfidenceDecimal64Normalization of the Probability fields showing possible conflict between sentiments. The higher the confidence, the lower the conflict.
NoveltyintIdentifies updates to stories: 1 = new story; 2 or greater means the item is an update to a previous story published within the last 24 hours.
Headline Onlybooleantrue if the item is headline only; false if there is a body as well.
Auto MessagebooleanFor Economic and Commodity news: true if the story was auto-generated/scheduled, false if journalist-written. For Equity news: true if generated as part of a scheduled delivery, false if unscheduled.
EventsCharSequenceEvent/topic tags for the news. Economic/Commodity default includes @ALEX; Equity uses prefix AA@ (e.g. AA@ERN), with AA@ALEX assigned by default.
SourceCharSequencePublication name or source type tag (e.g. DJN).
Probability PositiveDecimal64Raw probability that article sentiment is positive (all three probabilities sum to 1).
Probability NeutralDecimal64Raw probability that article sentiment is neutral.
Probability NegativeDecimal64Raw probability that article sentiment is negative.

Alexandria Economic News Message

Extends Alexandria Base News Message.

FieldTypeDescription
EconomyCharSequenceID tag for the economy (market/country) found relevant to the news.

Alexandria Commodity News Message

Extends Alexandria Base News Message.

FieldTypeDescription
CommodityCharSequenceID tag for the commodity type found relevant to the news.

Alexandria Equity News Message

Extends Alexandria Base News Message.

FieldTypeDescription
TickerCharSequenceExchange ticker of the company identified in the news item, point-in-time sensitive (e.g. IBM).
CountryCharSequence3-letter ISO-3166 country code based on the location of the exchange where the stock is listed (e.g. USA).
ISINCharSequenceInternational Securities ID Number of the company identified in the news item, point-in-time sensitive (e.g. US4592001014).
RelevanceDecimal64Relevance of the company to the sentiment. 1.00 = primary relevance; lower values indicate lesser relevance.
Market Impact ScoreDecimal64Estimated risk-adjusted 1-minute forward return for a given article (stock return minus stock beta × market return). Range roughly -5 (most negative) to +5 (most positive).

Symbology

News messages are published under fixed TimeBase symbols (InstrumentType.CUSTOM). The connector does not subscribe to per-instrument symbols.

Logging

To enable detailed logging, use these lines in the <QSHOME>/config/gflog.xml file:

<logger name="deltix.qsrv.hf.plugins.data.alexandria" level="TRACE">
<appender-ref ref="safeAppender"/>
</logger>