Skip to content

Configuration Files

OptionsRealTime uses JSON configuration files to define default settings for both the desktop application and Rover. These files are read at startup and serve as the “factory defaults” that back every Settings dialog’s Reset to Defaults button.

Power users can customize these files to establish their preferred baseline configuration across installations or machines.

FilePurposeLocation
OptionsRealTimeConfig.jsonDesktop application defaultsApplication directory
RoverConfig.jsonPublisher launcher defaultsApplication directory

Controls Rover’s TWS connections, publisher behavior, and global pricing parameters.

{
"AccountIdMaskChars": 4,
"IBKRConnections": [
{
"AccountId": "U1234567",
"ClientId": 1,
"GatewayIPAddress": "localhost",
"GatewayPort": 7496
}
],
"MsgProcessingInterval": 100,
"NATServerURL": "nats://localhost:4222",
"RiskFreeRate": 0.036,
"ThroughputBaselineBytes": 50000
}
FieldTypeDescription
NATServerURLstringNATS server address and port. Default: nats://localhost:4222
MsgProcessingIntervalintegerMilliseconds between message processing cycles. Default: 100

Each entry defines a connection to a TWS instance:

FieldTypeDescription
AccountIdstringIBKR account identifier (e.g., U1234567 for live, DU1234567 for paper)
GatewayIPAddressstringHost running TWS. Use localhost for local installations
GatewayPortintegerTWS API port. Typically 7496 for live, 7497 for paper
ClientIdintegerUnique client ID for this connection. Multiple accounts on the same TWS instance require different client IDs
FieldTypeDescription
AccountIdMaskCharsintegerNumber of characters to mask from the right in account IDs (0-8). 4 shows U264****
ThroughputBaselineBytesintegerSets the 100% reference for throughput bar charts (bytes/second)
FieldTypeDescription
RiskFreeRatefloatAnnualized interest rate for options pricing (e.g., 0.036 = 3.6%). Applied uniformly across all accounts and expirations using QuantLib’s flat rate model

Controls the desktop application’s appearance, chart settings, and UI behavior. These values appear in the various Settings dialogs throughout the application.

{
"natsServerURL": "nats://localhost:4222",
"msgProcessingTimeMSec": 100,
"configurationDir": "Configuration",
"app": { ... },
"titlebar": { ... },
"dashboardMetric": { ... },
"dataColors": { ... },
"quotes": { ... },
"maturityChart": { ... },
"exposureChart": { ... },
"volScenarioChart": { ... },
"tables": { ... },
"pnlGraph": { ... },
"reportGrid": { ... },
"graphContainer": { ... },
"metricsContainer": { ... },
"logViewer": { ... }
}
FieldTypeDescription
natsServerURLstringNATS server address. Default: nats://localhost:4222
msgProcessingTimeMSecintegerMessage processing interval in milliseconds. Default: 100
configurationDirstringDirectory for user configuration files. Default: Configuration

Controls global application appearance accessible via the Application Settings dialog.

FieldTypeDescription
baseFontSizeintegerBase font size in points for the application. Range: 8-24
themeColorstringHex color for the application theme (e.g., #1e1e1e)
dataColorOpacityPctintegerOpacity percentage for data colors (0-100)
chromeAlphaPctintegerChrome/UI element intensity (0-200)
accountIdMaskCharsintegerCharacters to mask in account IDs (0-10)
focusScrollingEnabledbooleanWhen true, scroll content under mouse without Shift key
FieldTypeDescription
fontSizeintegerTitlebar font size in points
fontFamilystringFont family name (e.g., Segoe UI, Consolas)
fontItalicbooleanWhether titlebar text is italicized

Controls the appearance of metric tiles on the Dashboard.

FieldTypeDescription
fontSizeintegerMetric value font size in points
fontFamilystringFont family for metric values
fontItalicbooleanWhether metric values are italicized

Defines colors for positive, negative, and neutral values throughout the application.

FieldTypeDescription
positivestringHex color for positive/up values (e.g., #003600)
negativestringHex color for negative/down values (e.g., #830504)
neutralstringHex color for flat/unchanged values (e.g., #000000)
FieldTypeDescription
fontSizeintegerFont size for quote displays
borderThicknessintegerBorder thickness around quote tiles
FieldTypeDescription
fontSizeintegerAxis and label font size
markerSizeintegerSize of data point markers
legendVisiblebooleanShow/hide the chart legend
currentValuesVisiblebooleanShow/hide current value labels on data points
itmColorstringHex color for in-the-money markers
otmColorstringHex color for out-of-the-money markers
FieldTypeDescription
fontSizeintegerAxis and label font size
ascendingbooleanSort order for bars (true = ascending)
showAnnotationsbooleanShow/hide value annotations on bars

volScenarioChart (Volatility Scenario Chart)

Section titled “volScenarioChart (Volatility Scenario Chart)”
FieldTypeDescription
fontSizeintegerAxis and label font size
drawingStylestringLine style: LINE or SPLINE
legendVisiblebooleanShow/hide the chart legend
colorMktIVstringHex color for market IV curve
color10IVstringHex color for 10% IV scenario curve
color25IVstringHex color for 25% IV scenario curve
color50IVstringHex color for 50% IV scenario curve
color75IVstringHex color for 75% IV scenario curve
FieldTypeDescription
zoomFactorintegerZoom percentage for all tables (25-300). Default: 100
FieldTypeDescription
axesFontSizeintegerFont size for axis labels
titleFontSizeintegerFont size for graph title
showReferenceLinebooleanShow/hide the zero reference line
showReferenceLabelbooleanShow/hide the reference line label
lastWindowEnabledbooleanLimit display to a time window
lastWindowSecondsintegerTime window duration in seconds
gapEnabledbooleanEnable gap detection in time series
gapSecondsintegerMinimum gap threshold in seconds
portfolioLineColorstringHex color for portfolio PnL line
netLiqLineColorstringHex color for net liquidation line
FieldTypeDescription
zoomPercentintegerZoom percentage for report grids
rowHeightDeltaintegerAdjustment to default row height
summaryBrightnessintegerBrightness factor for summary rows (0-100)
detailBrightnessintegerBrightness factor for detail rows (0-100)
showGridbooleanShow/hide grid lines
gridThicknessintegerGrid line thickness in pixels
gridColorstringHex color for grid lines
enableStripingbooleanEnable alternating row colors
stripeContrastintegerContrast level for row striping
cellPaddingHintegerHorizontal cell padding in pixels
cellPaddingVintegerVertical cell padding in pixels
hoverOverlayAlphaintegerOpacity of hover highlight (0-255)
selectionOverlayAlphaintegerOpacity of selection highlight (0-255)

Controls the PnL Charts container which holds multiple graphs.

FieldTypeDescription
axesFontSizeintegerFont size for axis labels
titleFontSizeintegerFont size for graph titles
widthintegerDefault graph width in pixels
heightintegerDefault graph height in pixels
borderThicknessintegerBorder thickness around graphs
quoteChipSizeintegerSize of quote indicator chips
quoteChipOpacityintegerOpacity of quote chips (0-100)
lastWindowEnabledbooleanLimit display to a time window
lastWindowSecondsintegerTime window duration in seconds
gapEnabledbooleanEnable gap detection
gapSecondsintegerGap threshold in seconds
showLeftReferenceLinebooleanShow reference line on left axis
showLeftReferenceLabelbooleanShow label on left reference line
showRightReferenceLinebooleanShow reference line on right axis
showRightReferenceLabelbooleanShow label on right reference line
series0VisiblebooleanVisibility of first data series
series1VisiblebooleanVisibility of second data series
FieldTypeDescription
fontSizeintegerFont size for metric values
borderThicknessintegerBorder thickness around metric tiles
FieldTypeDescription
fontSizeintegerFont size for log text
  1. Close OptionsRealTime and Rover before editing
  2. Open the JSON file in a text editor
  3. Make changes, ensuring valid JSON syntax
  4. Save the file
  5. Restart the application

Changes take effect on the next application start. Invalid JSON will cause the application to fall back to hardcoded defaults.

Each Settings dialog includes a Reset to Defaults button that restores values from these configuration files.