From 02ed327ec7384a3e4b0d6ad50dc02de754f7d486 Mon Sep 17 00:00:00 2001 From: Jake Norbut Date: Tue, 12 Mar 2019 16:20:46 -0500 Subject: [PATCH] clarifying tests --- .../spreader_post_hedge/post_hedge_ticks_away_cross.txt | 2 +- .../spreader_post_hedge/post_hedge_time_based_cross.txt | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/testing/manual/spreader_post_hedge/post_hedge_ticks_away_cross.txt b/testing/manual/spreader_post_hedge/post_hedge_ticks_away_cross.txt index ded426b26..dcf35b196 100644 --- a/testing/manual/spreader_post_hedge/post_hedge_ticks_away_cross.txt +++ b/testing/manual/spreader_post_hedge/post_hedge_ticks_away_cross.txt @@ -7,7 +7,7 @@ This test assumes the user has done the test in simple_sanity.txt 2. Now we are going to force a legged hedge, ie a hedge that does not get filled. The way to do this is to drag the quoting order to force a cross, which will in turn send a hedge that joins the market instead of crossing it. So drag the quoting order all the way to the bid side -to cross it with 5 @ 18.50; the quoting order can be found at 18.6, so be sure to scroll up if you don't initially see it. +to cross it with 5 @ 18.50; the quoting order can be found at 18.630, so be sure to scroll up if you don't initially see it. This should cause a fill in the quoting leg at 18.50 and a hedge order will be sent at 18.20. Verify this. This hedge order will keep working there (since we don't have diff --git a/testing/manual/spreader_post_hedge/post_hedge_time_based_cross.txt b/testing/manual/spreader_post_hedge/post_hedge_time_based_cross.txt index b7cea249b..67adccd94 100644 --- a/testing/manual/spreader_post_hedge/post_hedge_time_based_cross.txt +++ b/testing/manual/spreader_post_hedge/post_hedge_time_based_cross.txt @@ -7,9 +7,12 @@ This test assumes the user has done the test in simple_sanity.txt 2. Now we are going to force a legged hedge, ie a hedge that does not get filled. The way to do this is to drag the quoting order to force a cross, which will in turn send a hedge that joins the market instead of crossing it. So drag the quoting order all the way to the bid side -to cross it with 5 @ 18.50. This should cause a fill in the quoting leg at 18.50 and a hedge order +to cross it with 5 @ 18.50; the quoting order can be found at 18.630, so be sure to scroll up if you don't initially see it. + +This should cause a fill in the quoting leg at 18.50 and a hedge order will be sent at 18.20. Verify this. This hedge order will keep working there (since we don't have -any post hedging rules right now). Now cancel the spreader order. +any post hedging rules right now). Now cancel the hedge order (which will aslo cxl the speader order) + 3. Enable the Post-Hedge Time Based Cross for the hedging leg. Put 10,000 for Time(ms) and 5 for the Cross Ticks. @@ -18,4 +21,4 @@ and 5 for the Cross Ticks. You should see the Hedging order working at 18.20. This time the hedge order should not wait forever, but after 10 seconds, it should cross the opposite inside market by 5 ticks. The spreader order will be filled too. Verify that the order was indeed sent 5 ticks into -the opposite inside market +the opposite inside market (18.355)