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

Public Member Functions

def __init__ (self, api_client, data_folder, rate_limit=1, rate_limit_wait=60)
 
def get_transactions (self)
 
def save_data (self)
 
def update (self, verbose)
 
- Public Member Functions inherited from pyhodl.logs.Logger
def __init__ (self)
 
def log (self, content)
 

Public Attributes

 client
 
 folder
 
 output_file
 
 transactions
 
 rate
 
 rate_wait
 
 page_limit
 
- Public Attributes inherited from pyhodl.logs.Logger
 class_name
 

Detailed Description

Abstract exchange updater 

Constructor & Destructor Documentation

def pyhodl.updater.models.ExchangeUpdater.__init__ (   self,
  api_client,
  data_folder,
  rate_limit = 1,
  rate_limit_wait = 60 
)
:param api_client: ApiClient
    Client with which to perform requests
:param data_folder: str
    Folder where to save data
:param rate_limit: int
    Number of seconds between 2 consecutive requests
:param rate_limit_wait: int
    Number of seconds to wait if rate limit exceeded

Member Function Documentation

def pyhodl.updater.models.ExchangeUpdater.get_transactions (   self)
:return: [] of Transaction
    List of transactions found
def pyhodl.updater.models.ExchangeUpdater.save_data (   self)
:return: void
    Saves transactions to file
def pyhodl.updater.models.ExchangeUpdater.update (   self,
  verbose 
)
:param verbose: bool
    True iff you want to increase verbosity
:return: void
    Updates local transaction data and saves results

Member Data Documentation

pyhodl.updater.models.ExchangeUpdater.client
pyhodl.updater.models.ExchangeUpdater.folder
pyhodl.updater.models.ExchangeUpdater.output_file
pyhodl.updater.models.ExchangeUpdater.page_limit
pyhodl.updater.models.ExchangeUpdater.rate
pyhodl.updater.models.ExchangeUpdater.rate_wait
pyhodl.updater.models.ExchangeUpdater.transactions

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