Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sdclarkelab/jamstockex-scraper

Jamaica Stock Exchange (jamstockex/ JSE) website scraper
https://github.com/sdclarkelab/jamstockex-scraper

beautifulsoup4 heroku jamaica jamaica-stock-exchange jamstockex jamstockex-scraper jse mongodb python sdclarkelab stockwatchja webscrapper

Last synced: 27 days ago
JSON representation

Jamaica Stock Exchange (jamstockex/ JSE) website scraper

Awesome Lists containing this project

README

        

# StockWatchJa: JamStockEx Scraper

The **StockWatchJa: JamStockEx Scraper** scrapes the [Jamaica Stock Exchange](https://www.jamstockex.com/) website daily using Python and saves to a MongoDB collection.
The data is then served as JSON by **[StockWatchJA: JamStockEx API](https://github.com/sdclarkelab/jamstockex-api)** at this [URL](http://jamstockexapi.stockwatchja.com/stocks).

#### The following stock data is scraped:
- All Listed Stocks
- Dividends pending payout dates
- Stock details:
- Name
- Instrument Code
- Currency
- Sector
- Type
- Website
- Market
- Volume Traded
- Dollar Change
- Market Price
- Percentage Change

## Requirements
Tool | Version | Source |
--- | --- | --- |
Python |3.7.0| [Python 3.7.0 Release](https://www.python.org/downloads/release/python-370/)|
Windows OS| 10 | - |

#### Create Secrets.json file
Create ".env" in application root folder
```.env
NODE_ENV=dev
DB_CONN_STR=""
DB_NAME=stockwatch
STOCK_COL=stock
```

#### Initialize database
```shell script
python main.py
```