diff --git a/testing/docs/spreader_common_setup_2.txt b/testing/docs/spreader_common_setup_2.txt index 83e257ff0..c2dddfc57 100644 --- a/testing/docs/spreader_common_setup_2.txt +++ b/testing/docs/spreader_common_setup_2.txt @@ -1,16 +1,22 @@ -This is not a test, but common setup instructions that will be used for a few tests +This test makes sure the basic spreader functionality works for 2 legged synthetic spreads with one quoting leg -0. This needs sim with replay turned off (see step 0 in common_setup_1), so we can create our own markets. +Iceberg +------- -1. Create a 2 legged spread in silver : -a. Buy SIN1 sell SIZ1 -b. Price Multiplier's of 1.0 and -1.0 as well -c. Quote second leg only -d. Lean Qty Factor of 1 for both legs -e. Disable all Quote, Pre-Hedge, Post-Hedge Parameters for both legs +0. Follow the instructions from docs/spreader_common_setup_2.txt -2. Make sure there is no market for these contracts. If there is, cancel those orders. +1. Enter a 1 lot spreader buy order at -0.275. Move the order up one tick at a time, 10 times, and +verify that the quoting sell order on SIZ1 moves 1 tick down along with it. -3. For the first leg (non quoting) enter a 5 lot bid at 18.25 and 5 lot ask at 18.30. Make sure these are reflected in the ladder market data. +2. Move the spreader order back to -0.275. Make sure the quote order follows it. -4. For the second leg (quoting leg) enter a 5 lot bid order at 18.5 and a 5 lot ask order at 18.525. Make sure both the markets show up. \ No newline at end of file +3. Cancel the spreader order. Go to the spreader params (Synthetic Management window), enable the +"Inside Market Distance" on the quoting leg and enter 3. Read the "Inside Market Distance" help tooltip. + +4. Enter a 1 lot spreader buy order at -0.275. Again move the spreader order up tick at a time. +Verify that the quoting order does not move toward the inside market (18.525) unless its 3 ticks away from it. + +5. Verify that it should always move away from the inside market. + +6. Now that you know how it works, use your imagination and test some corner cases (ex when the order +it self is in the inside market, when there is no other inside market besides this order etc). \ No newline at end of file diff --git a/testing/manual/spreader_misc/algo_of_spreader.txt b/testing/manual/spreader_misc/algo_of_spreader.txt new file mode 100644 index 000000000..7dd7d5fba --- /dev/null +++ b/testing/manual/spreader_misc/algo_of_spreader.txt @@ -0,0 +1,12 @@ +This test makes sure the basic spreader works as child orders of different algos + +Iceberg +------- + +0. Follow the instructions from docs/spreader_common_setup_2.txt + +1. In the spreader ladder enter a 5 lot sell IB with a show qty of 2 at -0.275. + +2. Verify that it completely fills. + +3. Verify that the Filled Qty and Avg Filled in the OB is correct \ No newline at end of file diff --git a/testing/manual/spreader_misc/inside_market_distance.txt b/testing/manual/spreader_misc/inside_market_distance.txt new file mode 100644 index 000000000..885365413 --- /dev/null +++ b/testing/manual/spreader_misc/inside_market_distance.txt @@ -0,0 +1,12 @@ +This test makes sure the basic spreader functionality works for 2 legged synthetic spreads with one quoting leg + +Iceberg +------- + +0. Follow the instructions from docs/spreader_common_setup_2.txt + +1. In the spreader ladder enter a 5 lot sell IB with a show qty of 2 at -0.275. + +2. Verify that it completely fills. + +3. Verify that the Filled Qty and Avg Filled in the OB is correct \ No newline at end of file