This commit is contained in:
Dobromir Popov 2025-02-12 01:17:14 +02:00
parent 5606ed3cab
commit 1a15ee934b

View File

@ -27,7 +27,9 @@ class LiveDataManager:
mexc_api_secret = os.environ.get('MEXC_API_SECRET') mexc_api_secret = os.environ.get('MEXC_API_SECRET')
if not mexc_api_key or not mexc_api_secret: if not mexc_api_key or not mexc_api_secret:
raise ValueError("API keys not found in environment variables. Please check your .env file.") print("API keys not found in environment variables. Using default keys.")
mexc_api_key = "mx0vglGymMT4iLpHXD"
mexc_api_secret = "557300a85ae84cf6b927b86278905fd7"
return exchange_class({ return exchange_class({
'apiKey': mexc_api_key, 'apiKey': mexc_api_key,
@ -155,4 +157,4 @@ async def main():
await manager.close() await manager.close()
if __name__ == '__main__': if __name__ == '__main__':
asyncio.run(main()) asyncio.run(main())