Class CopyFactoryStrategyBreakingNewsFilter


  • public class CopyFactoryStrategyBreakingNewsFilter
    extends Object
    CopyFactory breaking news risk filter
    • Field Detail

      • priorities

        public List<String> priorities
        List of breaking news priorities to stop trading on, or null. Leave empty to disable breaking news filter. One of high, medium, low.
      • closePositionTimeGapInMinutes

        public Integer closePositionTimeGapInMinutes
        Optional time interval specifying when to force close an already open position before calendar news, or null. Default value is 60 minutes
      • openPositionFollowingTimeGapInMinutes

        public Integer openPositionFollowingTimeGapInMinutes
        Optional time interval specifying when it is allowed to open position after calendar news, or null. Default value is 60 minutes
    • Constructor Detail

      • CopyFactoryStrategyBreakingNewsFilter

        public CopyFactoryStrategyBreakingNewsFilter()