Solana Metrics
For every time, you launch Low Caps Hub Termial, you beginning in the Start Section. You will see many buttons however, functionalities of:
Wallet
Terminal
Encryption
Endpoints
will be extensively discussed in the further part of the Docs. About the reset:
Solana Metrics
In the right left corner, you will always have access to fresh data about Solana itself. The Terminal is monitoring following Metrics:
Price
Market Cap
Volume (24h)
Pair: SOL/BTC
Pair: SOL/ETH
SOL Domination
Fear & Gread Index
The data is always actual thanks to using multipe APIs, let's take as an example, way receiving value for Fear & Gread Index:
def get_fear_and_greed_index():
url = "https://api.alternative.me/fng/?limit=1&format=json"
try:
response = requests.get(url, timeout=10)
if response.status_code == 200:
data = response.json()
index = data['data'][0]['value']
classification = data['data'][0]['value_classification']
return index, classification
else:
print(f"Failed to fetch Fear and Greed Index: Status Code {response.status_code}")
return None, None
except requests.RequestException as e:
print(f"Fear and Greed API Error: {e}")
return None, None
Wheras for regular, 5-minutes updates responsible function looks very simple:
def update_metrics_periodically(self):
while True:
self.fetch_additional_metrics()
time.sleep(300)
Last updated