Hi,
I feel like this might be a super trivial question, but I can't seem to find something that consistently works. In a script for a custom quote displayed in the option chain, I'm trying to get the underlying's current (last) price.
I'm using this:
However, this seems to return different values for each strike in the option chain. What am I missing?
Thanks,
Julien
I feel like this might be a super trivial question, but I can't seem to find something that consistently works. In a script for a custom quote displayed in the option chain, I'm trying to get the underlying's current (last) price.
I'm using this:
Code:
def underlyingStockLastPrice = close(GetUnderlyingSymbol(), priceType = PriceType.LAST);
However, this seems to return different values for each strike in the option chain. What am I missing?
Thanks,
Julien