Python Tutorial for Traders

Python

Python Code for Generating Nifty Weekly Expiry Dates Using…

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

Predicting Stock Price and Market Direction using XGBoost Machine…

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

Learning Linear Regression – Simple Machine Learning Based Prediction…

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

Introduction to Pandas DataFrame – Python Tutorial for Traders…

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

Introduction to Pandas DataFrame – Python Tutorial for Traders…

Pandas is an open-source Python library that is widely used for data manipulation and analysis. One of the most popular features of Pandas is...
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 the performance of...
Rajandran R
3 min read

Supertrend Algomojo Trading Strategy using Algomojo and yfinance

Supertrend is a simple ATR-based trend-following strategy that identifies the current trend and mages the risk dynamically with ATR-based trailing stoploss. In this blog,...
Rajandran R
6 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 analyzing the relationships...
Rajandran R
2 min read

Nifty Monthly and Quarterly Returns Heatmap Generation using yfinance…

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

How to Plot Candlestick Charts, Moving Averages, Drawdown using…

In this tutorial, we use the nsepy library to get historical data for the RELIANCE stock from the National Stock Exchange (NSE) in India....
Rajandran R
2 min read

Writing your First Python Automation using Algomojo and yfinance…

In recent years, there has been a significant increase in the use of automated trading strategies in the financial markets. With the advent of...
Rajandran R
2 min read

How to AutoGenerate TOTP for Automated Login using Python…

In this tutorial, we are going to autogenerate time-based TOTP using python for Automated Login purposes. TOTP-based login verification is a standard now most...
Rajandran R
1 min read