PyHodl  0.2.8
Framework to download, update, analyze and plot your crypto-transactions. Completely off-line and security-oriented.
pyhodl.tools.balance.Balance Class Reference

Public Member Functions

def __init__ (self, input_folder, color=False)
 
def print (self)
 
def pretty_balances (self, balances, last)
 
def print_exchange (self, exchange)
 

Public Attributes

 color
 
 exchanges
 

Detailed Description

Deal with exchanges, wallets balances 

Constructor & Destructor Documentation

def pyhodl.tools.balance.Balance.__init__ (   self,
  input_folder,
  color = False 
)
:param color: bool
    True iff you want colorful output

Member Function Documentation

def pyhodl.tools.balance.Balance.pretty_balances (   self,
  balances,
  last 
)
:param balances: [] of {}
    List of balances of each coin
:param last: {}
    Dict with last balance data
:return: str
    Pretty table with balance data
def pyhodl.tools.balance.Balance.print (   self)
:param input_folder: str
    Path to input folder
:return: void
    Prints balance of wallets found in folder
def pyhodl.tools.balance.Balance.print_exchange (   self,
  exchange 
)
:param exchange: CryptoExchange
    Exchange to get balance of
:return: void
    Prints balance of exchange

Member Data Documentation

pyhodl.tools.balance.Balance.color
pyhodl.tools.balance.Balance.exchanges

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