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

trade: introduce partial close of market orders #25

Merged
merged 1 commit into from
Mar 17, 2018
Merged

trade: introduce partial close of market orders #25

merged 1 commit into from
Mar 17, 2018

Conversation

yerden
Copy link
Contributor

@yerden yerden commented Mar 17, 2018

This patch adds capability to partially close market order by overloading
close() and closeCurrent() in OrderManager class.

One small caveat: the developer must be aware that partial close applies to market orders only, so do overloaded methods. This may be a little bit confusing.

This patch adds capability to partially close market order by overloading
close() and closeCurrent() in OrderManager class.
Copy link
Owner

@dingmaotu dingmaotu left a comment

Choose a reason for hiding this comment

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

Great work! Thanks.

@dingmaotu dingmaotu merged commit b5ae534 into dingmaotu:master Mar 17, 2018
@yerden yerden deleted the patch-1 branch March 17, 2018 09:18
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