OPT_EXP

Syntax

AggregationPeriod.OPT_EXP

Description

Defines aggregation period equal to option expiration (2,678,400,000 milliseconds).

Example

def agg = AggregationPeriod.OPT_EXP; 
plot data = close(period = agg);

This example script draws the Close price plot with aggregation period equal to option expiration. Note that aggregation period used in this example cannot be less than chart aggregation period.

See also GetAggregationPeriod function in the Others section.