---
title: "Strategies"
description: "Sharing strategies can be a great way to build a reputation within the QuantConnect community, reach potential employers, and earn QuantConnect Credit."
canonical: https://www.quantconnect.com/docs/v2/cloud-platform/community/strategies
markdown: https://www.quantconnect.com/docs/v2/cloud-platform/community/strategies.md
language: python
source: https://github.com/QuantConnect/Documentation/tree/master/01%20Cloud%20Platform/14%20Community/11%20Strategies
modified: 2026-11-29
index: https://www.quantconnect.com/llms.txt
---

# Strategies

[Documentation](https://www.quantconnect.com/docs/v2.md) > [Cloud Platform](https://www.quantconnect.com/docs/v2/cloud-platform.md) > [Community](https://www.quantconnect.com/docs/v2/cloud-platform/community.md) > Strategies

> Code examples are shown in Python. Append `?lang=csharp` to this URL for the C# version of this page.

## Introduction

The [Strategies](https://www.quantconnect.com/strategies) page contains algorithms shared by community members for you to learn from or use for your investing. QuantConnect backtests these strategies on behalf of the community each day, allowing you to see it it performs with out-of-sample data. You can add strategies to your own watchlist, clone them into your own projects, and contribute your own strategies to the community.

## Leaderboard

The Leaderboard lists top performing strategies ranked by performance metrics.

We rank strategies by their returns over the last three months daily. The chart shows the equity curve of the 10 highest ranked strategies for the aforementioned period, and the table below displays the relevant metrics: the three-month return, the one-year [Sharpe ratio](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/glossary.md#30-Sharpe-ratio), and the score.

The score is the Sharpe ratio over one year with a penalty for strategies with less than one year of out-of-sample data. The penalty is proportional to the fraction of the year they have been in-of-sample. For example, a strategy that has been in-of-sample for six months will have its Sharpe ratio halved to calculate its score. A strategy submitted for over a year will have no penalty applied, and its score matches its Sharpe ratio.

[Submit your strategies](https://www.quantconnect.com/docs/v2/cloud-platform/community/strategies.md#03-Submit-Your-Strategies) to join the competition.

## Submit Your Strategies

Follow these steps to submit a strategy for the Strategies page:

1. Open the [Strategies](https://www.quantconnect.com/strategies) page.
2. Click **Publish Strategy**.
3. In the **Project** field, select one of your projects.
4. In the **Backtest** field, select one of the backtests of the selected project.
   The **Strategy Name** and **Strategy Description** fields are generated by Mia.
5. In the **Strategy Name** field, change the generated name if needed.
6. In the **Strategy Description** field, change the generated description if needed.
7. In the **Version Notes** field, describe any changes or updates in this version.
8. Click **Publish**.

## Submission Guidelines

To keep community strategies reliable, readable, and easy to maintain, respect the following guidelines when submitting or updating strategies:

- The backtest must run without throwing buying power or runtime errors.
- The code should not have `try`/`except` blocks.
- If you use daily data and place a [Scheduled Event](https://www.quantconnect.com/docs/v2/writing-algorithms/scheduled-events.md) to rebalance the portfolio, set the time rule to 8 AM.
- Use current QuantConnect LEAN APIs and patterns; avoid deprecated methods.
- Match scheduling cadence to data resolution (daily vs intraday vs monthly).
- The backtest period must be the last 5 years `self.set_start_date(self.end_date - timedelta(5*365))` backtest period.
- Follow [PEP8-style](https://peps.python.org/pep-0008/) readability with a maximum line length of 120 characters.
- Add a leading underscore to private class members.
- Keep total backtest runtime under 1 hour.
- Use the [default models](https://www.quantconnect.com/docs/v2/writing-algorithms/reality-modeling/key-concepts.md). Do not override models to artificially improve performance. For example:

  - Do not override the [transaction fees model](https://www.quantconnect.com/docs/v2/writing-algorithms/reality-modeling/transaction-fees/key-concepts.md) to reduce/eliminate fees.
  - Do not increase the leverage, see [Buying power model](https://www.quantconnect.com/docs/v2/writing-algorithms/reality-modeling/buying-power.md).
  - Do not disable [Option assignments](https://www.quantconnect.com/docs/v2/writing-algorithms/reality-modeling/options-models/assignment.md#06-Disable-Assignments).
- Strategies must not add or modify [CashBook cash balances](https://www.quantconnect.com/docs/v2/writing-algorithms/portfolio/cashbook.md) during a backtest (no cash deposits or withdrawals). Initial capital must be set only via `self.set_cash()` or `self.set_account_currency()`.
- If the algorithm has regular rebalances (weekly, monthly, quarterly, etc), call your rebalance logic in [on_warmup_finished](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/event-handlers.md#07-Warmup-Finished-Event) so the start of the equity curve isn't flat.
