We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f74b0ec commit 8b7eebdCopy full SHA for 8b7eebd
plugins/ticker/plugin.py
@@ -169,7 +169,9 @@ def tick(self):
169
self.config["channels"] and self.config["stocks"]
170
171
if should_send_ticker:
172
- yield self.send_ticker()
+ # if the market is just opening, ignore the tick. this API sucks
173
+ if not is_open:
174
+ yield self.send_ticker()
175
176
if should_do_predictions:
177
# Try to avoid hitting rate limiting (5 calls per minute) by giving
0 commit comments