Emit a signal on conclusion of desired session (UTC)
npm install @strong-roots-capital/new-session-emitter
import NewSessionEmitter from '@strong-roots-capital/new-session-emitter'
let sessionEmitter = new NewSessionEmitter(['1', '5', '15', '1H'])
sessionEmitter.on('newSession', ISR)
function ISR(timeframes: string[]) {
console.log('New sessions:', new Date(), timeframes)
}