Class CopyFactoryStrategyBreakingNewsFilter
- java.lang.Object
-
- cloud.metaapi.sdk.clients.copy_factory.models.CopyFactoryStrategyBreakingNewsFilter
-
public class CopyFactoryStrategyBreakingNewsFilter extends Object
CopyFactory breaking news risk filter
-
-
Field Summary
Fields Modifier and Type Field Description IntegerclosePositionTimeGapInMinutesOptional time interval specifying when to force close an already open position before calendar news, ornull.IntegeropenPositionFollowingTimeGapInMinutesOptional time interval specifying when it is allowed to open position after calendar news, ornull.List<String>prioritiesList of breaking news priorities to stop trading on, ornull.
-
Constructor Summary
Constructors Constructor Description CopyFactoryStrategyBreakingNewsFilter()
-
-
-
Field Detail
-
priorities
public List<String> priorities
List of breaking news priorities to stop trading on, ornull. 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, ornull. Default value is 60 minutes
-
openPositionFollowingTimeGapInMinutes
public Integer openPositionFollowingTimeGapInMinutes
Optional time interval specifying when it is allowed to open position after calendar news, ornull. Default value is 60 minutes
-
-