From e4fa752adb4f3dae28a5e8b02c0b2e2600f9f84a Mon Sep 17 00:00:00 2001 From: realfishsam <92118699+realfishsam@users.noreply.github.com> Date: Tue, 6 Aug 2024 23:23:53 +0300 Subject: [PATCH] Fixed missing ")" error (#256) ```record(AAPL=data.current(symbol('AAPL'), "price")```, lacks a closing bracket. I added this bracket to ensure beginners will not get stuck. --- docs/source/beginner-tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/beginner-tutorial.rst b/docs/source/beginner-tutorial.rst index 9de06a258d..1d2fbde2b4 100644 --- a/docs/source/beginner-tutorial.rst +++ b/docs/source/beginner-tutorial.rst @@ -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