Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 921 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 921 Bytes

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