I have a Stock scraper that uses Selenium and BeautifulSoup, on the site there is a recent trades table.
Its been working fine and inserting to Mysql database, but there is a bug when there are trades with the same amount and trader and its missing some of the trades.
A snippet of the code is below, it gets the last entry from the database and checks last done, i think its something here that needs to be changed
stmt = 'SELECT * FROM trade ORDER BY id DESC limit %s'
rows = execute_query( stmt, (count,) )
return [row[1:-1] for row in rows]
done = deque(get_last_done( 5 ), maxlen=50 )
I will supply the full code and give access to the Docker image for download if needed.
9 freelancere byder i gennemsnit £20 timen for dette job
Hi Let me check your script and fix it as soon as possible. I have enough deep experience and knowledge of python scrawling. My customers were satisfied with my high quality work.