Giter VIP home page Giter VIP logo

Comments (5)

raftersvk avatar raftersvk commented on May 25, 2024 2

coud it be just the position of the default values interfering with the mgm-comfig.json
on my local setup I have commented that part ant it works perfectly so far :
image

from monigomani.

raftersvk avatar raftersvk commented on May 25, 2024 1

indeed I have left the buy / sell_params for the strat to work properly.

from monigomani.

Rikj000 avatar Rikj000 commented on May 25, 2024

On my end the results also appear off! 😮
Appears to only occur for the trailing_stop_positive_offset value.

mgm-config.json - stoploss_spaces section:

{
    "stoploss_min_value": -0.02,
    "stoploss_max_value": -0.35,
    "trailing_stop_positive_min_value": 0.01,
    "trailing_stop_positive_max_value": 0.35,
    "trailing_stop_positive_offset_min_value": 0.011,
    "trailing_stop_positive_offset_max_value": 0.1
}

Results found:

# Stoploss:
stoploss = -0.288

# Trailing stop:
trailing_stop = True
trailing_stop_positive = 0.253
trailing_stop_positive_offset = 0.326
trailing_only_offset_is_reached = True

from monigomani.

Rikj000 avatar Rikj000 commented on May 25, 2024

coud it be just the position of the default values interfering with the mgm-comfig.json
on my local setup I have commented that part ant it works perfectly so far :

Truly nice findings @raftersvk! 👏 So a little more exact, you commented out lines 118 - 125? 👀
I would leave the buy_params and sell_params lines (119 - 120) there though, to prevent issues when loading in 'mgm-config-hyperopt.json during the second HyperOpt Run.

Currently I'm still working on the Docs & HyperOpting protections, would be nice if you could provide some of the fixed results in the meantime to speed things up 🙂

from monigomani.

Rikj000 avatar Rikj000 commented on May 25, 2024

So when taking a closer look at the documentation I wondered if there even was a bug at all
MGM-Custom-Stoploss
And after diving in Freqtrades source code I can confirm all looks to be in order 🎉
Freqtrade-Source-Stoploss

trailing_stop_positive_offset_min_value & trailing_stop_positive_offset_max_value
Their parameter names are not clear without documentation, since they don't make up the final trailing_stop_positive_offset on their own
They first add up the trailing_stop_positive 🙂
It's basically just an intermediate parameter that caused us some confusion 😄

from monigomani.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.