A subtlety that may come in handy for those who, like me, have set a longer delay, or are planning to change it from the basic setting of 60, is the substitution of line 120
dailyincome = round(price * sps_balance * (24*delay), 2)
with the following
dailyincome = round(price * sps_balance * (1440/delaymins), 2)