PyHodl  0.2.7
Framework to download, update, analyze and plot your crypto-transactions. Completely off-line and security-oriented.
pyhodl.core.transactions.Commission Class Reference
Inheritance diagram for pyhodl.core.transactions.Commission:
Collaboration diagram for pyhodl.core.transactions.Commission:

Public Member Functions

def __init__ (self, raw_dict, coin, date, successful=True)
 
- Public Member Functions inherited from pyhodl.core.transactions.Transaction
def __init__ (self, raw_dict, coin_in, coin_out, date, trans_type=TransactionType.TRADING, successful=True, commission=None)
 
def get_attrs (self)
 
def has (self, item)
 
def is_trade (self)
 
def is_deposit (self)
 
def is_fee (self)
 
def is_withdrawal (self)
 
def get_amount_buy_sell (self, coin)
 
def get_amount_traded (self, coin)
 
def get_amount_commission (self, coin)
 
def get_amount_moved (self, coin)
 
def get_amount (self, coin)
 
def get_coins (self)
 
def __getitem__ (self, key)
 
def __str__ (self)
 

Public Attributes

 coin
 
- Public Attributes inherited from pyhodl.core.transactions.Transaction
 raw
 
 coin_buy
 
 coin_sell
 
 transaction_type
 
 date
 
 successful
 
 commission
 

Detailed Description

Transaction commission 

Constructor & Destructor Documentation

def pyhodl.core.transactions.Commission.__init__ (   self,
  raw_dict,
  coin,
  date,
  successful = True 
)
:param raw_dict: {}
    Dict containing raw data
:param date: date
    Date info
:param successful: bool
    True iff transaction has actually taken place

Member Data Documentation

pyhodl.core.transactions.Commission.coin

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