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

Allow specifying a minimum order price #339

Merged
merged 2 commits into from Dec 13, 2023
Merged

Allow specifying a minimum order price #339

merged 2 commits into from Dec 13, 2023

Conversation

brndnmtthws
Copy link
Owner

To avoid orders where the commission exceeds the order credit, we can set a minimum order price, which we default to $0.05. This lets us avoid 1 or 2 penny orders where the commission is more than the credit received from the order itself.

Also did some refactorings and fixed typings.

To avoid orders where the commission exceeds the order credit, we can
set a minimum order price, which we default to $0.05. This lets us avoid
1 or 2 penny orders where the commission is more than the credit
received from the order itself.

Also did some refactorings and fixed typings.
@brndnmtthws brndnmtthws merged commit c98dfbc into main Dec 13, 2023
8 checks passed
@brndnmtthws brndnmtthws deleted the min-order-price branch December 13, 2023 17:44
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

1 participant