Lean icon indicating copy to clipboard operation
Lean copied to clipboard

Refactor handle lean-cli commands for live deployments

Open rjra2611 opened this issue 3 years ago • 0 comments

Description

This PR address the following:

  • Refactor FileCommandHandler to handle command files in order of timestamps
  • Refactor FileCommandHandler to 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> or feature-<issue#>-<description>

rjra2611 avatar Aug 05 '22 21:08 rjra2611