PyHodl
0.2.7
Framework to download, update, analyze and plot your crypto-transactions. Completely off-line and security-oriented.
|
Public Member Functions | |
def | __init__ (self, transactions, exchange_name) |
def | get_transactions_count (self) |
def | get_first_transaction (self) |
def | get_last_transaction (self) |
def | get_transactions (self, rule) |
def | build_wallets (self) |
Public Attributes | |
transactions | |
exchange_name | |
Exchange dealing with crypto-coins
def pyhodl.core.exchanges.CryptoExchange.__init__ | ( | self, | |
transactions, | |||
exchange_name | |||
) |
:param transactions: [] of Transaction List of transactions
def pyhodl.core.exchanges.CryptoExchange.build_wallets | ( | self | ) |
:return: {} of str -> Wallet Build a wallet for each currency traded and put trading history there
def pyhodl.core.exchanges.CryptoExchange.get_first_transaction | ( | self | ) |
:return: Transaction First transaction done (with respect to time)
def pyhodl.core.exchanges.CryptoExchange.get_last_transaction | ( | self | ) |
:return: Transaction Last transaction done (with respect to time)
def pyhodl.core.exchanges.CryptoExchange.get_transactions | ( | self, | |
rule | |||
) |
:param rule: func Evaluate this function on each transaction as a filter :return: generator of [] of Transaction List of transactions done between the dates
def pyhodl.core.exchanges.CryptoExchange.get_transactions_count | ( | self | ) |
:return: int Number of transactions
pyhodl.core.exchanges.CryptoExchange.exchange_name |
pyhodl.core.exchanges.CryptoExchange.transactions |