Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Python & Algorithmic Trading scripts made to learn for fun.

License

Notifications You must be signed in to change notification settings

Dialvive/Python-Algorithmic-Trading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Algorithmic Trading

This is a scrap-repository that contains some scripts that follow @nickmccullum's Algorithmic Trading Using Python course. The purpose of this repository for me has been primarily to learn Python & Algorithmic Trading. I've made this repository public for it to help someone that might be interested in it's contents.

Dependencies

  • pandas
  • xlsxwriter
  • scipy
  • numpy

Third-party services

Equal Weight S&P500 Trade Recommendations

This script allows the user to get a list of S&P500 stocks, their last prices, and number of shares to acquire given a portfolio size.

How to run

  • Install dependencies,
  • cd eq_weight_S&P_500,
  • create secrets.py and add a IEX_CLOUD_API_TOKEN variable with a valid iexcloud API key,
  • run python3 equal_weight_S&P_500.py

Quantitative Momentum Trade Recommendations

The goal of this script is to delop a investing strategy that recommends an equal weight portfolio of the 50 stocks with the highest price momentum.

How to run

  • Install dependencies,
  • cd quantitative-momentum-strategy,
  • create secrets.py and add a IEX_CLOUD_API_TOKEN variable with a valid iexcloud API key,
  • run python3 quant_momentum_strategy.py

About

Python & Algorithmic Trading scripts made to learn for fun.

Topics

Resources

License

Stars

Watchers

Forks

Languages