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

Add minor changes to matching engine logic #24

Merged
merged 11 commits into from Mar 14, 2023

Conversation

jarry-xiao
Copy link
Contributor

Changes:

  • DecrementTake handles partial removals
  • Free fund accounting now occurs after the matching/order placement to ensure that checks work as intended.

spawn("prettier", ["--write", sdkDir], { stdio: "inherit" })
.on("error", (err) => {
console.error(
"Failed to lint client files. Try installing prettier (`npm install --save-dev --save-exact prettier`)"
Copy link
Contributor

Choose a reason for hiding this comment

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

add comment that we should add a prettier config here (otherwise, will default to whatever your local prettier has rather than being consistent)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call, if you have one, can you quickly paste to this PR. Not opinionated here

Copy link
Contributor

Choose a reason for hiding this comment

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

just leave the comment for now and we can add one in if a future diff comes in that looks ugly. As long as the default includes semicolons and double-quotes since that's what all of our editors currently do

@eugene-chen eugene-chen merged commit 6bd9152 into dev Mar 14, 2023
@jarry-xiao jarry-xiao deleted the phoenix-v1/minor-matching-engine-refactor branch May 1, 2023 14:14
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