Lean
Lean copied to clipboard
Refactor handle lean-cli commands for live deployments
Description
This PR address the following:
- Refactor
FileCommandHandlerto handle command files in order of timestamps - Refactor
FileCommandHandlerto read multiple command files from a fixed pattern name - Update OrderCommand to create symbol from
ticker+market+security-type - Update LiquidateCommand to create symbol from
ticker+market+security-type - Add tests for validate changes
Related Issue
N/A
Motivation and Context
Support commands from lean-cli live deployments
Requires Documentation Change
N/A
How Has This Been Tested?
Building new lean image and using it with lean-cli
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] Refactor (non-breaking change which improves implementation)
- [ ] Performance (non-breaking change which improves performance. Please add associated performance test and results)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Non-functional change (xml comments/documentation/etc)
Checklist:
- [x] My code follows the code style of this project.
- [x] I have read the CONTRIBUTING document.
- [x] I have added tests to cover my changes.
- [x] All new and existing tests passed.
- [x] My branch follows the naming convention
bug-<issue#>-<description>orfeature-<issue#>-<description>