Test Author: Taha
If it breaks: Pedro

Cover order has 2 "child orders" - the main child order and a hedge order. Everytime the main child order
gets filled, it sends out a hedge order, "Hedge Ticks" away from the fill.

0. This needs sim market data **not** to be merged with replay (or
cert), so we can create our own markets. Use the following key to set
market data up:

ExchangeSim {
  value {
    merge_with_md: false 
    forward_implied: false 
  }
}

1. Bring up a ladder, lets say in SIN1 (does not matter which security)

2. Create the ask sides of the market by entering 50 lot sell limit order at 15.50
(if there are no markets use the M View and the ticket to enter)

3. Enter a 10 lot Cover (Child=Limit, Hedge=Limit) buy at 15.450, with hedge Ticks=3. 
Verify that a limit order is sent at that price

4. Move the Cover to 15.475 and back and verify the child order moves accordingly.

5. Get a 1 lot fill in the Cover by crossing a 1 lot sell limit order with it.
Make sure a hedge is sent 3 ticks away from the fill (the hedge badge should show an H on the right)

6. Now from the OB (or miniOB) change the Hedge Ticks for this order to 5

7. Repeat Step 5 and verify the hedge is sent 5 ticks away now.

8. Enter another 10 lot Cover order. Repeat step 5. until it is completely filled. Make sure it
clearly gets marked as completed

9. Now that you know how Cover works, quickly test for the Sell case by repeating 1-5 for a sell cover order 

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.

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)

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)
