Skip to content

Streamlit App for Options pricing, Correlation analysis, Live trading signals used in competition. Realized 16.4% gain over S&P500 from 09/23-11/23.

Notifications You must be signed in to change notification settings

RobertCastagna/Quant_Trading

Repository files navigation

Quant Trading App

I developed a browser and mobile-based trading tool used to compete in the TMX Options trading contest hosted from September 18 to November 10, 2023. Over the 8 weeks, I implemented and applied multiple indicator based trading strategies including RSI, MACD, gap trading methodologies. There were additions made to include a web-based backtesting tool, along with a simple correlation heatmap for mean reversion strategies.

Live demo here

General Information

  • The purpose of this project was to provide live quantitative insights accessible from anywhere to assist with live trading. It was built on top of free API market data and served as a tool for options pricing, and trade backtesting.
  • I undertook this development beause we were functioning in a team of technical and non-technical traders and wanted to level the playing field for everyone to have access to the same resources.

Technologies Used

Features

Home Page:

  • 5min price data chart
  • open, close, high, low, volume data
  • indicator based trading signals (red/ green notifications)

image

Strategy Page:

  • Options pricing tools (binomial, Black Scholes)
  • MACD, RSI Oscillation, Swing Trading, Mean Reversion backtesting tool

image image

Correlation Tool:

  • Simple correlation heatmap

Watchlist:

  • editable list of indicators so a user can modify app from their phone

Project Status

Project is: no longer being worked on. Improvements may be made in the future, specifically on the backtesting tool. I plan to study trading algorithms in further depth, and will rewrite a significant portion of the existing trading strategies in this repository.

Results of Competition

  • Realized a gain of 15.6% over 8 week competition while performance of S&P500 was -0.86% over the same time period.

image

Acknowledgements

  • Many thanks to Mitch Kalins (https://www.linkedin.com/in/mkalins/) for a lot of help with the strategy development and portfolio research that was done over the course of the TMX Options Trading Competiton. His ideas contributed to the feature development of the app.

Contact

Created by @Robert Castagna - feel free to contact me!

About

Streamlit App for Options pricing, Correlation analysis, Live trading signals used in competition. Realized 16.4% gain over S&P500 from 09/23-11/23.

Resources

Stars

Watchers

Forks

Languages