Hello Guest

Bot gets slower after a big amount of bets

  • 2 Replies
  • 428 Views
*

Cqnz

  • *
  • 3
  • +0/-0
    • View Profile
Bot gets slower after a big amount of bets
« on: April 15, 2021, 01:24:54 am »
Hey!

I've been testing a new strategy these past weeks but I'm having a problems.

I run the bot with this strategy, but after 500-600k bets the bots starts getting slower so the estimated profit per 24 hours goes down too.

The only solution I found yet is to restart the bot. It's not ideal (mainly because I lose all the session stats), but it's the only one I found until now.

Is there any way to prevent this? I suppose it has to do with the bot saving too much information so it gets slower, but I don't know how to fix it.

Thanks!

EDIT: I forgot to mention that I'm using Stake.
« Last Edit: April 15, 2021, 01:28:03 am by Cqnz »

*

Seuntjie

  • *****
  • 593
  • +17/-3
    • View Profile
Re: Bot gets slower after a big amount of bets
« Reply #1 on: April 19, 2021, 09:24:02 am »
Are you using the advanced mode or programmer mode? If you're using the programmer mode, can you post your script?
Can you post the memory and CPU usage of the bot after it's slowed down? please?

*

Cqnz

  • *
  • 3
  • +0/-0
    • View Profile
Re: Bot gets slower after a big amount of bets
« Reply #2 on: April 19, 2021, 09:21:35 pm »
Sure! I'm using the programmer mode with the following script: https://prnt.sc/11pqc2i

This is the CPU and memory usage for the bot rn: https://prnt.sc/11pqd4u

Anyways, the bot has done a little bit more than 200k bets since the last restart, so it's not that slow yet. It gets worse when it reaches +600k bets.