refining some tests

This commit is contained in:
Jake Norbut committed 2018-03-23 17:07:55 -05:00
1 parent 269c354154
commit 17b0f71bac
4 files changed
+7 -6

No files matched your search

+2 -1
View File
@@ -3,7 +3,8 @@ Workspaces Test
Open spark, login as bts, no password
Bring up some windows-- a ladder, some market views, maybe a ticket or two, and a time and sales
Bring up some windows-- a ladder, some market views, and a time and sales
Note: Order Tickets are not saved in the WS
Move those windows around your desktop
+3 -3
View File
@@ -2,17 +2,17 @@ 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 1 lot at -0.30. Verify that a quoting order of 18.60 shows up in the second leg.
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 hedge ratio of the hedging leg to 2.0. Enter a synthetic order of 1 lot at -0.30.
2. Change the hedge ratio 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 hedge ratio 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 hedging ratio 6.0 and enter a synthetic order of 1 lot at -0.30. You should see an
4. Make the hedging ratio 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.
+1 -1
View File
@@ -10,5 +10,5 @@ worse price (ie buy higher, sell lower) if the quantity at the hedge price level
In order to do this we will enable Pay Up for the hedging leg, enter a threshold of 100, select
the drop down to Size (ie absolute size vs a ratio) and set Payup ticks to be 5 ticks.
3. Send a buy order at -0.20. Verify that the hedger order is sent 5 ticks away from the hedging price
3. Send a buy order for 100 at -0.20. Verify that the hedger order is sent 5 ticks away from the hedging price
(since it is a buy order, it should be 5 ticks higher than the hedging price level). Cancel the spreader order.
+1 -1
View File
@@ -5,7 +5,7 @@ This test makes sure the basic spreader functionality works for 2 legged synthet
1. Enter a synthetic buy order of 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. Enter a synthetic order of 1 lot at -0.30, again. Now drag the the synthetic order down the ladder
2. Enter a synthetic buy order of 1 lot at -0.30, again. Now drag the the synthetic order down the ladder
(ie lower bid prices) to a few random prices of your choice. Verify that the quoter leg price (grayed out order in the ladder for the quoting leg) is adjusted
accordingly and is correct.