vincetran96 / Scrape-Finance-Data-v2

A standalone package to scrape financial data from listed Vietnamese companies via Vietstock
MIT License
52 stars 29 forks source link

Can we choose platform like HOSE only? #3

Closed hoangtn1304 closed 3 years ago

hoangtn1304 commented 3 years ago

Is there any way so we can download only data from HOSE or another platform? for now it downloads everything and take several days to finish.

vincetran96 commented 3 years ago

As mentioned in the README, this scraper was originally created with the top-down approach in mind to download as much data as possible, which means it goes from industry and business types to individual companies. This method was intended for a machine learning project of mine. Thus, for now, it is not possible to download data from a specific exchange. However, if I remember correctly, Vietstock has an API for exchanges, given that this page has a filter for exchanges.

If you are interested in getting data specific for an exchange, there are several options:

  1. Create a pull request
  2. Fork this project and modify it yourself
  3. Leave this issue open and if I have the time, I will look into this (no guarantee though)

Thanks for raising the issue!

hoangtn1304 commented 3 years ago

thanks, I found out how, it's in the constants config