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

Only close profitable positions we can't roll #507

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

brndnmtthws
Copy link
Owner

Previously, if roll_when.close_if_unable_to_roll was enabled, we would close positions with a negative P&L, which is usually undesirable. Instead, we only close positions that have positive P&L.

Previously, if `roll_when.close_if_unable_to_roll` was enabled, we would
close positions with a negative P&L, which is usually undesirable.
Instead, we only close positions that have positive P&L.
@brndnmtthws brndnmtthws merged commit b50e363 into main Nov 8, 2024
8 checks passed
@brndnmtthws brndnmtthws deleted the close-if-cant-roll branch November 8, 2024 14:47
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