Skip to content

Commit

Permalink
Merge pull request shidenggui#40 from hahahay/patch-1
Browse files Browse the repository at this point in the history
使用关键字参数传递markup
  • Loading branch information
shidenggui authored Jun 18, 2016
2 parents d16acdc + f192260 commit a05a377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easyquant/push_engine/clock_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def is_tradetime_now(self):
return etime.is_tradetime(self.now_dt)

def register_moment(self, clock_type, moment, makeup=False):
return self._register_moment(clock_type, moment, makeup)
return self._register_moment(clock_type, moment, makeup=markup)

def _register_moment(self, clock_type, moment, is_trading_date=True, makeup=False, call=None):
handlers = list(self.clock_moment_handlers)
Expand Down

0 comments on commit a05a377

Please sign in to comment.