QuantConnect / QuantConnect/lean-cli

No prompt if `lean backtest` doesn't fetch data

Open
#118 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
326
Forks
168
Avg merge
3d 50m
Merged PRs (30d)
3

Description

If you run lean backtest with the local data provider and you don't have the data in your local data directory, the algorithm won't place any trades. If the backtest runs with no data, it should inform the user that they need local data or they can run in the cloud.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the lean backtest command when using the local data provider, and trace how a run with no local data is reported. Use the linked local-data and cloud-backtesting documentation to confirm the guidance users should receive; done means the missing-data case informs users of both available options.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.