Made the fractional_hedging test a bit easier to do

This commit is contained in:
Taha Afzal committed 2019-11-04 10:41:27 -05:00
1 parent 872e2465a6
commit 279abcfefd
1 file changed
+13 -12
@@ -26,21 +26,22 @@ or more orders to get the unhedged delta < 1.
Force quoting fills based on the left most column (by lifting the quoting offer)
and verify that hedge orders of size "hedge_order_sent" (3rd column) are sent as a result.
The "unhedged_delta" column shows the unhedged delta immediately after the quoting fill
Compare the cumulative qty (cum) to the quote and hedge badges for easy visual inspection.
(The "unhedged_delta" column shows the unhedged delta immediately after the quoting fill
and the "remaining_unhedged_delta" column is the unhedged delta after the hedge order
has been sent.
You can check the hedge orders being sent easily by looking at the order reduction
happening on the order sent in step 2 (or look at the hedges in the orderbook).
has been sent)
------------------------------------------------------------------------------
quoting fill unhedged_delta hedge_order_sent remaining_unhedged_delta
quoting fill(cum) unhedged_delta hedge_order_sent (cum) remaining_unhedged_delta
------------------------------------------------------------------------------
1 2/3 0 2/3
1 4/3 1 1/3
1 1 1 0
4 8/3 2 2/3
5 4 4 0
2 4/3 1 1/3
1 1 1 0
1(1/15) 2/3 0(0/10) 2/3
1(2/15) 4/3 1(1/10) 1/3
1(3/15) 1 1(2/10) 0
4(7/17) 8/3 2(4/10) 2/3
5(12/15) 4 4(8/10) 0
2(14/15) 4/3 1(9/10) 1/3
1(15/15) 1 1(10/10) 0
6. At the end of this, the whole order should be filled. Check the order book
to make sure the fill price is -9.900, there are 10 total fills in SIF1 and