mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-29 13:00:42 +08:00
DOC: Fix typo in TradingAlgorithm doc string.
This commit is contained in:
1 parent
8f3671bf24
commit
d0eba3d1ca
1 file changed
+2
-2
@@ -94,10 +94,10 @@ class TradingAlgorithm(object):
|
||||
|
||||
A new algorithm could look like this:
|
||||
```
|
||||
from zipline.api import order
|
||||
from zipline.api import order, symbol
|
||||
|
||||
def initialize(context):
|
||||
context.sid = 'AAPL'
|
||||
context.sid = symbol('AAPL')
|
||||
context.amount = 100
|
||||
|
||||
def handle_data(context, data):
|
||||
|
||||
Reference in new issue
Block a user