mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-01 12:01:05 +08:00
DOC: Fix typo in TradingAlgorithm doc string.
This commit is contained in:
1 parent
e1ce6ff34e
commit
8f3671bf24
1 file changed
+1
-1
@@ -100,7 +100,7 @@ class TradingAlgorithm(object):
|
||||
context.sid = 'AAPL'
|
||||
context.amount = 100
|
||||
|
||||
def handle_data(self, data):
|
||||
def handle_data(context, data):
|
||||
sid = context.sid
|
||||
amount = context.amount
|
||||
order(sid, amount)
|
||||
|
||||
Reference in new issue
Block a user