PyHodl  0.2.6
Framework to download, update, analyze and plot your crypto-transactions. Completely off-line and security-oriented.
pyhodl.data.balance Namespace Reference

Functions

def get_balance_file (exchange)
 
def parse_balance (input_file)
 
def save_balance (balances, output_file, timestamp=datetime.now())
 

Function Documentation

def pyhodl.data.balance.get_balance_file (   exchange)
:param exchange: str
    Exchange name
:return: str
    Path to balance file dor exchange
def pyhodl.data.balance.parse_balance (   input_file)
:param input_file: str
    Parse balance data from this file
:return: [] of {}
    List of balanced for each wallet found
def pyhodl.data.balance.save_balance (   balances,
  output_file,
  timestamp = datetime.now() 
)
:param balances: [] of {}
    List of balanced for each wallet
:param output_file: str
    Path to save data to
:param timestamp: datetime
    Time of log
:return: void
    Saves data to file