mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-26 13:18:31 +08:00
major fix is with the non-blocking behavior of order source. also fixed time-compression in the trading client.
This commit is contained in:
@@ -70,7 +70,7 @@ class TestAlgorithm():
|
||||
|
||||
def handle_frame(self, frame):
|
||||
self.frame_count += 1
|
||||
#place an order for 100 shares of sid:133
|
||||
#place an order for 100 shares of sid
|
||||
if self.incr < self.count:
|
||||
self.order(self.sid, self.amount)
|
||||
self.incr += 1
|
||||
|
||||
Reference in New Issue
Block a user