Python

Python Tutorial for Traders

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...
Rajandran R
4 min read

Predicting Gap Up, Gap Down, or No Gap in Stock Prices using Logistic Regression

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

A Quick Start Guide to Compute Correlation Matrix in Python using yFinance, Seaborn and Pandas

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

AdaBoost – Ensembling Methods in Machine Learning for Stock Market Prediction using Python

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

Python Code for Generating Nifty Weekly Expiry Dates Using ChatGPT-4

The National Stock Exchange of India (NSE) is one of the largest stock exchanges in the world, with Nifty being its...
Rajandran R
2 min read

Predicting Stock Price and Market Direction using XGBoost Machine Learning Algorithm

Forecasting the trajectory of the stock market remains an elusive endeavor for both investors and traders alike. A myriad of methods...
Rajandran R
4 min read

Learning Linear Regression – Simple Machine Learning Based Prediction Algorithm for Forecasting Stock Price

Linear regression is a type of supervised learning algorithm that makes predictions based on a linear relationship between the input variables...
Rajandran R
4 min read

Introduction to Pandas DataFrame – Python Tutorial for Traders – Part 2

In the first part of this pandas tutorial for traders, we explored creating and manipulating Pandas DataFrames using the yfinance library...
Rajandran R
3 min read

Introduction to Pandas DataFrame – Python Tutorial for Traders – Part 1

Pandas is an open-source Python library that is widely used for data manipulation and analysis. One of the most popular features...
Rajandran R
3 min read

Nifty Daily Returns – Distribution Statistics – Python Code

The Nifty index is one of the most popular stock market indices in India among traders and investors, and it tracks...
Rajandran R
2 min read

Build a Correlation Matrix using Python Pandas and Seaborn

In finance, a correlation matrix is a matrix that shows the correlation between different variables. It is a powerful tool for...
Rajandran R
2 min read

Nifty Monthly and Quarterly Returns Heatmap Generation using yfinance and Seaborn

Everyone loves to visualize this market in their own way. Python comes in handy when comes to visualization. One of the...
Rajandran R
2 min read