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
closePositionTimeGapInMinutes number optional time interval specifying when to force close an already open position before calendar news. Default value is 60 minutes
openPositionFollowingTimeGapInMinutes number optional time interval specifying when it is allowed to open position after calendar news. Default value is 60 minutes
openPositionPrecedingTimeGapInMinutes number optional time interval specifying when it is still allowed to open position before calendar news. Default value is 120 minutes

Example#

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

Usages#