BLD: improvements following unit tests

This commit is contained in:
Frederic Fortier
2017-12-22 15:45:23 -05:00
parent 662af595cb
commit 67bd5c8f6a
8 changed files with 279 additions and 12 deletions
+2 -1
View File
@@ -677,7 +677,8 @@ class ExchangeTradingAlgorithmLive(ExchangeTradingAlgorithmBase):
self.perf_tracker.update_performance()
frame_stats = self.prepare_period_stats(
data.current_dt, data.current_dt + timedelta(minutes=1))
data.current_dt, data.current_dt + timedelta(minutes=1)
)
# Saving the last hour in memory
self.frame_stats.append(frame_stats)