GimmerBot / Gimmer

Gimmer is a tool for trade and automation in digital currencies.
https://gimmer.com
43 stars 15 forks source link

Stop loss in scalper bot is not considered during backtesting #125

Closed EduMenges closed 5 years ago

EduMenges commented 5 years ago

Expected Behaviour

When a stops loss happens, the bot is suposed to wait and sell again when the conditons are met.

Actual Behaviour

After a stop loss, the bot buys, as if there wasn't actually a stop loss.

Steps to Reproduce the Problem

Backtesting with 10,5% profit, 0,9% entry and 4% stop loss, with NANO/USDT in Huobi Global exchange, 1 day as time-frame. These parameters probably won't matter, since it happens at any specs.

Specifications

Printscreen (Case needed)

2019-05-07 20_09_15-Window

EduMenges commented 5 years ago

Addendum: I didn't test it outside of a simulaiton.

EduMenges commented 5 years ago

This was just me being dumb. The stop loss mechanism is working properly.