Drakkar-Software / OctoBot

Open source crypto trading bot
https://www.octobot.cloud
GNU General Public License v3.0
3.09k stars 726 forks source link

Can't access to community models strategy data #2625

Open Ye-Shwethway opened 1 month ago

Ye-Shwethway commented 1 month ago

After merging all the latest commits and redeploying, I can't get predefined community models strategies as before. Here's the screenshot. image

My latest commit time is 4:15 a.m UTC. 29.5.24 OS - Mobile web browser Hosted web server - render.com

GuillaumeDSM commented 1 month ago

Hello ! You might need to update the code of your web interface tentacle, this get_max method doesn't exist anymore in the newest OctoBot

Ye-Shwethway commented 1 month ago

Hello ! You might need to update the code of your web interface tentacle, this get_max method doesn't exist anymore in the newest OctoBot

Can you tell me a little more details? My knowledge in coding is so limited. Thank you anyway for the reply.

bdelamotte commented 1 week ago

I got the same error. Here's my steps:

python3.10 -m pip install virtualenv
python3.10 -m virtualenv venv
source venv/bin/activate
git clone https://github.com/Drakkar-Software/OctoBot
cd OctoBot
python3 -m pip install -Ur requirements.txt
python3 start.py

I double checked I was on the master branch too. git checkout master git pull

I had added two exchanges and then tried to toggle the profiles in the UI by hitting the button with the arrows. It waits a second and then gives this error message:

Error: 'octobot.community.models.strategy_data.ResultsData object' has no attribute 'get_max' (UndefinedError). More details in logs.