PyHodl  0.2.7
Framework to download, update, analyze and plot your crypto-transactions. Completely off-line and security-oriented.
pyhodl.api.price.factory Namespace Reference

Functions

def get_market_cap (since, until)
 
def get_client (currency, tor)
 
def get_price_on_dates (coins, currency, dates, tor)
 
def get_price_on_date (coins, currency, date_time, tor)
 

Function Documentation

def pyhodl.api.price.factory.get_client (   currency,
  tor 
)
:param currency: str
    Currency to get price
:param tor: *
    Tor arg
:return: ApiClient
    Client to get price with
def pyhodl.api.price.factory.get_market_cap (   since,
  until 
)
:param since: datetime
    Get data since this date
:param until: datetime
    Get data until this date
:return: [] of {}
    Crypto market cap at specified dates
def pyhodl.api.price.factory.get_price_on_date (   coins,
  currency,
  date_time,
  tor 
)
:param coins: [] of str
    List of coins
:param currency: str
    Convert price to this currency
:param date_time: datetime
    Get price on date
:param tor: str or None
    Password to access tor proxy
:return: [] of {}
    List of price of coins at dates
def pyhodl.api.price.factory.get_price_on_dates (   coins,
  currency,
  dates,
  tor 
)
:param coins: [] of str
    List of coins
:param currency: str
    Convert price to this currency
:param dates: [] of datetime
    Get price on these dates
:param tor: str or None
    Password to access tor proxy
:return: [] of {}
    List of price of coins at dates