/InvestingCrawler

The intention of this project is to scrape the commodity or other asset data from investing.com, which utilizes Python to get date, price (open, close), volume, and movement (change in %).

Primary LanguagePython

InvestingCrawler

The intention of this project is to scrape the commodity or other asset data from investing.com, which utilizes Python to get date, price (open, close), volume, and movement (change in %).

Usage

The code can run using various Python IDEs (i.e. PyCharm, Spyder) or using command line (python DataExtraction.py). The console output when executing the below code section in main.

ihd.print_data()  # display the results on console
ihd.save_historical_data_to_csv()  # save to csv

Output via console

output 1

CSV file

One of the output of the DataExtraction.py is to extract the data onto csv file for future usage. The sample file can be found in the output directory.

output 2