Dependency | Description |
---|---|
pandas | Dataframe data analysis and manipulation for stock's OHLCV (Open, High, Low, Close, Volume) |
numpy | Working with pandas |
mplfinance | Candlestick chart generation |
google-search-results | Searching public offerings of specific stock from Google |
discord.py | Sending message to discord server |
python-oracledb | Oracle database connection |
- Install Oracle database
- Create Discord account and channels
- Create discord chatbot and invite it to your server
- Create Interactive Brokers trading account, and subscribe market data
- Download IB API Gateway from Interactive Brokers official website
- Execute
create.sql
- Edit
config.ini
, change Oracle login credentials and logger file directory
- Run
py -m venv VENV_NAME
to create project virtual environment - Go to venv directory, then execute
activate
- Run
pip install -r requirements.txt
to install dependencies - Debug in your IDE
- Run
pip install pyinstaller
- Run
pyinstaller main.spec
to export this project as the executable file indist
folder
- Run
pip3 freeze > requirements.txt
Stock scanner for day trade and swing trade. When specific stock's price action or pattern hit the scanner, the discord chatbot will send message to discord server to notify trader. The scanner scan stocks in U.S stock market for following patterns:
- Stocks that are popping up very quickly (for intra-day momentum trade)
- Yesterday bullish daily candle (for intra-day/ swing bullish pattern continuation trade)
- Previous days' top gainer support (for intra-day/ swing trade, buy at support level looking for bounce)
- Previous days' top gainer continuation (for intra-day/ swing trade continuation trade, looking for strong momentum after breaking new high)