This folder contains different Python and R scripts you can use to learn how to trade in the financial markets algorithmically. These code scripts come from the QuantInsti Blog where we publish content related to algorithmic trading. Usually, we have for each Blog, a code script where we develop a trading strategy, a model algorithm, a new technique in the algo trading space, etc. This repository serves the purpose of finding all those code scripts in a single place. Please enjoy the most of it by searching your specific topic, find the code and tweak as per your own trading needs.
The code scripts and/or their strategies are just templates. You should only use them for live trading with appropriate backtesting and tweaking strategy parameters.
-
- Trading is not appropriate for all investors and carries a significant risk.
- Markets are unpredictable, and past performance does not guarantee future outcomes.
- The code scripts and the strategies/techniques/models provided here are for educational purposes only; they are not investing advice.
-
- Trading experience: The code scripts and the strategies/techniques/models provided here assume that traders possess the necessary expertise to apprehend the risks and customize the templates according to their risk tolerance and preferences.
- Risk capital: Trading should only be done with risk capital, and only people with enough of it should consider trading. It is not advisable to trade with capital that can affect one's way of life or one's financial commitments. Market volatility: The code scripts and the strategies/techniques/models provided here are contingent upon the market's state and may not yield anticipated results during periods of high market volatility or atypical occurrences.
- No promises: Trading losses are possible, and neither success nor profit are certain.
-
- Before implementing any code script and the strategies/techniques/models provided here, you must conduct independent research and due diligence.
- Trading involves emotions, and managing your emotions and risk tolerance is crucial.
-
Accountability
- By utilizing these code scripts and the strategies/techniques/models detailed in this repository, you agree that:
QuantInsti's EPAT and Quantra content teams are responsible for maintaining and contributing to this repository.
In case of questions, please write to:
- Your support manager (if you’re a present EPAT student)
- The alumni team (if you’re a past EPAT student and an alumnus)
- QuantInsti coordinates you, see on our “Contact Us” page: https://www.quantinsti.com/contact-us
- TGAN synthetic data for trading
- The Risk-Constrained Kelly Criterion
- A novel drift detection algorithm for machine learning in trading
- The Boruta-Shap Algorithm: A CPU-and-GPU version
- Directional Change in Trading: Indicators, Python Coding, and HMM Strategies
- Faster Downloads using Python Multithreading
- Ito's Lemma Applied to Stock Trading
- Trading using GPU-based RAPIDS Libraries from Nvidia
- A time-varying-parameter vector autoregression model with stochastic volatility
- The Triple Barrier Method: A Python GPU-based computation
- Five Indicators To Build Trend-Following Strategies
- Modelling Asymmetric Volatility with the GJR-GARCH Framework
- Forecasting Stock Prices Using ARIMA Model
- Portfolio Optimization Using Monte Carlo Simulation
- Building a Trading Strategy using Bias-Variance Decomposition
- Beginner's Guide to Machine Learning Classification in Python
- RSI Indicator: Calculation, Python Implementation and Trading Strategy
- Building Blocks of Bias-Variance Tradeoff for Trading the Financial Markets