/stockbot

Autonomous stock trading

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

stockbot

build workflow test workflow

This is a research program aims at autonomous stock trading, mainly focuses on Taiwanese stock market, TWSE.

This project is still on early development and subject to change.

Goals

  • Reinforced, self-supervised or unsupervised investor
  • Unsupervised screener
  • Proceed with human permission on Telegram
  • Deploy to AWS

Get started

1. Dependencies

  • shioaji (sinotrade's trading API)
  • yfinance (for downloading open data from yahoo finance)
  • ta-lib (technical indicators)
  • tsfresh (backbone for feature extraction)
  • autots (forcasting model)

See requirements.txt for details.

2. Installation

  • using pip:

    pip install git+https://github.com/tanlin2013/stockbot@main
    
  • using Docker container (required to build from source):

    make build & make run 
    

3. Tutorials

TBA

Documentation

For details about stockbot, see the reference documentation.

Disclaimer

  • All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, or individual’s trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.

  • Any opinions, news, research, analyses, prices, or other information offered is provided as general market commentary, and does not constitute investment advice. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from use of or reliance on such information.