fixed misssing coin_precision.json
This commit is contained in:
@ -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())
|
||||
|
||||
Reference in New Issue
Block a user