Stock Drop Notifier will monitor the stock information for an user-specified product on www.newegg.com and send Telegram message for real time stock update. Users can send Telegram command to customize a search filter, spawn new notifiers, and terminate old notifiers. Simply talk to the Telegram bot @StockDropBot to use the service.
While most other stock informers adopt the naive approach of checking the "add to cart" keyword from webpage, our notifier used a tailored newegg parser to locate the price, dealer, and stock information for an product, which enables more complex search filters and higher information accuracy.
Moreover, our notifier automated the process of manually entering product urls to check on. All you need to do is to give some search words, and the notifier will automatically find product urls based on them.
Finally, features of Stock Drop Notifier can be accessed through a Telegram bot. See command.md for details.
Note: you don't need to host Stock Drop Notifier to use it. Simply talk to the Telegram bot @StockDropBot to use the service.
Installation Option 1: Docker
- Receive and copy your telegram bot token from @BotFather.
- Make sure you have Docker installed on your machine.
- Run the following command to start the bot.
git clone https://github.com/hxu296/stock-drop-notifier.git
cd stock-drop-notifier
docker build -t stock-drop-notifier .
docker run -d -e TELEGRAM_BOT_TOKEN="your_token" stock-drop-notifier
- You can now talk to your Telegram bot using commands from command.md.
Installation Option 2: Bare-metal
- Receive and copy your telegram bot token from @BotFather.
- Make sure your host machine has a Unix-like system with Python 3.6+ installed.
- Run the following commands to set up the environment.
git clone https://github.com/hxu296/stock-drop-notifier.git
cd stock-drop-notifier
pip3 install -r requirements.txt
pip3 install python-telegram-bot --upgrade
- To start the bot, run
python3 run.py -m
from the project root directory and paste your bot token according to the instruction. - You can now talk to your Telegram bot using commands from command.md.