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

Functions

def create_args ()
 
def parse_args (parser)
 
def update (config_file, verbose)
 
def plot (input_file, verbose)
 
def show_balance (run_path)
 
def download_market_cap (since, until, where_to, verbose)
 
def download_prices (coins, since, until, where_to, verbose, currency="USD", tor=False)
 
def download_historical (run_path, verbose, tor)
 
def main ()
 
def handle_exception (exc)
 
def cli ()
 

Function Documentation

def pyhodl.cli.cli ( )
:return: void
    Run this as cmd program
def pyhodl.cli.create_args ( )
:return: ArgumentParser
    Parser that handles cmd arguments.
def pyhodl.cli.download_historical (   run_path,
  verbose,
  tor 
)
:param run_path: str
    Path to download file to
:param verbose: bool
    True iff you want verbose output
:param tor: str or None
    Connect to tor proxy with this password
:return: void
    Downloads price and saves results
def pyhodl.cli.download_market_cap (   since,
  until,
  where_to,
  verbose 
)
:param since: datetime
        Get data since this date
:param until: datetime
    Get data until this date
:param where_to: str
    Save data here
:param verbose: bool
    True iff you want verbose output
:return: void
    Downloads market cap data and saves results
def pyhodl.cli.download_prices (   coins,
  since,
  until,
  where_to,
  verbose,
  currency = "USD",
  tor = False 
)
:param coins: [] of str
    List of coins to fetch
:param since: datetime
        Get data since this date
:param until: datetime
    Get data until this date
:param where_to: str
    Save data here
:param verbose: bool
    True iff you want verbose output
:param currency: str
    Currency to get price on
:param tor: str or None
    Connect to tor proxy with this password
:return: void
    Downloads price and saves results
def pyhodl.cli.handle_exception (   exc)
:return: void
    Tries to handle it
def pyhodl.cli.main ( )
:return: void
    Parse args and run selected mode
def pyhodl.cli.parse_args (   parser)
:param parser: ArgumentParser
    Object that holds cmd arguments.
:return: tuple
    Values of arguments.
def pyhodl.cli.plot (   input_file,
  verbose 
)
:param input_file: str
    Path to input file
:param verbose: bool
    True iff you want verbose output
:return: void
    Shows plots with data parsed from input file
def pyhodl.cli.show_balance (   run_path)
:param run_path: str
    Path to download file to
:return: void
    Prints balance of wallets found
def pyhodl.cli.update (   config_file,
  verbose 
)
:param config_file: str
    Path to config file
:param verbose: bool
    True iff you want verbose output
:return: void
    Updates your local transactions and saves results