项目作者: Patrickdg

项目描述 :
Algorithmic stock trader
高级语言: Python
项目地址: git://github.com/Patrickdg/AL-the-Trader.git
创建时间: 2019-12-22T10:55:56Z
项目社区:https://github.com/Patrickdg/AL-the-Trader

开源协议:

下载


AL-the-Trader

Description

Automated algorithmic stock paper-trading using daily triggers to simulate buy/sell transactions on specified watchlist. Only intended for simulation and demonstration purposes, NOT for live trading.

Algorithm currently uses RSI (30, 70) bounds as (buy, sell) triggers for simplicity.
Upcoming integrations will include DCF valuations, 50-200SMA, Bollinger bands, and MACD indicators.

Current watchlist tracks the 30 stocks in the DOW (as of May 1, 2020).

Scraping is performed using yfinance module and pandas to wrangle data into excel.

Live Dashboard - Portfolio Summary

Domains

  • Python (scraping, triggers, & transactions)
    • pandas (wrangling), yfinance (scraping)
  • Excel (portfolio tracking)
  • Tableau (portfolio visualization & additional analytics)

To-do

  • Market performance: Incorporate daily DJIA close in charting

Future Implementations

  • Additional technical indicators:
    • DCF
    • 50-200SMA
    • Bollinger bands
    • MACD
  • Dynamic algorithms (ML)
  • Dynamic watchlist (based on trending indicators + other screens)
  • Optimal (+ automatic) technical indicator selection per watchlist stock via back-testing, comparison of returns, statistical significance testing
    • Discounted Cash Flow (DCF) Valuation modelling triggers
    • Dynamic algorithm strategy (bear/bull market triggers, MACD/SMA/RSI threshold adjustments)
  • Sentiment analysis (news, twitter)
  • Short/margin trading
  • Analyst recommendations
  • Backtesting