Python Tutorial for Traders

Python

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

Mastering VectorBT – Portfolio Backtesting and Rebalancing – Part…

Portfolio backtesting is a critical aspect of quantitative finance and trading strategy development. VectorBT is a Python library that stands out for its efficiency...
Rajandran R
5 min read

Mastering VectorBT Backtesting and Optimization – Part 1 –…

VectorBT is an advanced backtesting library designed for Python programmers and quantitative analysts. It is particularly beneficial for those who require a fast, flexible,...
Rajandran R
5 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

Rolling Sharpe and Sortino Ratios – Python Code

In the realm of investment, gauging performance and risk is paramount. Two metrics stand out for their effectiveness in measuring the risk-adjusted returns of...
Rajandran R
3 min read

What is Online Machine Learning?

Online machine learning, also known as incremental or streaming machine learning, is a type of machine learning paradigm where a model learns from data...
Rajandran R
4 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