-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Maximum purchase amount set to % #76
Comments
+1 here... Would be a nice addition, specially once #52 gets implemented. |
Hey @Dutchblue020 Thanks for your suggestion. As I mentioned in issue #12, percentage buy calculation is tricky.
|
Good point Chris. You're absolutely right. Unless @Dutchblue020 has another suggestion on how to go about this, I think we can close it. Do you agree @Dutchblue020 ? |
|
@fqueis Although, your formula is just accounted for the case that you have open orders. So for example, Trade 1:
Trade 2:
As you can see above case, the buying amount is not consistent. How can we overcome this inconsistency? |
@chrisleekr yeah it keeps the open trades to split the entering amount by a certain percentage. Btw your example is wrong. See: Trade 1:
Trade 2 (if the first one is not closed yet):
Edit: Maybe the var name (openOrders) left you in doubt, I should have used openTrades |
Oh, so you meant, we should track trade history for the coin? |
Not exactly. From your documentation:
When this order get filled you'll have one openTrade
When this same coin get sold and the order is filled, the openTrade goes back to zero |
Hi,
I have a feature request special for the "maximum purchase amount" that you can set.
It will be nice to set a % value of the balance in place of a fixed amount.
With this option you gan use the profit with the next trade (for example when you set it to 100% of the balance).
The text was updated successfully, but these errors were encountered: