mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-08 16:30:42 +08:00
make git happy
This commit is contained in:
@@ -261,7 +261,7 @@ class PerformanceTracker(object):
|
||||
self.todays_performance.calculate_performance()
|
||||
|
||||
def handle_market_close(self):
|
||||
|
||||
|
||||
# add the return results from today to the list of DailyReturn objects.
|
||||
todays_date = self.market_close.replace(hour=0, minute=0, second=0)
|
||||
todays_return_obj = risk.DailyReturn(
|
||||
@@ -347,7 +347,7 @@ class PerformanceTracker(object):
|
||||
if self.results_socket:
|
||||
log.info("about to stream the risk report...")
|
||||
risk_dict = self.risk_report.to_dict()
|
||||
|
||||
|
||||
msg = zp.RISK_FRAME(risk_dict)
|
||||
self.results_socket.send(msg)
|
||||
# this signals that the simulation is complete.
|
||||
|
||||
Reference in New Issue
Block a user