CyberPunkMetalHead / gateio-crypto-trading-bot-binance-announcements-new-coins

This is a crypto trading bot that scans the Binance Annoucements page for new coins, and places trades on Gateio
MIT License
1.21k stars 303 forks source link

Multiple trades active #105

Closed Azoq closed 2 years ago

Azoq commented 2 years ago

Hi I'm new here - but I just saw this was not mentioned.

So a few days ago the bot started to include Kucoin and an interesting thing happend here. Today it bought LINA first - held this one for about an hour. When KLAY gets released. Everything regarding LINA is forgotten and not sold. Moving on the bot later fails on the KLAY trade as well. (I can post the error log later today - my VPS is currently under maintenance)

I think the solution here could simply be to (1) add a list with the coins currently owned, and (2) loop through this list with the sell logic to have continuos price check all coins 'currently owned'

Azoq commented 2 years ago

Add; for some reason the error is not shown in the logs. It just says new coin detected and forgets about the old one. 145034307-2048c00d-2a00-4845-8cd2-1a85a0abafa2

nitad54448 commented 2 years ago

In may case, both coins were purchased