NumPy
Use np
to access [numpy] function. (http://www.numpy.org/)
Exampleβ
Use np.append to append close price.
close_price = float( candles[exchange][pair][0]['close'])
self.close_price_trace = np.append(self.close_price_trace, [close_price])
Use np
to access [numpy] function. (http://www.numpy.org/)
Use np.append to append close price.
close_price = float( candles[exchange][pair][0]['close'])
self.close_price_trace = np.append(self.close_price_trace, [close_price])