|
PyHodl
0.2.7
Framework to download, update, analyze and plot your crypto-transactions. Completely off-line and security-oriented.
|


Public Member Functions | |
| def | __init__ (self, currency) |
| def | get_value_on (self, coin, date_time) |
Public Member Functions inherited from pyhodl.data.tables.DatetimeTable | |
| def | __init__ (self, input_file, max_error_search) |
| def | get_content (self) |
| def | get_values_on (self, date_time) |
| def | get_values_on_dates (self, dates) |
| def | get_values_between (self, since, until) |
Public Attributes | |
| base_currency | |
Public Attributes inherited from pyhodl.data.tables.DatetimeTable | |
| content | |
| dates | |
| max_error | |
Parse market data files
| def pyhodl.data.tables.CoinPricesTable.__init__ | ( | self, | |
| currency | |||
| ) |
| def pyhodl.data.tables.CoinPricesTable.get_value_on | ( | self, | |
| coin, | |||
| date_time | |||
| ) |
:param coin: str
Coin to convert
:param date_time: datetime
Date and time of conversion
:return: float
Currency value of coin at specified date
| pyhodl.data.tables.CoinPricesTable.base_currency |