Disclaimer: This project is intended to study the Scrapy Spider Framework and the MongoDB database, it cannot be used for commercial or other personal intentions. If used improperly, it will be the individuals bear.
Language: Python2.7
Database: MongoDB
- Install MongoDB and start without configuration
- Install Python dependent modules:
pip install -r requirements.txt
(best in virtualenv) - Modify the configuration by needed, such as the interval time, the number of threads, etc.
- python start.py
The table in the database that holds the data is MixFunds. The following is a field description:
name : fund name
code : fund code
ftype : fund type
unit_price : unit price
last_1month : performance last month
last_3month : performance last 3 month
last_6month : performance last 6 month
last_1year : performance last 1 year
last_2year : performance last 2 year
last_3year : performance last 3 year
size : fund size
fund_create_time : fund create time
manager_name : fund manager name
manage_fund_number: the number of funds what the fund manager managed
manage_time : how long the fund manager managed
fund_comp_name : which fund compony