QuantConnect / QuantConnect/lean-cli
"--extra-docker-config" don't work on windows 11 command prompt and PowerShell
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 326
- Forks
- 168
- Avg merge
- 3d 50m
- Merged PRs (30d)
- 3
Description
Here is my command line :
lean backtest "test_lean" --extra-docker-config "{""Volumes"": {""/stock_data"": {""bind"": ""c:\\_stock_data"", ""mode"": ""rw""}}}" --verbose --debug debugpy
it won't show any error, but when I paused in debug and login into docker container, the /stock_data has no data, also checked the container volume, it don't have the stock_data volume.
Also hope this option can also add to 'lean live', 'lean research` command line, so that we can use external data in all stage.
Thanks
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the lean backtest handling of --extra-docker-config on Windows command prompt and PowerShell, then inspect how the supplied volume configuration reaches the Docker container. Compare the requested lean live and lean research command support. Done means the /stock_data volume is mounted with the shown configuration and external data works in the requested stages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100