Hey there im wondering if it is possible to tell gekko that only a part of the total amount available on the account is available for trading?
Same question here
That would be a good option but at the same time be able to set the amount for each trade as either a percentage or actual value.
That's very easy, you just update the trading plugin to use a %
That's fantastic! Adding it to the UI would be even better.
thegamecat said... That's very easy, you just update the trading plugin to use a %.
How exactly do you do that, I know very little about Javascript. Seems to me PHP would be a better avenue to follow... I guess because it's so simple.
Having the trader limit the size per trade is easy, but this would break all profit reporting, risk calculation and still would not guard you in some market situations (your strategy can still "lose" more money than your limit). I will add this properly at some point, for now you are recommended to not have more funds on the account than you want Gekko to trade with.
Just leaving a note to say that I would love to see this feature added. Part of what I would like to do is run multiple bots simultaneously. So I could split my balance into say 4 equal parts and run 4 bots to see which is more profitable in a live situation. It would be nice to just define the starting balance in the init function.
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.