Skip to content
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

Next release #230

Merged
merged 2 commits into from
Nov 6, 2023
Merged

Next release #230

merged 2 commits into from
Nov 6, 2023

Conversation

Azulinho
Copy link
Owner

@Azulinho Azulinho commented Nov 2, 2023

Preserve config when buying a coin, so that long runs are not overwritten by smaller TAKE profits as the bot moves over time

The bot overwrites the config it used to buy the coin with a more recent one
This causes the bot to for example:
if we're using a backtrack of 300 days, and forwarding every 30 days,
the bot would buy a coin at -40, to sell at +40
but a new monthly config will come in and overwrite it so that it would now buy
at -25 and sell at +5. Essentially this meant that the bot bought at -40
and now would sell at +5.
This would kill the profit as the previous config would still be valid
and would provide a higher profit
@Azulinho Azulinho merged commit 43e24fc into master Nov 6, 2023
3 checks passed
@Azulinho Azulinho deleted the next_release branch November 6, 2023 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant