wwzeng1 / CoralME

A simple, fast and garbage-free matching engine order book that you can use as a starting point for your matching engines.
Apache License 2.0
0 stars 0 forks source link

Move enum definitions back into Order class #18

Closed sweep-nightly[bot] closed 1 month ago

sweep-nightly[bot] commented 1 month ago

Purpose

This pull request aims to resolve the compilation errors reported in the GitHub Action by moving the enum definitions back into the Order class and removing the separate enum files.

Description

The changes made in this pull request are:

  1. Moved all the enum definitions (TimeInForce, ExecuteSide, RejectReason, Type, CancelReason, Side) back into the Order class.
  2. Removed the separate enum files (TimeInForce.java, ExecuteSide.java, RejectReason.java, Type.java, CancelReason.java, Side.java) as they are no longer needed.

Summary

Fixes:

Failing CI in d6fc215

In pull request https://github.com/wwzeng1/CoralME/pull/11. Continue the conversation here: http://localhost:3000/c/69db2e07-6f3a-4bda-bbca-b3274455b344.

To have Sweep make further changes, please add a comment to this PR starting with "Sweep:".

:book: For more information on how to use Sweep, please read our documentation.

Tracking ID: 0fe2881150