Lets you monitor a selection of Norwegian stocks for news. News events are emailed to the user. Oslo Bors also provides this exact service by SMS (https://www.oslobors.no/Oslo-Boers/Produkter-og-tjenester/SMS-tjenester/Varslinger-paa-SMS).
- bs4
- smtplib
- datetime
Before running, any user will need to:
- Input account details in lines 61-62 for e-mail functionality. For example: <email> = "[email protected]", "<password>" = "mypassword".
- Input stock tickers in line 73. For example: "['STL', 'TEL', 'AXA', 'NAS']
While the script is configured to monitor the hard-coded Norwegian stocks defined in the script, some simple optionalities have been added for ease of use:
- To manually enter tickers for monitoring, pass "-c" when running.
- To alter the frequency news are checked (default: 30 sec), pass "-t ".
Example: "python Notis.py -c -t 120"