Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sdclarkelab/jamstockex-scraper
- Owner: sdclarkelab
- License: mit
- Created: 2020-06-09T00:01:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-07T22:34:02.000Z (almost 3 years ago)
- Last Synced: 2023-03-07T21:44:57.610Z (almost 2 years ago)
- Topics: beautifulsoup4, heroku, jamaica, jamaica-stock-exchange, jamstockex, jamstockex-scraper, jse, mongodb, python, sdclarkelab, stockwatchja, webscrapper
- Language: Python
- Homepage: https://jamstockex-api.herokuapp.com/api/v1/stocks
- Size: 55.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```