Skip to content

Calendar news filter#

About#

Calendar news filter

Fields#

Name Type Required Description
priorities Array<string> Yes list of breaking news priorities to stop trading on, leave empty to disable breaking news filter. Allowed values are election, high, medium, low.
closePositionTimeGapInMinutes number time interval specifying when to force close an already open position before calendar news. Default value is 60 minutes
openPositionFollowingTimeGapInMinutes number time interval specifying when it is allowed to open position after calendar news. Default value is 60 minutes
openPositionPrecedingTimeGapInMinutes number time interval specifying when it is still allowed to open position before calendar news. Default value is 120 minutes

Example#

{
  "priorities": [
    "high"
  ],
  "closePositionTimeGapInMinutes": 10,
  "openPositionPrecedingTimeGapInMinutes": 20,
  "openPositionFollowingTimeGapInMinutes": 20
}

Usages#