Thank you. Please, put this in a class "CoinbaseAdapter" with a method "fetch_and_store_pair(currency_pair, tablename)". Replace the 'BTC-USD' in the url with the first parameter and the table name with the second.