mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-18 12:20:12 +08:00
ENH: new order management methods:
- get_open_orders - get_order - cancel
This commit is contained in:
@@ -321,7 +321,7 @@ class TradingAlgorithm(object):
|
||||
self._recorded_vars[name] = value
|
||||
|
||||
def order(self, sid, amount, limit_price=None, stop_price=None):
|
||||
self.blotter.order(sid, amount, limit_price, stop_price)
|
||||
return self.blotter.order(sid, amount, limit_price, stop_price)
|
||||
|
||||
@property
|
||||
def recorded_vars(self):
|
||||
|
||||
Reference in New Issue
Block a user