-
Notifications
You must be signed in to change notification settings - Fork 492
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
how to add stop loss? #8
Comments
If you need help with bot customization, you can ping me at [email protected] and I will programm it for you |
try use thresholds by change percent or current price change by using if conditions like ..code= **if current_ price(change%) < previous_price(change) : global_variables: (python3) |
**another way by : *if current_ price(change%) > previous_price(change) : GLOBAL VARIABLES: and the best for you to make it as a main condition not an else: bcs it will follow the sequence of your functions ..... |
This is a great project to learn using python in market. but as you know, stop loss is an essential point which is ignored in this code.
How can I add a dynamic stop loss in this code?
The text was updated successfully, but these errors were encountered: