This section highlights your contributions and engagement across the QuantConnect platform — including backtests, live trades, published research, and community involvement through comments and threads. It reflects your overall activity as part of the QuantConnect community.
25.929Net Profit
0PSR
-0.443Sharpe Ratio
-0.021Alpha
0.063Beta
1.01CAR
20.4Drawdown
-1.13Loss Rate
15Parameters
1Security Types
5766Tradeable Dates
126Trades
-0.269Treynor Ratio
1.03Win Rate
4.422Net Profit
0PSR
-1.307Sharpe Ratio
-0.038Alpha
0.01Beta
0.868CAR
6.1Drawdown
-0.01Loss Rate
0Parameters
2Security Types
1827Tradeable Dates
102801Trades
-3.756Treynor Ratio
0.01Win Rate
-28.99Net Profit
0PSR
-1.19Sharpe Ratio
-0.087Alpha
-0.016Beta
-6.611CAR
32.5Drawdown
-0.02Loss Rate
169Parameters
2Security Types
1827Tradeable Dates
33951Trades
5.456Treynor Ratio
0.02Win Rate
27.589Net Profit
0.195PSR
-0.06Sharpe Ratio
-0.027Alpha
0.407Beta
4.945CAR
17Drawdown
-0.64Loss Rate
46Parameters
1Security Types
1266Tradeable Dates
363Trades
-0.014Treynor Ratio
0.48Win Rate
-5.596Net Profit
0PSR
-3.443Sharpe Ratio
-0.051Alpha
-0.004Beta
-1.144CAR
7.4Drawdown
-0.02Loss Rate
0Parameters
2Security Types
1827Tradeable Dates
16659Trades
12.141Treynor Ratio
0.01Win Rate
Derek submitted the research Futures Trend Following and Carry in Different Risk Regimes
The abstract for the QuantConnect discussion is about incorporating a volatility multiplier in a futures trend following strategy. The content will compare the performance boost achieved by including the multiplier. The calculation of carry, which is relevant to strategy #11, should be included in the write-up of that strategy. The abstract includes placeholder text (Lorem ipsum) that can be replaced with the actual content.
Derek left a comment in the discussion How to learn python coding?
Hi Oscar,
Derek left a comment in the discussion [Python] PythonIndicator.current Property Undocumented and Non-Functional
Thanks, we'll update the docs
Derek left a comment in the discussion Piotroski F-Score Investing
Hi everyone,
25.929Net Profit
0PSR
-0.443Sharpe Ratio
-0.021Alpha
0.063Beta
1.01CAR
20.4Drawdown
-1.13Loss Rate
15Parameters
1Security Types
5766Tradeable Dates
126Trades
-0.269Treynor Ratio
1.03Win Rate
4.422Net Profit
0PSR
-1.307Sharpe Ratio
-0.038Alpha
0.01Beta
0.868CAR
6.1Drawdown
-0.01Loss Rate
0Parameters
2Security Types
1827Tradeable Dates
102801Trades
-3.756Treynor Ratio
0.01Win Rate
-28.99Net Profit
0PSR
-1.19Sharpe Ratio
-0.087Alpha
-0.016Beta
-6.611CAR
32.5Drawdown
-0.02Loss Rate
169Parameters
2Security Types
1827Tradeable Dates
33951Trades
5.456Treynor Ratio
0.02Win Rate
27.589Net Profit
0.195PSR
-0.06Sharpe Ratio
-0.027Alpha
0.407Beta
4.945CAR
17Drawdown
-0.64Loss Rate
46Parameters
1Security Types
1266Tradeable Dates
363Trades
-0.014Treynor Ratio
0.48Win Rate
-5.596Net Profit
0PSR
-3.443Sharpe Ratio
-0.051Alpha
-0.004Beta
-1.144CAR
7.4Drawdown
-0.02Loss Rate
0Parameters
2Security Types
1827Tradeable Dates
16659Trades
12.141Treynor Ratio
0.01Win Rate
181.497Net Profit
7.37PSR
0.525Sharpe Ratio
0.101Alpha
1.58Beta
22.969CAR
49.2Drawdown
-0.13Loss Rate
17Parameters
1Security Types
0Tradeable Dates
17314Trades
0.116Treynor Ratio
0.08Win Rate
181.497Net Profit
7.37PSR
0.525Sharpe Ratio
0.101Alpha
1.58Beta
22.969CAR
49.2Drawdown
-0.13Loss Rate
17Parameters
1Security Types
0Tradeable Dates
17314Trades
0.116Treynor Ratio
0.08Win Rate
104.576Net Profit
4.235PSR
0.392Sharpe Ratio
0.026Alpha
1.164Beta
15.373CAR
29.3Drawdown
-0.09Loss Rate
22Parameters
1Security Types
0Tradeable Dates
8964Trades
0.075Treynor Ratio
0.11Win Rate
68.805Net Profit
2.15PSR
0.269Sharpe Ratio
-0.006Alpha
1.035Beta
11.027CAR
25.9Drawdown
-0.03Loss Rate
20Parameters
1Security Types
0Tradeable Dates
21439Trades
0.046Treynor Ratio
0.04Win Rate
159.426Net Profit
7.699PSR
0.523Sharpe Ratio
0.065Alpha
1.313Beta
20.98CAR
35.5Drawdown
-0.28Loss Rate
19Parameters
1Security Types
0Tradeable Dates
3781Trades
0.102Treynor Ratio
0.31Win Rate
79.861Net Profit
3.585PSR
0.363Sharpe Ratio
0Alpha
1.001Beta
12.445CAR
24.5Drawdown
0Loss Rate
10Parameters
1Security Types
1255Tradeable Dates
1Trades
0.052Treynor Ratio
0Win Rate
158.179Net Profit
7.609PSR
0.52Sharpe Ratio
0.064Alpha
1.312Beta
20.863CAR
35.3Drawdown
-0.28Loss Rate
19Parameters
1Security Types
0Tradeable Dates
3779Trades
0.101Treynor Ratio
0.31Win Rate
0Net Profit
0PSR
0Sharpe Ratio
0Alpha
0Beta
0CAR
0Drawdown
0Loss Rate
0Parameters
1Security Types
0Tradeable Dates
0Trades
0Treynor Ratio
0Win Rate
120.814Net Profit
21.495PSR
0.778Sharpe Ratio
0.059Alpha
0.346Beta
17.148CAR
14.2Drawdown
-1.03Loss Rate
10Parameters
2Security Types
1826Tradeable Dates
160Trades
0.225Treynor Ratio
2.17Win Rate
200.032Net Profit
8.058PSR
0.549Sharpe Ratio
0.102Alpha
1.722Beta
24.596CAR
47Drawdown
-0.7Loss Rate
15Parameters
1Security Types
0Tradeable Dates
1651Trades
0.118Treynor Ratio
0.63Win Rate
105.926Net Profit
5.387PSR
0.436Sharpe Ratio
0.022Alpha
1.033Beta
15.536CAR
28.1Drawdown
-1.26Loss Rate
22Parameters
2Security Types
1254Tradeable Dates
385Trades
0.079Treynor Ratio
1.19Win Rate
-56.509Net Profit
0PSR
-0.608Sharpe Ratio
-0.053Alpha
-0.092Beta
-6.698CAR
59.8Drawdown
-0.15Loss Rate
0Parameters
4Security Types
4383Tradeable Dates
6788Trades
0.665Treynor Ratio
0.14Win Rate
804.304Net Profit
5.69PSR
0.682Sharpe Ratio
0.028Alpha
1.158Beta
19.093CAR
35.1Drawdown
0Loss Rate
9Parameters
1Security Types
3167Tradeable Dates
1Trades
0.105Treynor Ratio
0Win Rate
417.362Net Profit
2.263PSR
0.564Sharpe Ratio
0Alpha
0.999Beta
13.931CAR
33.7Drawdown
0Loss Rate
9Parameters
1Security Types
3167Tradeable Dates
1Trades
0.08Treynor Ratio
0Win Rate
465.811Net Profit
18.009PSR
0.838Sharpe Ratio
0.054Alpha
0.312Beta
14.739CAR
14.2Drawdown
-0.87Loss Rate
14Parameters
2Security Types
4600Tradeable Dates
378Trades
0.254Treynor Ratio
1.9Win Rate
17.655Net Profit
0PSR
-0.273Sharpe Ratio
-0.018Alpha
0.036Beta
0.777CAR
24.9Drawdown
-0.01Loss Rate
30Parameters
2Security Types
7671Tradeable Dates
268847Trades
-0.429Treynor Ratio
0.01Win Rate
0Net Profit
0PSR
0Sharpe Ratio
0Alpha
0Beta
0CAR
0Drawdown
0Loss Rate
0Parameters
1Security Types
0Tradeable Dates
0Trades
0Treynor Ratio
0Win Rate
0Net Profit
0PSR
0Sharpe Ratio
0Alpha
0Beta
0CAR
0Drawdown
0Loss Rate
0Parameters
1Security Types
0Tradeable Dates
0Trades
0Treynor Ratio
0Win Rate
153.865Net Profit
19.322PSR
0.756Sharpe Ratio
0.061Alpha
0.731Beta
20.291CAR
24.1Drawdown
-0.35Loss Rate
25Parameters
1Security Types
1264Tradeable Dates
100Trades
0.142Treynor Ratio
2.9Win Rate
798.69Net Profit
3.859PSR
0.602Sharpe Ratio
0.079Alpha
1.474Beta
24.535CAR
55.5Drawdown
-0.61Loss Rate
19Parameters
1Security Types
0Tradeable Dates
3652Trades
0.136Treynor Ratio
0.52Win Rate
293.663Net Profit
3.309PSR
0.552Sharpe Ratio
0Alpha
0.999Beta
14.675CAR
33.7Drawdown
0Loss Rate
10Parameters
1Security Types
2513Tradeable Dates
1Trades
0.082Treynor Ratio
0Win Rate
798.69Net Profit
3.859PSR
0.602Sharpe Ratio
0.079Alpha
1.474Beta
24.535CAR
55.5Drawdown
-0.61Loss Rate
16Parameters
1Security Types
0Tradeable Dates
3652Trades
0.136Treynor Ratio
0.52Win Rate
7.822Net Profit
12.388PSR
0.063Sharpe Ratio
0.003Alpha
0.001Beta
7.874CAR
6Drawdown
-0.02Loss Rate
57Parameters
1Security Types
250Tradeable Dates
1999Trades
2.754Treynor Ratio
0.03Win Rate
28.621Net Profit
0PSR
-0.123Sharpe Ratio
-0.01Alpha
0.008Beta
2.411CAR
17.9Drawdown
-0.03Loss Rate
44Parameters
1Security Types
2653Tradeable Dates
71334Trades
-1.081Treynor Ratio
0.02Win Rate
785.012Net Profit
5.096PSR
0.642Sharpe Ratio
0.051Alpha
1.326Beta
22.92CAR
47.8Drawdown
-0.21Loss Rate
45Parameters
1Security Types
2653Tradeable Dates
8533Trades
0.123Treynor Ratio
0.17Win Rate
Derek submitted the research Futures Trend Following and Carry in Different Risk Regimes
The abstract for the QuantConnect discussion is about incorporating a volatility multiplier in a futures trend following strategy. The content will compare the performance boost achieved by including the multiplier. The calculation of carry, which is relevant to strategy #11, should be included in the write-up of that strategy. The abstract includes placeholder text (Lorem ipsum) that can be replaced with the actual content.
Derek left a comment in the discussion Statistics of credit spreads backtests are innacurate
Hi Cedric,
Derek left a comment in the discussion How to learn python coding?
Hi Oscar,
Derek left a comment in the discussion [Python] PythonIndicator.current Property Undocumented and Non-Functional
Thanks, we'll update the docs
Derek left a comment in the discussion Piotroski F-Score Investing
Hi everyone,
Derek left a comment in the discussion Gradient Boosting Model
Hi Ben,
Derek left a comment in the discussion QuantConnect MCP Server
Hi Hao, (1) we are in the process of testing various integrations and will be creating docs for...
Derek submitted the research Combined Carry and Trend
This research is a re-creation of strategy #11 from Advanced Futures Trading Strategies (Carver, 2023) that combines carry and trend strategies in futures trading. The algorithm incorporates exponential moving average crossover (EMAC) trend forecasts and carry forecasts to form a diversified portfolio. The results show that using both styles of strategies can improve risk-adjusted returns. Additionally, the research provides a background on how carry returns are calculated for different asset classes and how the strategy calculates and smooths carry from different future contracts.
Derek submitted the research Probabilistic Sharpe Ratio
The Probabilistic Sharpe Ratio (PSR) is a method for evaluating investment performance that takes into account the non-normality of returns. The traditional Sharpe ratio assumes that returns are normally distributed, which can lead to misleading results for strategies with non-normal returns. The PSR addresses this limitation by considering the distribution of returns and estimating the probability that a given Sharpe ratio is a result of skill rather than luck. This provides a more accurate measure of a strategy's performance and allows for better comparisons between different strategies. The PSR is particularly useful for strategies with non-normal returns, as it takes into account the impact of skewness and kurtosis on the statistical significance of the observed Sharpe ratio.
Derek submitted the research Copying Congress Trades
This research explores a trading algorithm that mimics trades made by U.S. Congress members, leveraging their privileged access to market-moving information. The Stop Trading on Congressional Knowledge (STOCK) Act mandates disclosure of such trades, enabling public access. Using the Quiver Quantitative dataset, the algorithm employs an inverse-volatility weighting scheme to balance risk across assets, limiting individual asset exposure to 10% to mitigate concentration risk. By forming a portfolio based on these disclosures, the strategy aims to capitalize on the informational advantage indirectly.
Derek submitted the research Automating the Wheel Strategy
The Wheel strategy is a popular options trading approach that generates steady income from equities intended for long-term holding. It involves selling cash-secured puts and covered calls. Initially, out-of-the-money (OTM) puts are sold until shares are assigned. Once shares are held, OTM covered calls are sold until exercised. This strategy generates income through premiums from option sales. The underlying equity should be one the trader is comfortable owning. For implementation, SPY was used as the underlying asset, chosen for its stability and long-term hold potential. The strategy offers built-in risk management and downside protection by effectively managing option assignments and sales.
Derek submitted the research Sector Rotation Based On News Sentiment
Abstract: This tutorial explores a sector rotation strategy based on news sentiment using the LEAN algorithmic trading engine and datasets from the QuantConnect Dataset Market. The strategy involves monitoring the news sentiment for 25 different sector Exchange Traded Funds (ETFs) and periodically rebalancing the portfolio to maximize exposure to sectors with the highest public sentiment. Backtesting results demonstrate that the strategy consistently outperforms benchmark approaches. The tutorial provides details on universe selection, implementation, and presents equity curves and Sharpe ratios for different versions of the strategy and benchmarks. To replicate the results, users are encouraged to clone and backtest each algorithm.
Derek submitted the research Country Rotation Based On Regulatory Alerts Sentiment
Abstract: This tutorial explores four alternative data strategies that utilize the US Regulatory Alerts dataset to make trading decisions. The strategies include capitalizing on movement in the healthcare sector in response to FDA announcements, capturing momentum in the Bitcoin-USD trading pair based on new Crypto regulations, exploiting trading patterns in the SPY based on specific regulatory alerts, and a country rotation strategy using NLP to detect sentiment in country ETFs. The results show that all four strategies outperform their respective benchmarks. The tutorial also discusses NLP and its role in trading strategies, as well as the implementation of the four strategies using the LEAN algorithmic trading engine.
Derek submitted the research Detecting Impactful News In ETF Constituents
Abstract: This tutorial focuses on utilizing natural language processing (NLP) to detect impactful news in ETF constituents. Building upon a previous NLP strategy, we monitor the Tiingo News Feed to determine intraday news sentiment of the largest constituents in the Nasdaq-100 index, while avoiding look-ahead bias. The results indicate that this strategy has experienced lower risk-adjusted returns compared to the QQQ ETF over the past two years. The tutorial discusses the implementation of this strategy as a framework algorithm using the LEAN trading engine, including universe selection and portfolio construction. Backtesting results show a Sharpe ratio of -0.659, with comparisons to other benchmarks provided.
Derek submitted the research Futures Spot Trend
Abstract: This discussion focuses on the concept of Futures Spot Trend and the need to resolve a specific issue on GitHub before publishing the research. The abstract provides a concise summary of the research, including the purpose, methods, key findings, and implications. It also highlights the significance of the research topic and outlines the research objectives or questions. The research design and techniques employed to address the objectives or answer the questions are described in the Method section, including data collection, participants, materials, and analyses performed. The Results section presents the findings obtained from the analysis of the collected data, supported by tables, figures, and statistical measures. The Discussion section interprets the results, analyzes their implications, compares them with previous studies, and addresses the limitations of the research. The Conclusion summarizes the main findings and suggests practical implications or recommendations based on the results. The References section lists all the sources cited within the research write-up.
Derek submitted the research Trend and Carry Allocation
This QuantConnect research post extends the Combined Carry and Trend futures strategy by dynamically adjusting how much weight is assigned to each forecast. Instead of using a fixed 60/40 trend/carry mix, the algorithm measures the trailing one-year relative performance of trend versus carry signals, then allocates more weight to the factor that has recently performed better. The approach is implemented across 18 futures markets in LEAN, with smoothing to avoid abrupt allocation changes. In the July 2020–July 2023 backtest, the adaptive model achieved a 1.11 Sharpe ratio, outperforming fixed-weight and volatility-regime alternatives.
Derek submitted the research Head & Shoulders TA Pattern Detection
This discussion focuses on the detection of the head and shoulders pattern in technical analysis. While technical analysis traders commonly use graphical patterns to identify trading opportunities, quant traders tend to overlook them due to subjectivity and difficulty in accurate detection. However, this tutorial presents a method to programmatically detect the head and shoulders pattern in an event-driven trading algorithm. The algorithm achieves greater risk-adjusted returns than the benchmarks during the backtesting period. The head and shoulders pattern consists of two shoulders, a tall head, and a neckline. It is believed to signal a bullish-to-bearish trend reversal. Further research can include testing other technical patterns, adjusting algorithm parameters, exploring new position sizing techniques, implementing different exit strategies, and incorporating risk management for corporate actions.
Derek submitted the research Futures Fast Trend Following, with Trend Strength
This research focuses on Futures Fast Trend Following strategies that can be applied to both long and short positions, taking into account the strength of the trend. The purpose of the research is to explore the effectiveness of these strategies and their potential implications for trading in the futures market. The research utilizes various methods to analyze historical data and identify trends, and the key findings highlight the profitability and consistency of the trend following strategies. The implications of the research suggest that these strategies can be valuable tools for traders seeking to capitalize on trends in the futures market.
Derek started the discussion New Insight Manager and Updates for Risk Management Models
Hi everyone,
Derek started the discussion Plot Backtest Trade Fills in the Research Environment
Hi everyone!
Derek submitted the research Gradient Boosting Model
This tutorial focuses on training a Gradient Boosting Model (GBM) to forecast intraday price movements of the SPY ETF using technical indicators. The implementation is based on research by Zhou et al (2013), who found that a GBM produced a high annualized Sharpe ratio. However, the tutorial's research shows that the model underperforms the SPY with its current parameter set during a 5-year backtest. The tutorial concludes by suggesting potential areas of further research to improve the model's performance. The GBM is trained by iteratively building regression trees to predict pseudo-residuals and making predictions based on the learning rate and regression tree outputs. Technical indicator values are used as inputs, and the mean squared error loss function is used to assess the model's performance.
Derek submitted the research Using News Sentiment To Predict Price Direction Of Drug Manufacturers
Abstract: This tutorial explores the use of news sentiment to predict the price direction of drug manufacturers. By implementing an intraday strategy, we aim to capitalize on the upward drift in stock prices following positive news releases. Our findings show that combining this effect with the day-of-the-week anomaly can lead to profitable trading during the 2020 stock market crash. However, our algorithm underperforms the S&P 500 market index ETF, SPY, during the same period. The algorithm is inspired by the work of Isah, Shah, & Zulkernine (2018). We conclude that while the sentiment analysis strategy may not provide accurate results in the US drug manufacturing industry, profitability can be achieved by restricting trading to the most profitable day of the week. The strategy produces a negative Sharpe ratio of -1.
Derek submitted the research Gaussian Naive Bayes Model
Abstract: This discussion focuses on the Gaussian Naïve Bayes (GNB) model and its application in forecasting the daily returns of stocks in the technology sector. The GNB model is trained using historical returns of the sector and compared to the performance of the SPY ETF over a 5-year backtest and during the 2020 stock market crash. The implementation of the GNB model shows a higher Sharpe ratio and lower variance compared to the SPY ETF. The algorithm used in this discussion is based on previous research and follows the principles of Naïve Bayes models. The GNB model assumes independence and normal distribution of feature vectors.
Derek submitted the research Sortino Portfolio Optimization with Alpha Streams Algorithms
QuantConnect provides trading infrastructure and data for quants to develop and deploy algorithmic trading strategies. They offer the Alpha Streams platform for quants to license their proprietary signals to investors. To assist investors in analyzing the performance of these signals, QuantConnect has released a new notebook that determines the optimal portfolio weights for each alpha, maximizing the portfolio's Sortino ratio. The Sortino ratio measures the strategy's average daily return in excess of a risk-free rate, divided by the standard deviation of negative daily returns. The notebook uses a walk-forward approach to avoid bias and overfitting, and the optimization is done on a rolling monthly basis.
Derek started the discussion Strategy Library Addition: Gaussian Naive Bayes Model
Hi everyone,
Derek submitted the research Residual Momentum
Residual momentum is a strategy where stocks with higher monthly residual returns outperform those with lower returns. It has been found to have less exposure to Fama-French factors, higher Sharpe ratios, and better out-of-sample performance compared to total return momentum strategies. Residual momentum is also more stable throughout the business cycle and tends to underperform during trending periods but outperform during reverting periods. This strategy is less concentrated in small-cap stocks, leading to lower trading costs and minimizing the impact of tax-loss selling. The algorithm imports custom data, selects a universe of stocks based on fundamental data and market cap, and rebalances the portfolio monthly by longing the top 10% and shorting the bottom 10% of stocks based on their scores.
Derek submitted the research Intraday ETF Momentum
This tutorial implements an intraday momentum strategy for trading actively traded ETFs. The strategy predicts the sign of the last half-hour return based on the return generated in the first half-hour of the trading day. The algorithm is a recreation of the research conducted by Gao, Han, Li, and Zhou (2017), which found that this momentum pattern is statistically and economically significant. The tutorial provides background information on the characteristics of the opening and closing periods of trading, as well as the selection of ETFs for the strategy. The conclusion states that the momentum pattern produces lower returns compared to the S&P 500 benchmark, but outperforms the benchmark during the downfall of the 2020 crash.
Derek submitted the research Ichimoku Clouds In The Energy Sector
Derek submitted the research Intraday Arbitrage Between Index ETFs
Derek started the discussion Strategy Library Addition: Intraday ETF Momentum
Hi everyone,
Derek started the discussion Strategy Library Addition: Momentum in Mutual Fund Returns
Hi everyone,
QuantConnect Boot Camp is a comprehensive educational program designed to help individuals learn algorithmic trading and quantitative finance using the QuantConnect platform.
Get this certificate by completing QuantConnect Boot Camp Courses
Derek left a comment in the discussion Statistics of credit spreads backtests are innacurate
Hi Cedric,
3 months ago