• Stars
    star
    492
  • Rank 89,476 (Top 2 %)
  • Language
    Jupyter Notebook
  • License
    Apache License 2.0
  • Created about 7 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Open sourced research notebooks by the QuantConnect team.

alt tag

This repository is a collection of research notebooks and tutorials using the QuantConnect LEAN platform. Research covers a range of topics from tutorial focused demonstrations to topical analysis of modern movements in the financial markets.

Topical Events

Idea Streams PodCast

Research 2 Production Notebook Series

Analysis Examples

  • Fudamental Factor Analysis: This research applies MorningStar fundamental data to demonstrate how to select the effective factors for long/short strategies.

  • Kalman Filter Based Pairs Trading: This research demonstrates the basic principle of pairs trading and introduces the concepts of cointegration and Kalman Filter for pairs trading.

  • Mean-Variance Portfolio Optimization: This research demonstrates the mean-variance approach to asset allocation in modern portfolio theory and shows how to find the efficient frontier.

  • EMA Cross Strategy Based on VXX: This research demonstrates how to build a simple EMA cross strategy with Python and how to get the performance statistics of the strategy.

  • Pairs Trading Strategy Based on Cointegration: This research goes through the development process step-by-step of a pairs trading strategy and shows how to backtest the strategy.

More Repositories

1

Lean

Lean Algorithmic Trading Engine by QuantConnect (Python, C#)
C#
9,477
star
2

Tutorials

Jupyter notebook tutorials from QuantConnect website for Python, Finance and LEAN.
Jupyter Notebook
519
star
3

lean-cli

CLI for running the LEAN engine locally and in the cloud
Python
194
star
4

Documentation

QuantConnect Wiki Style Documentation Behind QuantConnect
HTML
171
star
5

IBAutomater

Automates IB Gateway start, stopping and restarting.
Java
103
star
6

Lean.Brokerages.InteractiveBrokers

InteractiveBrokers Brokerage Plugin
C#
30
star
7

quantconnect-cli

CLI aimed at making local development of QuantConnect algorithms easier
TypeScript
29
star
8

LeanReportCreator

Create beautiful HTML/PDF reports for sharing your LEAN backtest and live trading results.
HTML
27
star
9

FXCM

Cross platform implementation of FXCM Java Trading API in .NET for connecting with FXCM. Uses IKVM to port the Java library to a .NET DLL.
C#
15
star
10

Lean.Brokerages.TDAmeritrade

TD Ameritrade Brokerage Plugin
C#
14
star
11

quantconnect-stubs-generator

Automatically generate Python type stubs for QuantConnect's Lean
C#
13
star
12

Lean.Brokerages.Zerodha

Zerodha Brokerage Plugin
C#
13
star
13

AlphaStreams

Alpha Streams Public SDK.
Jupyter Notebook
10
star
14

Lean.Brokerages.OANDA

OANDA Brokerage Implementation
C#
6
star
15

Lean.DataSource.SDK

C#
6
star
16

Lean.Brokerages.Template

Lean Brokerages Template
C#
6
star
17

Lean.Brokerages.TradingTechnologies

Trading Technologies Brokerage Plugin
C#
6
star
18

Lean.DataSource.QuiverQuantCongressTrading

Quiver Quantitative Congress Trading Data Alternative Data
C#
5
star
19

Lean.DataSource.ThetaData

Integration with ThetaData for Options History and Live Streaming
C#
5
star
20

Lean.Brokerages.Binance

Binance Brokerage Plugin
C#
4
star
21

Lean.Brokerages.TerminalLink

Connect the QuantConnect/LEAN backtesting engine with the Bloomberg Desktop API.
C#
4
star
22

Lean.Brokerages.ByBit

ByBit Brokerage Integration to LEAN
C#
4
star
23

Lean.Reference

Formatted LEAN Class/API Reference by Doxygen
CSS
4
star
24

Lean.DataSource.QuiverQuantWallStreetBets

Example production implementation for our data marketplace Quiver Quantitative Wall Street Bets dataset.
C#
3
star
25

Lean.DataSource.ExtractAlphaTrueBeats

ExtractAlpha True Beats Implementation
C#
3
star
26

Lean.Brokerages.Tradier

Tradier Brokerage Implementation
C#
3
star
27

Lean.DataSource.CoinGecko

Coin Gecko Lean Alternative Data
C#
3
star
28

Lean.DataSource.Tiingo

C#
3
star
29

Lean.Brokerages.Atreyu

Atreyu Lean brokerage implementation
C#
3
star
30

Lean.DataSource.NasdaqDataLink

Nasdaq Data Link dataset
C#
3
star
31

Lean.DataSource.SEC

C#
3
star
32

Lean.DataSource.Polygon

LEAN Polygon Data Source
C#
3
star
33

Lean.Brokerages.Alpaca

Alpaca Brokerage Implementation
C#
2
star
34

Lean.DataSource.DerivativeUniverseGenerator

C#
2
star
35

Lean.DataSource.InteractiveBrokersShortStock

LEAN Interactive Brokers Short Stock Availability Data Source
C#
2
star
36

Lean.Brokerages.Exante

Exante Brokerage Plugin
C#
2
star
37

Lean.DataSource.CBOE

C#
2
star
38

Lean.DataSource.QuiverQuantWikipedia

Example production implementation for our data marketplace for Quiver Quantitative Wikipedia Dataset
C#
2
star
39

Lean.Brokerages.Coinbase

Coinbase Pro brokerage template
C#
2
star
40

Lean.Brokerages.Wolverine

Wolverine Execution and Routing
C#
2
star
41

Lean.Brokerages.TradeStation

TradeStation Brokerage Plugin
C#
2
star
42

Lean.DataSource.HuggingFace

HuggingFace caching for the QuantConnect Community
Python
2
star
43

Lean.DataSource.FactSet

Implementation to the public FactSet Data API.
C#
2
star
44

Lean.DataSource.QuiverQuantEventsBeta

C#
1
star
45

Lean.Brokerages.Bitfinex

Bitfinex Brokerage Plugin
C#
1
star
46

Lean.Brokerages.Kraken

Kraken Brokerage Plugin
C#
1
star
47

Lean.DataSource.FRED

Example production implementation of our data marketplace for FRED.
C#
1
star
48

Lean.DataSource.USEnergy

Example production implementation of our data marketplace for Energy Information Agency.
C#
1
star
49

Lean.DataSource.Regalytics

C#
1
star
50

Lean.DataSource.CryptoCoarseFundamentalUniverse

Crypto Coarse Fundamental Universe Alternative Data
C#
1
star
51

Lean.DataSource.USTreasury

Example production implementation of our data marketplace for US Treasury Yield Curves
C#
1
star
52

Lean.DataSource.AlphaVantage

LEAN Alpha Vantage Data Source
C#
1
star
53

Lean.DataSource.SmartInsiderIntentionsTransactions

C#
1
star
54

Lean.Brokerages.FTX

FTX Brokerage Plugin
C#
1
star
55

Lean.DataSource.QuiverQuantTwitterFollowers

Quiver Quant Twitter Followers
C#
1
star
56

Lean.DataSource.VIXCentral

Example production implementation of our data marketplace for VixCentral.
C#
1
star
57

Lean.DataSource.BrainSentiment

C#
1
star
58

Lean.DataSource.BenzingaNews

C#
1
star
59

Lean.DataSource.IQFeed

LEAN IQFeed Data Source
C#
1
star
60

Lean.DataSource.BybitFundingRate

ByBit Margin Perp Funding Rates
C#
1
star