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
76202020-06-08832.0736.28655.38838.0741.59661.14
76212020-06-09823.0731.23651.11833.0737.17657.72
76222020-06-10839.0737.91657.27838.0736.70655.20
76232020-06-11825.0724.96650.12820.0721.83648.48
76242020-06-12824.0727.27651.90822.0727.43653.68

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