Capture
Advanced Capture Settings
Advanced capture settings require changing the configuration file directly as follows. As many of these options are customizations, please discuss with support@fmad.io any issues or side effects seen
Validate Config file
After modifying time.lua configuration file, please confirm syntax is correct by running the following
The correct output looks like the following
Midnight Roll Disable
By default the capture system will automatically stop all captures at midnight per the local timezone set on the capture device. This can be disabled which is helpful for capture periods which are < 24H but cross the midnight boundary.
In the ["Scheduler"]
section
Add the entry set to true, to disable the Midnight roll
The config requires capture to be stopped and started for the the new setting to load.
Capturing Across Midnight
In some cases capturing across midnight and rolling at a different time has advantages, such as Futures/Options exchanges who typically run 23H a day restarting very early in the morning.
This is achieved using the ManualOffset to offset when the capture rolls. To roll the capture as 5AM every day, setting 5 H * 60min * 60sec * 1e9 nanoseconds
Then setting the scheduler to start/stop at 00:00:59 and 23:59:59 as follows
This will create captures from 05:00AM until 04:59:59 the next day
StartTime = ManualOffset (5H) + Scheduler Start Time 00:00 = 05:00 AM
StopTime = ManualOffset (5H) + Scheduler Stop Time 23:59:59 = 04:59AM + 1 Day
Last updated