Skip to content

An application which sends trading advice via email based on the 20 and 50 day Exponential Moving Average crossover points.

Notifications You must be signed in to change notification settings

MitchellSparrow/Stock-Price-Monitoring-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trading_Bot

About

This repository is for a python bot that can send stock advice via email using the 50 and 20 day EMA (Exponential Moving Average) crossover points of a stock. This was a personal project for me that served as an introduction into trading bot's and deploying code remotely on a server.

The purpose of this code is to track a few stocks of interest using EMA's, and send an email to the user when there is a crossover of these EMA's. A crossover indicates either a buying or selling point. The following image depicts an example of two different EMA's and their crossover points.

alt text

Image Source: Generating Trade Signals using Moving Average(MA) Crossover Strategy — A Python implementation

References

The code was influenced by Pratik Nabriya's article: Generating Trade Signals using Moving Average(MA) Crossover Strategy — A Python implementation.

Disclaimer

This project was done as a fun introduction into developing a trading bot, and SHOULD NOT be used as financial advice in any way.

Installation

The following code will install the necessary python packages required to run the code:

pip install yfinance numpy pandas

At the time of writing this I am using python 3.7.10, however other versions should work fine, as long as the packages listed above can be installed.

About

An application which sends trading advice via email based on the 20 and 50 day Exponential Moving Average crossover points.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published