Python

Halftrend Indicator – Python Code

Halftrend is a Trend trend-following indicator that could manage the sideways market better. In this tutorial, we will be building Halftrend using pandas_ta and...
Rajandran R
2 min read

Mastering VectorBT – Superfast Supertrend Grid Optimization – Part…

VectorBT provides a robust framework for optimizing trading strategies more efficiently, enabling the selection of the best parameters and fine-tuning of the strategy. In...
Rajandran R
5 min read

Using Plotly and Pandas TA to Plot Technical Indicators…

Plotly combined with pandas_ta is a great tool for visualizing technical indicators and Plotly python library comes with better customization in creating various chart...
Rajandran R
2 min read

Create a Simple RSI Filter Crossing Above 80 –…

Here is a simple Python code that filters the dates when the RSI crosses above 80 and also computes the next 5-day, 10-day, and...
Rajandran R
2 min read

How to Fetch Realtime Stock Market Quotes using SmartAPI…

SmartAPI, provided by Angel Broking, offers a robust solution for traders and developers looking to integrate real-time stock market data into their applications. Utilizing...
Rajandran R
6 min read

Mastering Python F-String Formatting: A Trader’s Guide

F-String, introduced in Python 3.6, stands for "Formatted String Literals." It's a way to format strings in Python, allowing for easier and more readable...
Rajandran R
5 min read

How to Perform Machine Learning Using Amibroker and Python

Amibroker is a powerful technical analysis and trading system development platform, used extensively by traders and analysts for developing and deploying trading strategies. Python,...
Rajandran R
5 min read

Top Quant Python Libraries for Quantitative Finance

quantitative-finance, python, pandas, NumPy, SciPy, scikit-learn, statsmodels, QuantLib, zipline, TensorFlow, pyfolio, yfinance, seaborn, Plotly, Streamlit, TA-Lib, pandas_ta
Rajandran R
4 min read

Introduction to NumPy – Python Tutorials for Traders

NumPy is a Python library that provides support for large, multi-dimensional arrays and matrices, along with a large collection of mathematical functions to operate...
Rajandran R
4 min read

Predicting Gap Up, Gap Down, or No Gap in…

Logistic Regression is a popular statistical method used for predicting binary outcomes, such as predicting whether an email is spam or not, whether a...
Rajandran R
4 min read

A Quick Start Guide to Compute Correlation Matrix in…

A correlation matrix is a quantitative tool used in finance, statistics, and other fields to measure and visualize the relationships between multiple variables. In...
Rajandran R
2 min read

AdaBoost – Ensembling Methods in Machine Learning for Stock…

In this article, we will discuss how ensembling methods, specifically bagging, boosting, stacking, and blending, can be applied to enhance stock market prediction. And...
Rajandran R
7 min read