You can easily run this and get latest or specific day price from http://www.tsetmc.com/
website! The .xlsx
file will automatically save on your PC!
In order to run this program you need :
- Download GeckoDriver (Firefox).
- Set GeckoDriver in your environment variable.
- Create a .env file in root directory
- Specify
DIR
variable in .env (It a path in your computer to save downloaded data there...)
> pip3 install virtualenv
> virtualenv env
> source env/bin/activate
> (env) pip3 install -r requirements.txt
> (env) python3 src/main.py