EasyLanguage Object Reference

ActivationRules Class

A class used to create an activation rule from an associated activation rule collection object (used by OrderTicket objects). The functionality is similar to checking the Activation Rule checkbox in the Advanced section of the Order Bar in the TradeStation Platform. Click the Advanced button in the Order Bar to expose the Activation Rule checkbox. See Placing Orders using Activation Rules in TradeStation Platform Help.

Coding of the ActivationRules class occurs automatically in the Designer-Generated code when properties in an OrderTicket component specify the use of activation rules. Up to four rules are placed in the ActiviationRuleCollection class.

Namespace: tsdata.trading

[ Expand All ]
Properties
  Name Type Description
Public property ActivationTime datetime Sets or gets the date and time to activate the rule(s).
Public property DeactivationTime datetime Sets or get the the date and time to deactivate the rule(s).
Public property Rules object Sets or gets the activation rule(s). See ActivationRuleCollection class.
Public property UseActivationTime boolean True to use the activation time value to activate the rule(s).
Public property UseDeactivationTime boolean True to use the deactivation time value to deactivate the rule(s).

   Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

Methods
  Name Description
Public property Create Initializes a new instance of the class.
Inheritance Hierarchy

elsystem.Object

  elsystem.ElComponent

    tsdata.trading.ActivationRules