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.22k stars 302 forks source link

coin_sl and frequency never used #21

Closed e4rthdog closed 2 years ago

e4rthdog commented 3 years ago

When the scripts load the order from the file and assigns all the variables, coin_slis never used. Instead it uses the slvariable from config. is this correct?

Also frequencyis never used.

mediax24 commented 3 years ago

indeed trailing stop loss never trigger a higher stop loss (stop win in this case) my modification elif float(last_price) < stored_price - (stored_pricesl /100) or (float(last_price) > stored_price + (stored_pricecoin_tp /100) and not enable_tsl) or float(last_price) < stored_price + (stored_pricecoin_sl /100) and float(last_price) > stored_price + (stored_pricetp /100) and enable_tsl:

Linus045 commented 2 years ago

Is this still a problem or can this issue be closed?

mediax24 commented 2 years ago

Is this still a problem or can this issue be closed?

Can be closed

Cheers