public class CopyFactoryStrategyCalendarNewsFilter extends Object
| Modifier and Type | Field and Description |
|---|---|
Integer |
closePositionTimeGapInMinutes
Optional time interval specifying when to force close an already open position before calendar news,
or
null. |
Integer |
openPositionFollowingTimeGapInMinutes
Optional time interval specifying when it is allowed to open position after calendar news, or
null. |
Integer |
openPositionPrecedingTimeGapInMinutes
Optional time interval specifying when it is still allowed to open position before calendar news, or
null. |
List<String> |
priorities
List of calendar news priorities to stop trading on, or
null, leave empty to disable calendar news filter. |
| Constructor and Description |
|---|
CopyFactoryStrategyCalendarNewsFilter() |
public List<String> priorities
null, leave empty to disable calendar news filter.
One of election, high, medium, low.public Integer closePositionTimeGapInMinutes
null. Default value is 60 minutespublic Integer openPositionPrecedingTimeGapInMinutes
null.
Default value is 120 minutespublic Integer openPositionFollowingTimeGapInMinutes
null.
Default value is 60 minutesCopyright © 2023. All rights reserved.