Skip to content

Commit

Permalink
Fixed missing ")" error (#256)
Browse files Browse the repository at this point in the history
```record(AAPL=data.current(symbol('AAPL'), "price")```, lacks a closing bracket. I added this bracket to ensure beginners will not get stuck.
  • Loading branch information
realfishsam authored Aug 6, 2024
1 parent 94ed4be commit e4fa752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/beginner-tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ magic.
def handle_data(context, data):
order(symbol('AAPL'), 10)
record(AAPL=data.current(symbol('AAPL'), "price")
record(AAPL=data.current(symbol('AAPL'), "price"))
Note that we did not have to specify an input file as above since the
magic will use the contents of the cell and look for your algorithm
Expand Down

0 comments on commit e4fa752

Please sign in to comment.