Closed chriscrutt closed 5 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you feel this is very a important issue please reach out the maintainer of this project directly via e-mail: gekko at mvr dot me.
Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.
I'm submitting a ... [ ] bug report [x ] question about the decisions made in the repository
Action taken (what you did)
I attempted to create trades with a certain amount of money, for example whenever Bitcoin drops 5% I purchase $100 worth.
I tried editing
createOrder()
so theamount
would be 100 in thetrader.js
file - but I am not exactly sure on how to do thisExpected result (what you hoped would happen)
Gekko executes a buy order for $100 everytime bitcoin drops 5%
Actual result (unexpected outcome)
Gekko executes a buy order for
this.portfolio.currency / this.price * 0.95
even after attempting to changeamount
to 100.Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
I found some info on issues #2434 #937 #491 #484
I just want to know if there is any way to set an exact trading amount using Gekko