
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
It seems that what is "wrong" is that you are not identifying your Prints, so you are unable to see which print belongs to what, leading to confusion.
And while your are it, best to print out the value of "minimum_rate" to make sure of its value, just as a debugging precaution.
EDIT: You might want to Print out the Symbol's name as well to help identify the values and make sure they are in agreement with the contract specifications.I already did that but trimmed down my code for readability.
Edit: I found the problem. I was doing a transformation to the printed value. Sorry, I don't know how I missed this.
That is why I stated that you should show your actual code, but it seems that your second attempt was not your actual code either. 🤦♂️