Welcome to crypto-monitor’s documentation!¶
- monitor.analyze(ticker: str, max_threshold: float, min_threshold: float)¶
Analyzes the ticker value from finance.yahoo.com and compares with the max and min price value.
- Parameters
ticker – Ticker value for the cryptocurrency.
min_threshold – Minimum value below which a notification has to be triggered.
max_threshold – Maximum value beyond which a notification has to be triggered.
- monitor.get_all_cryptos(offset: int)¶
Update a global dictionary with all cryptocurrency ticker values, current price and ticker name.
- Parameters
offset – An offset value is passed to frame the URL as a paginator.