Skip to content

Matching Engine #5

@buck54321

Description

@buck54321

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:

Metadata

Metadata

Assignees

Labels

serverserver components

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions