Skip to content

Feed Record Reference | ScaleTrade

🔌 Structure: FeedRecord

Describes a data feed (feeder) source and its connection, licensing, and operational settings.

Field Type Default Description
index int 0 Unique identifier (primary key for the feed)
priority int 0 Priority of the feed (higher = more preferred)
version int 0 Version of the data feed (used for updates and compatibility checks)
name string — Name of the data source
module_name string — File name within the feed module directory
copyright string — Copyright information
web string — Official website of the data provider
server string — Server address or domain
modes int 0 Operating modes (bitmask or enum FeederModes)
description string — Human-readable description of the data source
module string — Licensed module name (used for licensing and loading)
file string — Executable or dynamic library file name
login string — Login credentials (can contain up to 32 users)
password string — Password for authentication
enable int 0 Feed status flag: 0 = disabled, 1 = enabled
mode int 0 Feed mode (e.g., FEED_MASTER, FEED_RESERVE)
timeout int 120 Timeout before considering feed as unresponsive (in seconds)
timeout_reconnect int 5 Time before first reconnect attempt after failure (in seconds)
timeout_sleep int 60 Delay between reconnect attempts after repeated failures (in seconds)
attemps_sleep int 3 Number of failed attempts before switching to longer reconnect intervals