07-25-2018, 11:05 AM
Hi all
i want my cli to report when the next candle will trigger i.e
Next candle time: (date and time)
I have the code to report current time how do i get it to report that time plus my candle size of 4 hrs?
All help welcome please
i want my cli to report when the next candle will trigger i.e
Next candle time: (date and time)
I have the code to report current time how do i get it to report that time plus my candle size of 4 hrs?
Code:
log.info('\t Next Candle Update:', this.marketTime.format('YYYY-MM-DD HH:mm:ss'))
All help welcome please