-
Notifications
You must be signed in to change notification settings - Fork 129
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
KOTH "buy or sell cycle" mode idea #673
Comments
Hmm this is a huge change in logic, @PermieBTS we need cabinet input for this. @NemesisZAUK how would you define "largest balance"? Measure QUOTE value in BASE using current center price and compare to BASE amount? |
This is enhancement would be an additional option for the KOTH strategy correct? 1 Buy We can look at developing this feature after the backlog in other areas is reduced |
Yeah correct, this could be a separate mode. |
@NemesisZAUK in this mode, if order gets partially filled and top price changed, should we move the reminder only? E.g. say we're selling 1000 BTS for BTC, 700 BTS gets filled at 400 sats, 300 BTS reminder. We need to move order down to 390 sats, should we use only the reminder (300 BTS) or place full-sized order? |
Hello again. In the case mentioned above where 70% of the sale has been completed, I would suggest the remaining 300bts order be left as originally placed and a new cycle started with whatever balances are currently available. As we know the prices fluctuate so much the order would be filled soon enough at the original profit margin. Note: |
Expected Behavior
When starting KOTH strategy bot should either Sell or Buy depending on which of the traded pair has the largest balance. ( Balance must also not = 0 )
Actual Behavior
When starting KOTH strategy Bot attempts to buy and sell at the same time. If one of the traded pair has a 0 balance an error is displayed. "Cannot place order with 0 balance." Then bot is disabled.
##Solution:
Bot should check for the following before trading:
Do NOT trade both pairs at the same time. Bot should either buy or sell not both.
For eg:
BTC / BTS Pair: BTS Largest Balance.
Note:
At this time, if you set the KOTH strategy to sell only 90% of BTS in the above example, the bot makes an initial trade then tries to make another with the remaining 10% of BTS, causing you to run out of funds to pay the fees. ( if fees BTS ) This could be remedied by preventing the bot from buying and selling at the same time within a single cycle.
The BUY OR SELL cycle strategy above is a desirable feature for future iterations of DEXBot.
The text was updated successfully, but these errors were encountered: