Tweaked cover test.

This commit is contained in:
Pedro Pinto committed 2019-05-04 11:53:12 -04:00
1 parent 10da3c517c
commit e469e8fc70
1 file changed
+4 -4
+4 -4
View File
@@ -35,19 +35,19 @@ Make sure a hedge is sent 3 ticks away from the fill (the hedge badge should sho
8. Enter another 10 lot Cover order. Repeat step 5. until it is completely filled. Make sure it
clearly gets marked as completed
10. Now that you know how Cover works, quickly test for the Sell case by repeating 1-5 for a sell cover order
9. Now that you know how Cover works, quickly test for the Sell case by repeating 1-5 for a sell cover order
11. Clean the slate (except for the market). Enter a 10 lot buy Limit order. Attach a Cover
10. Clean the slate (except for the market). Enter a 10 lot buy Limit order. Attach a Cover
to it (with the same parameters from 3). Make sure this cover (the one "created" by attaching)
behaves in the same correct way as the one that was launched in 3 - ie get some fills, make
sure the hedges are fired correctly, make sure updates to Hedge Ticks reflect the
next hedges etc.
12. Repeat 11 but instead attach to a partially filled Limit order. Make sure the Cover does not
11. Repeat 11 but instead attach to a partially filled Limit order. Make sure the Cover does not
immediatly fire off hedges for fills happened before the attachment time. Verify it works correctly,
just like a Cover attached to a non partially filled order (as in 11)
11. Boundary cases
12. Boundary cases
Enter a cover order away from the market. Cancel its child order and Cover should be cancelled too.
Mess in any way with the ChildOrder and make sure the parent does the right thing (ex: fill
the Child, partially fill the Child, Change the qty of the Child and then fill it etc)