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
Add feature: trailing SL in % from ATH since entry (refresh each X seconds) #43
Comments
Hello, I think what you want to do can be achieved with 2 orders like so:
Example 1: Example 2: You can choose the activation price for order 2 so it doesn't sell too early for your taste. |
But as I understood, bot says: OK, I will sell when the price of TOKEN reaches x BNB per token. That means bot will sell when the Take profit will be reached, in your example 1 when 0.105 |
Okay I think this is just a matter of bad documentation and/or messages. When trailing stop loss (tsl) is activated on a sell order, the order will only execute once the price drops by X% compared to the maximum price during the monitoring period. Monitoring period starts when the price goes above the price value from the order. |
Thanks, just to know which is the refresh rate of the monitoring? (in seconds I guess) |
Can be configured in the config file. Default is 5 seconds |
Keep in mind that the more tokens you have added or the slower the RPC you use, the more time the script will need to get all the token prices. So effectively it could be slower than the specified amount. |
Hi,
first of all, awesome work and thanks a lot!
I think would be fine to set a SL trailing of a x% under the maximum value of the token since the entry.
E.j.
Entry 0.1
SL 10% 0.09
Trainling SL 5%
... 1h later
Value 0.3
SL 0.25
The text was updated successfully, but these errors were encountered: