This script can see the rolling APY of future premiums calculated based on the remain days to expire date.
By default you can see the rolling APY for FTX BTC0924, and APY for BTC1231. You can also change the symbol from chart settings to whatever you need and still calculate in the same way.
I found this useful tool among the indicators but it wasn't doing the correlation study correctly.
Everything in markets, with only a few exceptions, are rising in value over time and therefore trended to time. The simplest method I found is to use link relative or first difference detrending, before calculating a correlation between assets.
I also updated it to...