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

Matching Engine #5

Closed
buck54321 opened this issue Aug 12, 2019 · 1 comment
Closed

Matching Engine #5

buck54321 opened this issue Aug 12, 2019 · 1 comment
Assignees
Labels
server server components

Comments

@buck54321
Copy link
Member

buck54321 commented Aug 12, 2019

We need an order matching engine. Given an order book and an epoch queue, the engine should generate matches and handle cancellations. This is a low-level DEX component that will be used by the order book manager, so no considerations for client notification or other higher-level DEX functions should be made.

This work will involve the creation of an order type and an epoch queue type. The order type will be widely shared among higher-level DEX modules. A market's epoch queue will be shared with an order book manager the market manager, which will be responsible for building epoch queues and sending them to the matching engine along with the order book (standing orders).

Keep in mind that there may be interest in independent verification of order matching, so there will eventually need to be some clean exported types/interfaces.

Relevant specification sections:

@chappjc chappjc mentioned this issue Aug 12, 2019
5 tasks
@chappjc chappjc self-assigned this Aug 19, 2019
@chappjc chappjc mentioned this issue Aug 19, 2019
@chappjc chappjc mentioned this issue Aug 19, 2019
@chappjc chappjc added the server server components label Aug 19, 2019
@chappjc chappjc added this to the Core Server Components milestone Aug 19, 2019
@chappjc
Copy link
Member

chappjc commented Sep 9, 2019

Resolved by #15

@chappjc chappjc closed this as completed Sep 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server server components
Projects
None yet
Development

No branches or pull requests

2 participants