24 lines
1.3 KiB
Plaintext
24 lines
1.3 KiB
Plaintext
This test assumes the user has done the test in simple_sanity.txt
|
||
|
||
0. Follow the instructions in common_setup_1.txt
|
||
|
||
1. Enter a synthetic order of buying 1 lot at -0.30. Verify that a quoting order of 18.60 shows up in the second leg.
|
||
Cancel the synthetic order and the quoting order should be cancelled too.
|
||
|
||
2. Change the lean qty factor of the hedging leg to 2.0. Enter a synthetic order of buying 1 lot at -0.30.
|
||
Verify that a quoting order of 18.605 shows up in the second leg. Cancel the synthetic order
|
||
and the quoting should be cancelled too.
|
||
|
||
3. Repeat it for a lean qty factor of 5.0, and verify that the quoting order shows at the right price
|
||
(calculation of this price is left as an exercise for the user). Cancel the synthetic order.
|
||
|
||
4. Make the lean qty factor 6.0 and enter a synthetic order of buying 1 lot at -0.30. You should see an
|
||
active spreader order, but since there is not enough qty in the hedging market,
|
||
no quoting order should be sent. Keep this synthetic order running.
|
||
|
||
5. Change hedging leg’s 1 lot ask @ 18.30 to a 2 lot. This should enable the hedging qty requirements
|
||
to be met, and a quoting order should be sent at 18.620. Keep this synthetic order running.
|
||
|
||
6. Changing the 2 lot @ 18.30 back to 1, and once again the hedging qty requirements are not met hence
|
||
the quoter order should be cancelled. Cancel the synthetic order.
|