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: 3 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: 2024-06-01T20:16:25.000Z (8 months ago)
- Last Synced: 2024-12-12T02:28:58.042Z (about 2 months 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: 40 KB
- Stars: 5
- 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
```