spell check manual tests
This commit is contained in:
1 parent
2b51bda3e7
commit
36d40dec70
3 files changed
+10
-10
No files matched your search
@@ -2,9 +2,9 @@ This test verifies that fractional hedges work. That is, when a fill in a quotin
|
||||
not equate to one full contract in the hedging leg, we accumulate the unhedged
|
||||
delta, until we can send one or more hedging contracts.
|
||||
|
||||
1. Create a new synthetic spread. For the legs choose SIF9 and SIH9 (if you dont
|
||||
1. Create a new synthetic spread. For the legs choose SIF9 and SIH9 (if you don't
|
||||
have these contracts, other contracts can be chosen too) and for the quantities choose 1 and -1.5
|
||||
respectively (and same for the Price multiplier).
|
||||
respectively (and same for the Price multiplier).
|
||||
Enable quoting for SIH9, and disable all quoting, pre-hedge and post-hedge parameters.
|
||||
Name the synthetic SIF9-1.5SIH9.
|
||||
|
||||
@@ -18,13 +18,13 @@ to enter orders). The quoting order will lean against this.
|
||||
4. Verify that a 15 lot quoting order is sent for SIH9 at 19.935.
|
||||
|
||||
5. Now we will start filling the quoting order and verify the hedges. A 1 lot fill in the
|
||||
quoting leg means a 2/3 contract in the hedging leg. Since we can not send 2/3 constracts,
|
||||
quoting leg means a 2/3 contract in the hedging leg. Since we can not send 2/3 contracts,
|
||||
we will add it to the "unhedged delta" till the unhedged delta > 1, and then we will send one
|
||||
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 immediatly after the quoting fill
|
||||
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
|
||||
|
||||
@@ -10,7 +10,7 @@ ExchangeSim {
|
||||
}
|
||||
}
|
||||
|
||||
1. Open up the mview and find a security with with both direct and implied markets, on the ask side.
|
||||
1. Open up the mview and find a security with with both direct and implied markets, on the ask side.
|
||||
Make sure those markets are stable and you can rely on them.
|
||||
|
||||
2. Create a synthetic with the security in 1. being the hedge leg (buy) and choose a quoting
|
||||
@@ -19,11 +19,11 @@ use "Merged"
|
||||
|
||||
3. Disable all spreader params.
|
||||
|
||||
4. Now enter a spreader order so that it doesnt get filled immediatly. Note the quoting order.
|
||||
4. Now enter a spreader order so that it doesn't get filled immediately. Note the quoting order.
|
||||
quoting leg price = hedge_price - spreader_price.
|
||||
hedge_price is where it can buy the hedge order (which since its a buy will be on the ask side of
|
||||
the hedging market).
|
||||
Make sure thta its correct and its using the merged book in the hedging market.
|
||||
Make sure that its correct and its using the merged book in the hedging market.
|
||||
|
||||
5. Cancel the order and change the spreader so its using Direct prices.
|
||||
Repeat 4, and make sure its using direct price on the hedging market.
|
||||
@@ -5,8 +5,8 @@ with 1 quoting leg.
|
||||
|
||||
1. Create a 4 legged synthetic spread with legs SIF9, SIH9, SIK9, SIN9, with leg quantities and
|
||||
price multipliers of 1,1,1 and -1 respectively. Leg SIN9 is the only quoting leg.
|
||||
Disable all Quote, Pre-Hedge and Post-Hedge paramaters (leg contracts are arbitrary, so if you
|
||||
dont have those contracts, choose any set of 4 contracts).
|
||||
Disable all Quote, Pre-Hedge and Post-Hedge parameters (leg contracts are arbitrary, so if you
|
||||
don't have those contracts, choose any set of 4 contracts).
|
||||
|
||||
2. Enter a synthetic buy order of 10 lots at 40.00. The ladders will most likely be empty, so
|
||||
use the market view to enter orders.
|
||||
@@ -16,7 +16,7 @@ Now enter:
|
||||
SIH9 10 lot sell @ 19.950
|
||||
SIK9 10 lot sell @ 20.200
|
||||
|
||||
There should still be no quoting order for SIN9 since the SIF9 hedge leg still doesnt have a market.
|
||||
There should still be no quoting order for SIN9 since the SIF9 hedge leg still doesn't have a market.
|
||||
Now Enter:
|
||||
SIF9 1 lot sell @ 20.000
|
||||
|
||||
|
||||
Reference in new issue
Block a user