Skip to content

Commit 037b5a3

Browse files
committed
Update README.md
1 parent ba19573 commit 037b5a3

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ Options:
253253
--extra-docker-config TEXT Extra docker configuration as a JSON string. For more information https://docker-
254254
py.readthedocs.io/en/stable/containers.html
255255
--no-update Use the local LEAN engine image instead of pulling the latest version
256+
--parameter <TEXT TEXT>... Key-value pairs to pass as backtest parameters. Values can be string, int, or float.
257+
Example: --parameter symbol AAPL --parameter period 10 --parameter threshold 0.05
256258
--lean-config FILE The Lean configuration file that should be used (defaults to the nearest lean.json)
257259
--verbose Enable debug logging
258260
--help Show this message and exit.
@@ -308,11 +310,13 @@ Usage: lean cloud backtest [OPTIONS] PROJECT
308310
use the --push option to push local modifications to the cloud before running the backtest.
309311
310312
Options:
311-
--name TEXT The name of the backtest (a random one is generated if not specified)
312-
--push Push local modifications to the cloud before running the backtest
313-
--open Automatically open the results in the browser when the backtest is finished
314-
--verbose Enable debug logging
315-
--help Show this message and exit.
313+
--name TEXT The name of the backtest (a random one is generated if not specified)
314+
--push Push local modifications to the cloud before running the backtest
315+
--open Automatically open the results in the browser when the backtest is finished
316+
--parameter <TEXT TEXT>... Key-value pairs to pass as backtest parameters. Values can be string, int, or float.
317+
Example: --parameter symbol AAPL --parameter period 10 --parameter threshold 0.05
318+
--verbose Enable debug logging
319+
--help Show this message and exit.
316320
```
317321

318322
_See code: [lean/commands/cloud/backtest.py](lean/commands/cloud/backtest.py)_

0 commit comments

Comments
 (0)