Sign in

Founder @CodeX (medium.com/codex), a medium publication connected with code and technology | https://www.linkedin.com/in/nikhil-adithyan-32a8b91a5/

CODEX

Follow the steps to submit your article to CodeX

Image by Author

What is CodeX?

CodeX is a medium publication that aims at providing top-notch content based on technology & coding.

We expect writers who submit their articles to CodeX must fall under the category of computer science, innovative technology, programming, coding & computer science concepts, personal experience in tech or coding, tech in major fields (like Healthcare, education, and so on).

Points to remember

  • Make sure that your article is a grammatical-error-free article (highly recommended to use Grammarly or its chrome extension).
  • Ensure that you have the rights to use the images that are posted on your article (Image source must be cited below the image). …


Source

Learn to make better trades with the most popular trading indicator in python

While there are other momentum oscillators like the Stochastic Oscillator and the Awesome Oscillator, the one we will discuss today is considered the most popular among traders and a great one for beginner traders. It is none other than the Relative Strength Index, shortly known as RSI. In this article, we will build some basic intuitions about RSI and its calculation, then, we will be creating this indicator from scratch and build a trading strategy based on it in python. Without further ado, let’s dive into the article.

Relative Strength Index (RSI)

Before moving on, let’s first gain an understanding of what an Oscillator…


Implementing and backtesting an AO-based powerful trading strategy to make bitcoin trades in python

Image by Sylvia Boomer Yang

In recent days, the hype surrounding Bitcoin or cryptocurrency has only increased and has never seen a decline in momentum. While Bitcoin is reaching record-breaking heights, many speculators believe that it is just another bubble and can burst at any time. Also, while analyzing the reason behind the sudden price hikes in Bitcoin, it seems that human mentality and greed play a vital role. After considering these facts, we could say that the Bitcoin market is one of the most volatile and riskier markets to trade-in. Fortunately, with the help of Algorithmic Trading, we could handle this volatile market safely…


Photo by Nataliya Vaitkevich from Pexels

A step-by-step guide to making seamless stock trades by algorithmic trading with a powerful technical indicator in python

Introduction

With the increasing amount of technological inventions, the methods of stock trading have also evolved since then. When we look back to the distant past like the 1980s or even 1990s, Wall Street would look something like a ground to hustle among the traders. We could barely understand what’s going around and traders would yell and shout among themselves to buy a stock in an auction. Could you believe that stocks are bought in an auction? Thanks to the researchers and engineers who built and revolutionized the stock market division by introducing it to the world of technology.

Even though…


Learn to implement and backtest one of the most popular trading indicators with python

Photo by Chris Liverani on Unsplash

There are a bunch of technical indicators that can be considered for research and analysis but the one we are going to discuss today is one of the most popular indicators used among traders for trading purposes. It’s none other than the Stochastic Oscillator technical indicator. In this article, we will use python to create a Stochastic Oscillator-based trading strategy and backtest the strategy to see how well it performs in the real-world market. Additionally, we will also compare our trading results to the SPY ETF (an ETF specifically designed to track the S&P 500 market index) as a method…


A step-by-step guide to implementing a powerful strategy

Photo by M. B. M. on Unsplash

Introduction

In the previous article of this algorithmic trading series, we saw how Bollinger bands can be used to make successful trades. In this article, we are going to discover yet another powerful technical indicator that is considered to be one of the most popular among traders. It’s none other than Moving Average Convergence/Divergence (MACD). We will first understand what this trading indicator is all about then, we will be implementing and backtesting a trading strategy based on this indicator in python to see how well it’s working in the real world. Let’s dive into the article!

MACD

Before moving on to…


A list of all useful python packages and APIs to pull cryptocurrency data seamlessly in python

Photo by CardMapr.nl on Unsplash

Introduction

In recent days, the cryptocurrency industry has not only attracted investors or enterprises but also tons and tons of developers around the world given the response from the public. After the momentum gained by the release of Bitcoin and Ethereum tokens, every aspiring developer around the world started working to create their own cryptocurrencies which then be auctioned off within an Initial Coin Offering (ICO) and traded among stock traders. This new idea of money-minting captivated software developers to build an extensive amount of projects.

The trend even follows today without any disruption but the way to develop crypto-based products…


A simple yet useful method to optimize the process of choosing stocks

Photo by Gilly on Unsplash

Disclaimer: This article is strictly for educational purposes and should not be taken as an investment tip.

Introduction

While I was an amateur trader, the process of choosing the right stocks to trade was a nightmare. News on stocks, uncertainty, and emotions adds to the bitterness of this process. A long way ahead, today, I found my own solution using my best companion Python. In this article, we are going to build a simple quantitative momentum strategy in python that filters and picks out the best intraday stocks. But wait, what is a quantitative momentum strategy?

A Quantitative Momentum strategy is…


A complete guide to extract stock data with Alpha Vantage Stock API in Python

Photo by Shahadat Rahman on Unsplash

Extracting stock data manually from websites is a tedious task to perform. It is even more difficult to find reliable data. This situation is a hectic one to deal with for beginners. The solution to this problem is to automate the process of extracting the data. How can we do this? The answer is simple, with the help of Stock API.

What and Why to use Stock APIs?

What: A Stock API is a database hosted in a cloud that offers real-time stock updates, intraday data, historical data, and much more.

Why: In recent days, almost every financial institution is using stock APIs for trading and research…


Image Source

An automated way to trade stocks with Bollinger Bands in Python

Disclaimer: This article is strictly for educational purposes and should not be taken as an investment tip.

This is the second article of my algorithmic trading series (view the first article). In the first article, we discussed what algorithmic trading is and learned a stock technical indicator Simple Moving Average (SMA) and how to apply it in python to trade stocks. In this article, we are going to learn a new technical indicator Bollinger Bands and how it can be used to create trading strategies in python. Buckle up your seatbelts for a wonderful ride!

Before that, just a note…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store