Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indicator weights #19

Open
markusaksli opened this issue Apr 14, 2021 · 2 comments · May be fixed by #29
Open

Indicator weights #19

markusaksli opened this issue Apr 14, 2021 · 2 comments · May be fixed by #29
Labels
f: config Relating to config options or loading framework Issues with the framework of the bot p: new feature Request or issue to track new feature P2 General bugs or refactors proposal Proposal for a change or new feature

Comments

@markusaksli
Copy link
Owner

Config needs values for how much each indicator contributes to confluence.

@markusaksli markusaksli added P2 General bugs or refactors framework Issues with the framework of the bot p: new feature Request or issue to track new feature proposal Proposal for a change or new feature f: config Relating to config options or loading labels Apr 14, 2021
@vxinv
Copy link

vxinv commented Apr 19, 2021

Each value needs to be weighted

@markusaksli
Copy link
Owner Author

The functionality for indicators weights is now completed for the next version. The new config file is in YAML format and will look something like this:

moneyPerTrade: 0.1
trailingSl: 0.1
takeProfit: 0.15

confluenceToOpen: 2
# confluenceToClose: 2
indicators:
  - !<RSI>
    weight: 1
    period: 14
    positiveMax: 15
    positiveMin: 30
    negativeMax: 70
    negativeMin: 80
  - !<MACD>
    weight: 1
    shortPeriod: 12
    longPeriod: 26
    signalPeriod: 9
    requiredChange: 0.15
  - !<DBB>
    weight: 1
    period: 20

@markusaksli markusaksli linked a pull request May 10, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: config Relating to config options or loading framework Issues with the framework of the bot p: new feature Request or issue to track new feature P2 General bugs or refactors proposal Proposal for a change or new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants