Yahoo Finance currency exchange rates webscraper
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore Initial commit Oct 10, 2017
README.md minor changes Oct 13, 2017
currency-webscraper.py Some minor tidying up and changes Nov 24, 2017
yf-post.py Some minor tidying up and changes Nov 24, 2017

README.md

yf-scraper

Yahoo Finance currency exchange rates webscraper

currency-webscraper.py

This script will go to Yahoo Finance's currency website and fetch the current list of fx pairs and their assosciated rates.

It returns a pandas dataframe like the following table:

cy-pair rate
1 GBP/USD 1.32
2 GBP/EUR 1.1188
3 EUR/USD 1.18
4 GBP/JPY 148.1754

yf-post.py

This script will go to here and extract a list of currencies, an then use that list to make POST requests for each currency pair to retrieve the correct rate. This is a more thorough script that can return a bigger list of currency pairs.