|
PyHodl
0.2.8
Framework to download, update, analyze and plot your crypto-transactions. Completely off-line and security-oriented.
|
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 | |
Deal with exchanges, wallets balances
| def pyhodl.tools.balance.Balance.__init__ | ( | self, | |
| input_folder, | |||
color = False |
|||
| ) |
:param color: bool
True iff you want colorful output
| 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
| pyhodl.tools.balance.Balance.color |
| pyhodl.tools.balance.Balance.exchanges |