Add Price object.

This commit is contained in:
Chris Berkhout 2021-04-17 16:51:37 +02:00
parent 6595b9bd72
commit 37d527913b

3
src/pricehist/price.py Normal file
View file

@ -0,0 +1,3 @@
from collections import namedtuple
Price = namedtuple('Price', ['base', 'quote', 'date', 'amount'])