Where to find all time USD/TRY prices
Get all time USD/TRY data provided by Turkish Central Bank for free. The below codes shows a simple visualization of data. To download the data go to evds2.tcmb.gov.tr , select parameters and download data as xlsx.
import pandas as pd
import matplotlib.pyplot as plt
# data source: https://evds2.tcmb.gov.tr/
# downloaded data as xlsx and converted to csv
usd_try = pd.read_csv('data/usdtry-alltime.csv', index_col='Tarih', parse_dates=True)
usd_try.dropna(inplace=True)
usd_try.loc['1980-01-03':'2020-01-01'].plot()
plt.yscale("log")
plt.title('All Time USD/TRY')
plt.ylabel('Price (log scale)')
plt.xlabel('Date')
plt.show()