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

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

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.

Dominant language
Python
Stars
335
Forks
172
Avg merge
6h 54m
Merged PRs (30d)
37

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from QuantConnect/lean-cli

All issues in QuantConnect/lean-cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.