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

fix: Add validation to ReplaceOrderRequest #445

Merged
merged 4 commits into from Apr 26, 2024

Conversation

hiohiohio
Copy link
Contributor

Context:

  • ReplaceOrderRequest ignores qty/limit_price/stop_price/trail if value is zero
  • this may cause confusion
  • this PR will add validation to ReplaceOrderRequest to let users know that those values should be greater than zero

Change:

  • add validation to ReplaceOrderRequest
  • apply poetry run isort --profile black <file>

Copy link
Contributor

@gnvk gnvk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hiohiohio hiohiohio merged commit dda0523 into master Apr 26, 2024
12 checks passed
@hiohiohio hiohiohio deleted the add-validation-to-replace-order-request branch April 26, 2024 06:50
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.

None yet

2 participants