Decision recipes evaluate the properties of an underlying security object, which is simply a JSON object that houses the most current information about the underlying or option contract at the moment it's requested.
With few exceptions, the values of the security object for each underlying are updated in real-time, usually multiple times per second (actual update rate is dictated by the market).
Example security object:
Aside from IV Rank, which is calculated and cached once daily, the following properties are calculated in real-time:
The Security Object for position leg properties stores value in a decimal type format. When referencing the position leg change or change % this will need to be expressed as a decimal. Therefore, a 100% change in the position leg value is represented as 1.00
Option Leg Properties
Extrinsic value is the difference between the price of an option (or the premium) and that option's intrinsic value. It is comprised of the greek values theta and vega.
Intrinsic value is the inherent worth of an option. Intrinsic value is indicated by the degree to which the option is in-the-money. It is the difference between the underlying security's price and the options strike price when the option is in-the-money.
Chance of ITM is the mathematical probability of the underlying being in-the-money at expiration.
OTM amount measures the distance between the underlying at its current price and the strike price. It indicates how many points (dollars) away the underlying is from being ITM. If the leg is ITM, then the OTM amount will be 0.