Coder Social home page Coder Social logo

Comments (7)

xmatthias avatar xmatthias commented on June 2, 2024

Freqtrade only cares about the signal columns (enter_long, enter_short, ...).
How you get to that is completely up to the strategy (author).
So there's no "known issue" here - if fastk is ignored - it's your strategy ignoring that.

Now to some degree, we can assist with that - but not with the information you've shared.
with one partial line of a strategy, all we can say is "this compares fastk < 25".
Maybe you combine it wrongly with other indicators, maybe you're looking at the wrong strategy ...

Feel free to provide sufficient information to actually have a look at this - otherwise will close this tomorrow as this is not something that contains even remotely enough information to try to assist further.

from freqtrade.

QgitM05 avatar QgitM05 commented on June 2, 2024

Schermafbeelding 2024-03-17 111742

from freqtrade.

QgitM05 avatar QgitM05 commented on June 2, 2024

Those are the indicators I am using. Now when I set the fastk value to something crazy like <1, it does not enter any trades. So that means it is using the line in my code. Yet when I set the value to 25, it enters trades even when the %k value at that moment is for exmaple 50 or 60 or whatever. The rest of the indicators are used correctly.

from freqtrade.

QgitM05 avatar QgitM05 commented on June 2, 2024

Let me know if this is sufficient info and if you need anything else

from freqtrade.

xmatthias avatar xmatthias commented on June 2, 2024

well this tells me that this part is using fastk to check if it's below 25.

if there's other conditions - we don't know. how it's calculated, we don't know.

From what you shared - i can't see anything wrong - though i also can't see what you think is wrong. (maybe you can share a screenshot from freqUI showing that it's > 25 and showing an entry signal ... ?

from freqtrade.

QgitM05 avatar QgitM05 commented on June 2, 2024

Alright I figured something out. 2 things:

1:
Previously I checked the actual fastk value with cryptowatch.net which is not exactly the same as the data presented and used by freqtrade (UI).

2:
The freqUI shows that indeed the bot bought when the fastk was 39.3 (see image). Yet that's understandable as the bot confirms the signal in a certain candle (the previous candle had fastk 24.8 therefore <25) so it proceeds to buy but the actual entry happens in the following candle.

So in the end it makes sense that the actual value during the entry isn't always <25. And on top of that it's not fair to try to match the freq data with cryptowatch.net

image

from freqtrade.

xmatthias avatar xmatthias commented on June 2, 2024

well as most indicators - there's parameters for the calculation (iirc, in STOCHF's case, it's several).

i don't know what cryptowatch is using for their calculation - neither do i know what the default for ta-lib is.
Usually, using the default does help - though it's not always guaranteed to yield identical results.

Freqtrade can't / won't really determine "this is the correct value for your strategy to use" - it's your strategy calling a library with (usually sensible) defaults.
if that's not what you want (the defaults) - then simply configure them the way you need them to align with your expectations.

if it still doesn't align - it might be a bug in the library you use - but that's usually not freqtrade - but either ta-lib, pandas_ta, or some other technical indicator library - making it hard for us to help you in this.

from freqtrade.

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.