How to store value value of spot perium at a particular time

I am trying to store value of both CE/PE primium for BNF spot at a patticular time.
can use LTP as variable. I want to compare the BNF spot CE primium @ 9:30 with premium @9:45.
But the problem is even though I compare the premium, spot may change between 9:30 - 9:45