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