I am looking for a way to determine the value of the close of the first 1 minute bar.
Getting the open is fairly straight forward:
Getting the Range of the first bar is fairly straightforward as well since we define a range (1 min) and return the high/low of that range. But I can't figure out a good way for the close.
If anybody can help, I would really appreciate it.
Getting the open is fairly straight forward:
Code:
def openValue = open(period = AggregationPeriod.DAY);
Getting the Range of the first bar is fairly straightforward as well since we define a range (1 min) and return the high/low of that range. But I can't figure out a good way for the close.
If anybody can help, I would really appreciate it.