fixed misssing coin_precision.json

This commit is contained in:
2025-10-13 19:48:38 +02:00
parent ad4cf07585
commit b1da0ce0b2
2 changed files with 1 additions and 218 deletions

View File

@ -28,7 +28,7 @@ class MarketDataFeeder:
def _load_coins(self) -> list:
"""Loads the list of coins from the coin_precision.json file."""
try:
with open("coin_precision.json", 'r') as f:
with open("_data/coin_precision.json", 'r') as f:
coins_data = json.load(f)
logging.info(f"Loaded {len(coins_data)} coins from 'coin_precision.json'.")
return list(coins_data.keys())