fix some tests
This commit is contained in:
1 parent
9f48b648b7
commit
bddebfc25b
3 files changed
+19
-18
No files matched your search
@@ -10,14 +10,14 @@ It will:
|
||||
The prorata order works the child until the Fill Limit is breached.
|
||||
Once the fill limit is breached, the algo will begin the 'get out process'
|
||||
Unless:
|
||||
- If "Enable Stay In" is checked, AND
|
||||
- If "Stay In" is checked, AND
|
||||
a) The opposite inside market (at inception) doesn't move against us AND
|
||||
b) The same side quantity remains ABOVE the "Stay in Threshold"
|
||||
If "Enable Stay In" is not checked, 'get out process' begins right away
|
||||
If "Stay In" is not checked, 'get out process' begins right away
|
||||
|
||||
"Get Out Process" means
|
||||
1) Cancel the child order
|
||||
2) Scratch the overfill hedges if and only if the "Enable Scratch on Overfill" is checked
|
||||
2) Scratch the overfill hedges if and only if the "Scratch on Overfill" is checked
|
||||
-Scratches are done "Chase Ticks" through the original opposite market
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ ExchangeSim {
|
||||
(if there are no markets use the M View and the ticket to enter, if you already had left over
|
||||
orders cancel them)
|
||||
|
||||
2. Create the bid side of the market by sending 50 lot buy limit orders at 2830.75 through 2831.50.
|
||||
2. Create the bid side of the market by sending 50 lot buy limit orders at 2830.75 through 2831.25.
|
||||
You should have no orders at 2831.50, 2831.75 and 2832.
|
||||
|
||||
Basics:
|
||||
@@ -47,8 +47,8 @@ Basics:
|
||||
Chase Ticks = 1
|
||||
Fill Limit = Absolute:5
|
||||
Stay in Threshold = Absolute:21
|
||||
Enable Scratch on Overfill = true
|
||||
Enable Stay In = true
|
||||
Scratch on Overfill = true
|
||||
Stay In = true
|
||||
|
||||
Verify that the Prorata order along with the Child order shows up.
|
||||
|
||||
@@ -62,22 +62,22 @@ Next put a 50 lot buy limit order on top of your prorata at 2831.50
|
||||
6) Fill one more 1 lot.
|
||||
|
||||
7) Again cancel the 50 lot limit at 2831.50. You should see:
|
||||
- The remainder of the 20 lot should cancel
|
||||
- The remainder of the 20 lot limit order child should cancel (the remainder will be 14, with 6 already filled)
|
||||
- 1 lot of your hedges should scratch to sell at 2831.25
|
||||
- The parent order should stay in
|
||||
- The parent algo order should stay in (the badge will still be there)
|
||||
- You should still be working 5 sales for hedges
|
||||
|
||||
8) Fill the 5 sells, it should cancel the parent.
|
||||
|
||||
9) Repeat 3-8, but this time set Enable Scratch on Overfill = false, Enable Stay In = true
|
||||
9) Repeat 3-8, but this time set Scratch on Overfill = false, Stay In = true
|
||||
- You should see the same results in 7, except the 1 lot scratch won't happen so you'll still have 6 working hedges
|
||||
|
||||
9) Repeat 3-6, but this time set Enable Scratch on Overfill = false, Enable Stay In = false
|
||||
9) Repeat 3-6, but this time set Scratch on Overfill = false, Stay In = false
|
||||
- After filling your last lot in 1 you should see your working order cancel, with 6 hedges working
|
||||
- The ladder may deceive you here, check the OB
|
||||
- Cancel your hedges, this should cancel the whole chain
|
||||
|
||||
9) Repeat 3-6, but this time set Enable Scratch on Overfill = true, Enable Stay In = false
|
||||
9) Repeat 3-6, but this time set Scratch on Overfill = true, Stay In = false
|
||||
- After filling your last lot in 1 you should see your working order cancel, one hedge scratch (at 2831.50), and 5 hedges working
|
||||
- The ladder may deceive you here, check the OB
|
||||
- Cancel your hedges, this should cancel the whole chain
|
||||
|
||||
@@ -33,14 +33,15 @@ Basics:
|
||||
|
||||
Verify that the Scratch order along with the Child order shows up
|
||||
|
||||
4) Now cancel the 50 lot sell at 2832.25, you should see the 20 lot scratch pay 2832.50 on 20
|
||||
4) Now cancel the 50 lot sell at 2832.25, you should see the 20 lot scratch pay 2832.50 on 20
|
||||
(here you'll be filled at 2832.5 but the child limit order will have a price of 2832.75)
|
||||
|
||||
5) Repeat 3, now cancel the 50 lot buy at 2831.50, you should again see scratch pay 2832.50 on 20.
|
||||
Put the 50 lot buy back in.
|
||||
Put the 50 lot buy at 2831.50 back in (make sure it's a limit, not a Scratch).
|
||||
|
||||
6) Repeat 3, put an offer in at 2832.25, cancel it; nothing should happen. Cancel the Scratch Algo
|
||||
|
||||
7) This time enter the algo with Max Chase = 0, cancel the 50 lot offer at 2832.75 and 2833. Nothing should happen. Now cancel the 2832.5 offer, you should see the algo pay up to 2832.5, but not fill.
|
||||
7) This time repeat 3 but enter the algo with Max Chase = 0, cancel the 50 lot offer at 2832.75 and 2833. Nothing should happen. Now cancel the 2832.5 offer, you should see the algo pay up to 2832.5, but not fill.
|
||||
|
||||
8) Cancel the last offer at 2833.25. Nothing should happen.
|
||||
|
||||
|
||||
@@ -38,17 +38,17 @@ Row edit mode behavior
|
||||
Repeat for price
|
||||
Repeat for both
|
||||
Verify that pressing enter and/or clicking the check button only commits the current row
|
||||
Clicking the update button will put the row in edit mode and bring up an additonal popup that will also allow for price and size modifications (for now)
|
||||
Clicking the update button will put the row in edit mode and bring up an additonal popup that will also allow for price and size modifications (update is only enabled for algo orders)
|
||||
Change the qty in the update popup and verify the row's qty textbox updates to reflect the changed-to value and that the the check button is still disabled (i.e. the Update popup has committed the change already, so there is *not* any additional pending change)
|
||||
Change the price in the update popup and the row will disappear from the miniob since the order is now at a different price
|
||||
|
||||
A(attach)/D(etach) buttons
|
||||
Click on the A button brings and bring up the attach popup
|
||||
Attach a limit to an IB
|
||||
Verify the limit row's A button has changed to a D
|
||||
Verify the limit row's attach button has changed to a detach button
|
||||
Verify the limit row is now a child to an IB order row
|
||||
Click on D button on the limit order
|
||||
Verify the limit row's D button has now changed to an A
|
||||
Click on detach button on the limit order
|
||||
Verify the limit row's detach button has now changed to an attach
|
||||
Verify the limit row is no longer a child to the IB
|
||||
Verify the IB order is now canceled
|
||||
|
||||
|
||||
Reference in new issue
Block a user