Weekly platinum price report

This weekly platinum price report is based on public Quandl data, provided by http://www.lppm.com

Below table shows opening and closing prices for platinum in the most recent days, considering EUR, USD and GBP currency.

import quandl
# setting up API key
quandl.ApiConfig.api_key = "wndP9GxCfs2gjAohXsk3"
import numpy
import pandas
# retrieving data from quandl in numpy format, then converting into pandas DataFrame
data = pandas.DataFrame(quandl.get('LPPM/PLAT', returns="numpy"))
data.tail()
DateUSD AMEUR AMGBP AMUSD PMEUR PMGBP PM
77222020-10-29866.0738.59665.64860.0735.36665.12
77232020-10-30856.0732.88661.00852.0729.45657.15
77242020-11-02858.0737.11665.63855.0735.17661.25
77252020-11-03872.0745.62671.29875.0747.22672.82
77262020-11-04860.0735.99663.07873.0745.52672.06

Below chart displays a time series plot of platinum closing prices in USD, for the past 300 trading days:

import matplotlib.pyplot as plt
plt.figure(figsize = (10,10))
plt.scatter(data["Date"].tail(300), data["USD PM"].tail(300),color = "red")
plt.plot(data["Date"].tail(300), data["USD PM"].tail(300),color = "blue")
plt.title("Daily platinum closing prices, last 300 trading days",size=22)
plt.ylabel("closing price [USD]",size = 16)
plt.xlabel("date", size = 16)
Text(0.5, 0, 'date')

Below is a time series of platinum closing prices since registered in the LPPM database:

plt.figure(figsize = (10,10))
plt.scatter(data["Date"],data["USD PM"],color="red")
plt.plot(data["Date"], data["USD PM"],color = "blue")
plt.title("Daily platinum closing prices",size=22)
plt.ylabel("closing price [USD]",size = 16)
plt.xlabel("date", size = 16)
Text(0.5, 0, 'date')
Close

Meta