From 9e5e0ef980a720af1af1ee5cbe1fe43eaab57a5e Mon Sep 17 00:00:00 2001 From: Chris Berkhout Date: Tue, 25 May 2021 12:51:53 +0200 Subject: [PATCH] Set default price type names for coindesk and ecb. --- src/pricehist/sources/coindesk.py | 2 +- src/pricehist/sources/ecb.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pricehist/sources/coindesk.py b/src/pricehist/sources/coindesk.py index 6fb68aa..f90ee19 100644 --- a/src/pricehist/sources/coindesk.py +++ b/src/pricehist/sources/coindesk.py @@ -32,7 +32,7 @@ class CoinDesk: @staticmethod def types(): - return [] + return ["close"] @staticmethod def notes(): diff --git a/src/pricehist/sources/ecb.py b/src/pricehist/sources/ecb.py index 104fc18..ecf6377 100644 --- a/src/pricehist/sources/ecb.py +++ b/src/pricehist/sources/ecb.py @@ -31,7 +31,7 @@ class ECB: @staticmethod def types(): - return [] + return ["reference"] @staticmethod def notes():