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

Change values in Buy the dip mode #51

Closed
ghost opened this issue Mar 21, 2022 · 1 comment
Closed

Change values in Buy the dip mode #51

ghost opened this issue Mar 21, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 21, 2022

Change the price monitor to use the ATH price not the listing price. Also add the ability to change the default 50% dip price for a custom one like 35%-40% in tokens.json.

Add the ability to change the default buy value 20% above all time low for a custom one like 15%-17% in tokens.json.

@tsarbuig
Copy link
Owner

tsarbuig commented Mar 23, 2022

hey bro, to be honest with you I don't want to add too many parameters to the tokens.json, I'm afraid users will be lost if I had those new parameters
But I've changed code to make it easier for you to change manually the values :

  • open LimitSwap.py
  • look for "buy_the_dip_mode"
  • change the "x0.5" and "x1.2" numbers here and it will do what you want :)

Example : if you want 15% above ATL , replace 1.2 by 1.15

Tell me if it's ok for you

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant