Currently, several enums are defined within the Order.java file. To improve code organization and maintainability, we move these enums to their own respective files.
Description
Create separate .java files for each enum:
CancelReason.java
ExecuteSide.java
RejectReason.java
Side.java
TimeInForce.java
Type.java
Move each enum to its respective file.
Update import statements in all affected files.
Ensure all unit tests pass after the refactoring.
Summary
Moved the following enums from Order.java to separate files:
Purpose
Currently, several enums are defined within the
Order.java
file. To improve code organization and maintainability, we move these enums to their own respective files.Description
.java
files for each enum:CancelReason.java
ExecuteSide.java
RejectReason.java
Side.java
TimeInForce.java
Type.java
Summary
Order.java
to separate files:CancelReason
ExecuteSide
RejectReason
Side
TimeInForce
Type
Order.java
fileOrderBook.java
PriceLevel.java
OrderBookListener.java
OrderListener.java
Example.java
Fixes
1. Continue the conversation here: http://localhost:3000/c/b3639ac8-0b15-420a-8a53-20804386d800.
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.