Enum OrderPositionEffects
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
Indicates whether the resulting position after a trade should be an opening position or closing position.
[DataContract]
public enum OrderPositionEffects
- Extension Methods
Fields
[EnumMember] [Display(ResourceType = typeof(LocalizedStrings), Name = "CloseOnly", Description = "PositionEffectCloseOnly")] CloseOnly = 2
A trade should bring the position towards zero, i.e. close as much as possible of any existing position and open an opposite position for any remainder.
[EnumMember] [Display(ResourceType = typeof(LocalizedStrings), Name = "Default", Description = "DefaultBehaviour")] Default = 0
Default behaviour.
[EnumMember] [Display(ResourceType = typeof(LocalizedStrings), Name = "OpenOnly", Description = "PositionEffectOpenOnly")] OpenOnly = 1
A trade should open a position.