GitHub Interoperability - by Project

Open
#514 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
github, github-actions, python
Domain
cli, cloud, devtools

Research direction

No files, tests, or entry points are named. Start by breaking the four scenarios into separate requirements and identifying how lean-cli currently represents projects, backtests, and live deployments. Done should include an agreed GitHub branch convention, project synchronization behavior, and post-backtest output handling.

Written by the indexing model from the issue text.

Description

GitHub Interoperability

Why

Today, we find are manually copy+paste source code from QC to GitHub and back. Trying to maintain versions of QC code by live deployment and backtests which meet our criteria. The manual process is slow, error prone and unnecessary.

Scenarios / Use Cases

  1. Create a QuantConnect project from a branch in GitHub (the branch would need some required files for setup possibly)
  2. On each backtest, since the code from the main QC Project is already 'snapshot' to run the backtest; create a GitHub branch in said repository to match the backtest codebase
  3. On Live Deploy - create branch in said repository
  4. Create a functionality in which the post-backtest outputs (metrics, trades, orders, other) are commit, push to the Branch associated with the backtest branch previously created

Misc

snapshot/<project-name>.<unique id>.<datetime stamp>
backtest/<project-name>.<unique id>.<datetime stamp>
live-deploy/<project-name>.<unique id>.<datetime stamp>
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.