Configuration Reference¶
All MDP server containers are configured exclusively via environment variables. No configuration files are required at runtime.
Common Variables¶
These variables are supported by all servers.
Variable |
Default |
Description |
|---|---|---|
|
|
Logging level: |
|
|
IP address to bind the HTTP server |
|
(server-specific) |
TCP port for the HTTP server (see per-server defaults below) |
|
|
Image name injected at build time (informational) |
|
|
Image version injected at build time (informational) |
Finlight Data Listener (FDL)¶
Default port: 4203
The FDL connects to the Finlight news WebSocket API and routes articles to the
RabbitMQ news queue.
Variable |
Default |
Description |
|---|---|---|
|
(required) |
Finlight API key for WebSocket authentication |
|
(none) |
Full-text query filter for incoming articles (e.g. |
|
(none) |
ISO 639-1 language code to filter (e.g. |
|
|
Subscribe to raw (unprocessed) article feed instead of enriched feed |
|
|
Include entity tagging (tickers, people, orgs) in enriched article payloads |
|
|
RabbitMQ connection URL (AMQP) |
|
|
RabbitMQ message TTL in milliseconds |
|
|
Enable RabbitMQ publisher confirms ( |
|
|
Automatically connect to Finlight on startup. When |
Finlight Data Processor (FDP)¶
Default port: 4204
The FDP consumes articles from the RabbitMQ news queue and processes them
through a pluggable analyzer, writing results to Redis.
Variable |
Default |
Description |
|---|---|---|
|
|
RabbitMQ connection URL (AMQP) |
|
|
Market Data Cache Redis URL. Used by Analyzers via |
|
|
Widget Data Cache Redis URL. Used by Processors to store analyzer results. |
|
|
RabbitMQ queue to consume from |
|
|
RabbitMQ prefetch count (messages delivered before ACK required) |
|
|
Maximum concurrent async processing tasks (semaphore limit) |
|
(empty) |
Finlight API key. Passed to |
|
|
Maximum number of articles retained in the news feed Redis list cache
( |
|
|
Maximum number of articles retained per ticker Redis list cache
( |
|
|
Redis TTL in seconds for the news feed list cache ( |
|
|
Redis TTL in seconds for per-ticker news list caches
( |
Market Data Listener (MDL)¶
Default port: 4200
The MDL connects to the Massive.com WebSocket API and routes tick data events to per-type RabbitMQ queues.
Variable |
Default |
Description |
|---|---|---|
|
(required) |
Massive.com API key. Resolved in order: |
|
|
Massive.com feed type: |
|
|
Massive.com market: |
|
|
JSON array of WebSocket subscription patterns |
|
|
Subscribe to raw feed instead of typed events |
|
|
Enable verbose Massive SDK logging |
|
|
Use TLS for Massive.com WebSocket connection |
|
|
Maximum WebSocket reconnection attempts before giving up |
|
|
RabbitMQ connection URL (AMQP) |
|
|
RabbitMQ message TTL in milliseconds |
|
|
Enable RabbitMQ publisher confirms ( |
|
|
Automatically connect to Massive.com on startup. When |
Market Data Processor (MDP)¶
Default port: 4201
The MDP runs parallel MassiveDataProcessor workers consuming from
multiple RabbitMQ queues and writing results to Redis.
Variable |
Default |
Description |
|---|---|---|
|
(required) |
Massive.com API key. Same resolution chain as MDL. |
|
|
RabbitMQ connection URL (AMQP) |
|
|
Market Data Cache Redis URL. Used by Analyzers via |
|
|
Widget Data Cache Redis URL. Used by Processors to store analyzer results. |
|
|
Number of parallel processor workers per queue type |
|
|
RabbitMQ prefetch count per worker |
|
|
Maximum concurrent async tasks per worker (semaphore limit) |
Leaderboard Analyzer (LBA)¶
Default port: 4210
The LBA subscribes to Redis pub/sub channels and runs leaderboard and trade analyzers sequentially.
Variable |
Default |
Description |
|---|---|---|
|
(required) |
Massive.com API key. Same resolution chain as MDL. |
|
|
RabbitMQ connection URL (AMQP) |
|
|
Market Data Cache Redis URL. Used by Analyzers via |
|
|
Widget Data Cache Redis URL. Used by Processors to store analyzer results. |
|
|
Number of parallel processor workers |
|
|
RabbitMQ prefetch count per worker |
|
|
Maximum concurrent async tasks per worker (semaphore limit) |
Widget Data Service (WDS)¶
Default port: 4202
The WDS bridges Redis pub/sub to client WebSocket connections with fan-out.
Variable |
Default |
Description |
|---|---|---|
|
|
Widget Data Cache Redis URL. Read by WDS to deliver scanner results and quote feeds to connected WebSocket clients. |
|
|
Enable API key authentication for WebSocket connections |
|
|
API key required when |