clarifying tests

This commit is contained in:
Jake Norbut committed 2019-03-12 16:20:46 -05:00
1 parent e9162263d6
commit 02ed327ec7
2 files changed
+7 -4

No files matched your search

@@ -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
@@ -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)