calculate wasn't using the last bar since it was being added after. It's added before and calculate is done on bars.back() now.
calculate wasn't using the last bar since it was being added after. It's added before and calculate is done on bars.back() now.

Bosma/BitcoinTrader