From 17b0f71baccf329c3688d88fd8841ee69aeea8ca Mon Sep 17 00:00:00 2001 From: Jake Norbut Date: Fri, 23 Mar 2018 17:07:46 -0500 Subject: [PATCH] refining some tests --- testing/manual/misc/workspaces.txt | 3 ++- testing/manual/spreader/hedge_ratio.txt | 6 +++--- testing/manual/spreader/pre_hedge_payup.txt | 2 +- testing/manual/spreader/simple_sanity.txt | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/testing/manual/misc/workspaces.txt b/testing/manual/misc/workspaces.txt index f18a338c3..979e895e5 100644 --- a/testing/manual/misc/workspaces.txt +++ b/testing/manual/misc/workspaces.txt @@ -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 diff --git a/testing/manual/spreader/hedge_ratio.txt b/testing/manual/spreader/hedge_ratio.txt index 87d9c0274..c476a3b94 100644 --- a/testing/manual/spreader/hedge_ratio.txt +++ b/testing/manual/spreader/hedge_ratio.txt @@ -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. diff --git a/testing/manual/spreader/pre_hedge_payup.txt b/testing/manual/spreader/pre_hedge_payup.txt index 0f0120a56..a0b40b41a 100644 --- a/testing/manual/spreader/pre_hedge_payup.txt +++ b/testing/manual/spreader/pre_hedge_payup.txt @@ -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. diff --git a/testing/manual/spreader/simple_sanity.txt b/testing/manual/spreader/simple_sanity.txt index f62791b97..bb7e2a264 100644 --- a/testing/manual/spreader/simple_sanity.txt +++ b/testing/manual/spreader/simple_sanity.txt @@ -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.