diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2013-04-04 10:03:01 +0300 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2013-04-04 10:03:01 +0300 |
| commit | 0a42d0cc8290c5cbb6dedf73a967a2eb9990eb09 (patch) | |
| tree | eddf15e20c4bb621d79e35c4bbf2ebd69fe5a65e /bitrade.py | |
| parent | 88320335f21f3fd8aee3ccc036f66db726a523ec (diff) | |
Diffstat (limited to 'bitrade.py')
| -rw-r--r-- | bitrade.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -51,6 +51,7 @@ class OrderHandler(tornado.websocket.WebSocketHandler): with c.pipeline() as pipe: order_str = unicode(order) pipe.zadd('order_log', order.time, order_str) + pipe.zadd(order.type + '_list', order.price, order_str) pipe.publish('test_channel', order_str) yield tornado.gen.Task(pipe.execute) |
