Skip to content

Conversation

@MDUYN
Copy link
Collaborator

@MDUYN MDUYN commented Apr 27, 2025

Fix stop loss/take profix 100% bug

Description

This fix removes the bug when there are both stop losses and take profits registered with alteast one set to 100% trade size.
This previously created a negative trade, which can't be the case.

Type of Change

  • Bugfix
  • New feature
  • Documentation update
  • Refactor/optimization

Checklist

  • Code is formatted with black or a similar linter.
  • Tests have been added or updated.
  • Documentation has been updated (if needed).

Additional Notes

Include any additional notes or context here.

@MDUYN MDUYN merged commit 369c796 into main Apr 27, 2025
6 checks passed
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.

2 participants