PyHodl  0.2.7
Framework to download, update, analyze and plot your crypto-transactions. Completely off-line and security-oriented.
pyhodl.data.tables.CoinPricesTable Class Reference
Inheritance diagram for pyhodl.data.tables.CoinPricesTable:
Collaboration diagram for pyhodl.data.tables.CoinPricesTable:

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
 

Detailed Description

Parse market data files 

Constructor & Destructor Documentation

def pyhodl.data.tables.CoinPricesTable.__init__ (   self,
  currency 
)

Member Function Documentation

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

Member Data Documentation

pyhodl.data.tables.CoinPricesTable.base_currency

The documentation for this class was generated from the following file: