using System; namespace Krs.Ats.IBNet { /// /// Trigger method for actions. /// [Serializable()] public enum TriggerMethod : int { /// /// 0 - the default value. The "double bid/ask" method will be used for orders for OTC stocks and US options. All other orders will used the "last" method. /// Default = 0, /// /// 1 - use "double bid/ask" method, where stop orders are triggered based on two consecutive bid or ask prices. /// DoubleBidAsk = 1, /// /// 2 - "last" method, where stop orders are triggered based on the last price. /// Last = 2, /// /// 3 double last method. /// DoubleLast = 3, /// /// 4 bid/ask method. /// BidAsk = 4, /// /// 7 last or bid/ask method. /// LastOrBidAsk = 7, /// /// 8 mid-point method. /// MidpointMethod = 8 } }