-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Good Day! Thank you for sharing your Project. I was attempting a install today and have received the following errors. I have attached my config error and was hoping you could provide some guidance on getting the bot operational.
Cheers,
Log Attached:
Initializing database at trading_logs.db Creating tables... Database initialized successfully {'secret_key': 'REDACTED', 'account_address': 'REDACTED', 'vault': None, 'allora_upshot_key': 'UP-REDACTED', 'price_gap': 0.25, 'allowed_amount_per_trade': 10.0, 'max_leverage': 1, 'check_for_trades': 300, 'volatility_threshold': 0.02, 'db_path': 'trading_logs.db', 'mainnet': 'TRUE', 'allora_topics': {'BTC': 14, 'ETH': 13}} Running with vault: None REDACTED Initializing database at trading_logs.db Creating tables... Database initialized successfully Running trading and position monitoring... Error getting positions: (422, None, 'Failed to deserialize the JSON body into the target type', None, {'Server': 'nginx/1.26.2', 'Date': 'Fri, 28 Feb 2025 19:32:42 GMT', 'Content-Type': 'text/plain; charset=utf-8', 'Content-Length': '56', 'Connection': 'keep-alive', 'access-control-allow-origin': '*', 'vary': 'origin, access-control-request-method, access-control-request-headers', 'access-control-expose-headers': '*'}) Attempting to log trade: {'token': 'BTC', 'current_price': 84588.0, 'allora_prediction': 84459.7448386139, 'prediction_diff': -0.15162335246855305, 'volatility': None, 'direction': 'HOLD', 'entry_price': 84588.0, 'market_condition': 'ANALYSIS', 'reason': 'Below threshold'} Successfully logged trade Trade rejected by DeepSeek AI: Traceback (most recent call last): File "/home/theone/Allora_HyperLiquid_AutoTradeBot/main.py", line 42, in <module> main() File "/home/theone/Allora_HyperLiquid_AutoTradeBot/main.py", line 19, in main allora_mind.start_allora_trade_bot(interval=check_for_trades) File "/home/theone/Allora_HyperLiquid_AutoTradeBot/allora/allora_mind.py", line 236, in start_allora_trade_bot self.open_trade() File "/home/theone/Allora_HyperLiquid_AutoTradeBot/allora/allora_mind.py", line 164, in open_trade print(f"Confidence: {review['confidence']}%") ~~~~~~^^^^^^^^^^^^^^