new basic lean test
This commit is contained in:
1 parent
84f249439c
commit
79ddb8ca16
1 file changed
+37
@@ -0,0 +1,37 @@
|
||||
When the lean order is placed, it takes a snapshot of the opposite inside market. If the quantity
|
||||
at that level falls below the "Cross Threshold" it crosses into it
|
||||
(cross means take an order working on the bid and 'cross' by buying into the asks. This is also called 'paying up')
|
||||
|
||||
0. This needs sim market data **not** to be merged with replay (or cert), so we can create our own markets.
|
||||
Also make sure you have limits to trade SI Future
|
||||
|
||||
1. Bring up a ladder, lets say in SIN1 (does not matter which security)
|
||||
|
||||
2. Create both sides of the market by entering 10 lot limit orders at 15.550 and 15.575
|
||||
(if there are no markets use the M View and the ticket to enter)
|
||||
|
||||
Basics:
|
||||
3. Enter a 5 lot buy lean order at 15.545 with the following parameters
|
||||
Cross Threshold = Absolute:7
|
||||
Max Chase Ticks = 2
|
||||
On Toward = No Change
|
||||
Child = Limit
|
||||
Verify that the Lean order along with the Child order shows up
|
||||
|
||||
4. Now since our threshold = 7, decrease the ask market to 6 and verify that the lean crosses into it
|
||||
and gets filled. Verify that both the Child and Lean show up correctly (status, price, qty and filled qty)
|
||||
in the OrderBook.
|
||||
|
||||
5. Repeat 2 and 3. Now in the OrderBook select this lean order and change its Cross Threshold to 15. This
|
||||
should cause Lean order to cross and filled.
|
||||
|
||||
On Toward:
|
||||
6. Clear out everything and repeat 2 and 3.
|
||||
a. Move the ask market toward your lean order. Since the On Toward is No Change, nothing should happen.
|
||||
b. Now either enter a new Lean or change the working Leans On Toward behaviour to Cancel. Move the ask
|
||||
another tick closer and the Lean along with the Child order should be cancaelled
|
||||
c. Now enter another Lean with On Toward = Detach. This should detach the Child, ie the Lean should
|
||||
go to Canceled State and Child should keep working. Cancel it
|
||||
d. Enter another Lean order this time with OnToward=Reprice. What this will do is reset the opposite
|
||||
market its watching to this new level. If you decrease the qty at this level to below the threshold (7)
|
||||
it should cross.
|
||||
Reference in new issue
Block a user