• Stars
    star
    467
  • Rank 91,870 (Top 2 %)
  • Language
    Jupyter Notebook
  • License
    Apache License 2.0
  • Created over 6 years ago
  • Updated about 2 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#
8,880
star
2

Tutorials

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

lean-cli

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

Documentation

QuantConnect Wiki Style Documentation Behind QuantConnect
HTML
159
star
5

IBAutomater

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

quantconnect-cli

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

LeanReportCreator

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

Lean.Brokerages.InteractiveBrokers

InteractiveBrokers Brokerage Plugin
C#
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#
13
star
11

quantconnect-stubs-generator

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

Lean.Brokerages.Zerodha

Zerodha Brokerage Plugin
C#
11
star
13

AlphaStreams

Alpha Streams Public SDK.
Jupyter Notebook
10
star
14

Lean.Brokerages.OANDA

OANDA Brokerage Implementation
C#
7
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.Brokerages.TerminalLink

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

Lean.Brokerages.ByBit

ByBit Brokerage Integration to LEAN
C#
4
star
21

Lean.DataSource.ThetaData

Integration with ThetaData for Options History and Live Streaming
C#
4
star
22

Lean.DataSource.QuiverQuantWallStreetBets

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

Lean.DataSource.ExtractAlphaTrueBeats

ExtractAlpha True Beats Implementation
C#
3
star
24

Lean.DataSource.CoinGecko

Coin Gecko Lean Alternative Data
C#
3
star
25

Lean.DataSource.Tiingo

C#
3
star
26

Lean.Brokerages.Atreyu

Atreyu Lean brokerage implementation
C#
3
star
27

Lean.DataSource.NasdaqDataLink

Nasdaq Data Link dataset
C#
3
star
28

Lean.Reference

Formatted LEAN Class/API Reference by Doxygen
CSS
3
star
29

Lean.DataSource.BybitFundingRate

ByBit Margin Perp Funding Rates
C#
3
star
30

Lean.Brokerages.Binance

Binance Brokerage Plugin
C#
2
star
31

Lean.Brokerages.Tradier

Tradier Brokerage Implementation
C#
2
star
32

Lean.DataSource.InteractiveBrokersShortStock

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

Lean.Brokerages.Exante

Exante Brokerage Plugin
C#
2
star
34

Lean.DataSource.CBOE

C#
2
star
35

Lean.DataSource.QuiverQuantWikipedia

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

Lean.Brokerages.Coinbase

Coinbase Pro brokerage template
C#
2
star
37

Lean.Brokerages.Wolverine

Wolverine Execution and Routing
C#
2
star
38

Lean.DataSource.SEC

C#
2
star
39

Lean.DataSource.HuggingFace

HuggingFace caching for the QuantConnect Community
Python
2
star
40

Lean.DataSource.Polygon

LEAN Polygon Data Source
C#
2
star
41

Lean.DataSource.QuiverQuantEventsBeta

C#
1
star
42

Lean.Brokerages.Bitfinex

Bitfinex Brokerage Plugin
C#
1
star
43

Lean.Brokerages.Kraken

Kraken Brokerage Plugin
C#
1
star
44

Lean.DataSource.FRED

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

Lean.DataSource.USEnergy

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

Lean.DataSource.Regalytics

C#
1
star
47

Lean.DataSource.CryptoCoarseFundamentalUniverse

Crypto Coarse Fundamental Universe Alternative Data
C#
1
star
48

Lean.DataSource.USTreasury

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

Lean.DataSource.SmartInsiderIntentionsTransactions

C#
1
star
50

Lean.Brokerages.FTX

FTX Brokerage Plugin
C#
1
star
51

Lean.DataSource.QuiverQuantTwitterFollowers

Quiver Quant Twitter Followers
C#
1
star
52

Lean.DataSource.VIXCentral

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

Lean.DataSource.BrainSentiment

C#
1
star
54

Lean.Brokerages.TradeStation

TradeStation Brokerage Plugin
C#
1
star
55

Lean.DataSource.FactSet

Implementation to the public FactSet Data API.
C#
1
star
56

Lean.DataSource.BenzingaNews

C#
1
star
57

Lean.DataSource.IQFeed

LEAN IQFeed Data Source
C#
1
star