This is an API to get a notification (via email and/or slack) with the latest news related to the Stock Symbol that you are interested in based on a personal lookup that you can define yourself.
cp .env.dist .env
composer install
# Or using docker
docker-compose up -d
docker-compose exec stock_ticker composer install
php bin/console crawl DIS TSLA
# Or using docker
docker exec -ti -u dev stock_ticker php bin/console crawl DIS TSLA
-
Crawl: It crawls multiple websites and group their info per stock.
php bin/console crawl DIS TSLA --maxNews=8
- Options
maxNews
: Max number of news to fetch per crawled site
-
Notify: It crawls and notifies via different channels.
php bin/console notify DIS TSLA --maxNews=5 --channels=email,slack --sleepingTime=10
- Options
maxNews
: Max number of news to fetch per crawled sitemaxRepetitions
: Max number repetitions for the loopchannels
: Channels to notify separated by a comma. For exampleemail
andslack
sleepingTime
: Sleeping time in seconds