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

market order - limit filling order relative to available funds #195

Merged
merged 4 commits into from
Jul 30, 2015

Conversation

mnaamani
Copy link
Contributor

a market order will only be filled up to maximum possible given a user's available funds
a market order will not execute if available balance equals zero

streamer will not send new:order messages for market orders.

/api/v1/orders now only returns limit orders (it doesn't make sense to show market orders in the open orders list)

only limit orders can be cancelled, market orders will automatically complete once the market is exhausted, the user's balance drops to zero, or it gets filled.

RWTreichel added a commit that referenced this pull request Jul 30, 2015
market order - limit filling order relative to available funds
@RWTreichel RWTreichel merged commit 32e78ed into FlipSideHR:master Jul 30, 2015
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