Last value from spread

Hello evvvvrybody,

i was wondering if i could get the last value stored in a spread.

Any hints?

check out CDR and CAR. Or just use a GetSlice with index -1 (indexes work backwards too ;)

thanks for the fast reply! i already tried CDR but it gives me the last value in therms of sliceindex but i meant the last value in time…

If the last value in time is not the last value in a spread, your problem could be patching related (how you laid down your logic). It may help to use S+H, though. Every time a value changes, the node may keep it. Or have a look at LTP.

oh thank you very much! s+h before helped me out!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.