/trading-club__crawler

The crawler collects the stock data for the academic purpose.

Primary LanguageTSQL

FIN Crawler

Milestone

  • KOSPI採用YAHOO FINANCE
  • N225採用YAHOO FINANCE
  • TOPIX採用YAHOO FINANCE
  • SHCOMP
  • TWSE
  • TWOTC
  • SXXP 有代碼

Prerequisite

  • Python 3.7 >
  • Docker-compose v3

Install

pip install -r requirements.txt

How to start to parse?

python src/main.py {spider_name} e.g ewy, etc.

Docker

docker-compose up -d

MySQL NOTE

env for the crawler container

DB_HOST=db DB_PORT=3306 DB_USER=jim DB_PASS=jim DB_NAME=trading_club WEB_DRIVER_HOST=selenium-hub WEB_DRIVER_PORT=4444