Python Tutorial for Traders

Python

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

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