Top order manual test

This commit is contained in:
Taha Afzal committed 2019-05-07 13:19:38 -04:00
1 parent ef8b0fc258
commit e8741f9151
1 file changed
+23 -8
+23 -8
View File
@@ -13,26 +13,41 @@ Also make sure you have limits to trade SI Future
(if there are no markets use the M View and the ticket to enter)
3. Enter a Buy top order with threshold of 15 right at the top of the book. This should immediately
cancel. Now do the same with a threshold < 10 and it should not cancel. Cancel this top order.
cancel. Now do the same with a threshold <= 10 and it should not cancel. Cancel this top order.
4. Enter a Buy top order with threshold of 15 way from the market. Verify that an exchange order
is sent. Now move the top of the market toward the Top order, so that the Top order eventually
is at the Top of the market. This should cancel the Top order. Repeat the same with a threshold of < 10
4. Enter a Buy top order with threshold of 15 away from the market. Verify that an exchange order
is sent. Now move the top of the market toward the Top order so that the Top order eventually
is at the Top of the market. This should cancel the Top order. Repeat the same with a threshold of <= 10
and it should not cancel. Cancel the top order.
5. Enter a Buy top order with a threshold of 5 at the top of the market. Now start reducing the
top of market (remember its your limit order that is creating the market). When the size of the market
(net of the Top order) becomes < 5, the Top order should cancel.
6. You know enough about the Top order now. Make sure it works for Sells too.
6. You know enough about the Top order now. Do some basic sanity checks for Sells too.
7. Updates:
Create the 10 aside market condition from 2 again. Enter a buy top order away from the market
Clear the slate and repeat 2. Enter a buy top order away from the market
with a threshold of 15. Now if this is brought to the top it should cancel (like in 4.). However
we will go to OrderBook, select the order and change its threshold to 1. Now bring the Top order
to the top of the market and it should not cancel. Cancel it manually
8. Boundary cases
7.1 Mass Updates:
Clear the slate and repeat 2. Enter 10 top buy orders at the top of the book
with threshold 10. Verify that they show in the orderbook. Select them all and change their threshold
to 500. All of them should cancel.
8. Attach:
Clear the slate and repeat 2. Enter another 5 lot buy limit order at the top of the book. Bring the miniOB
from where these 2 orders are working and attach a Top to the 5 lot with a threshold of 100. This 5 lot
should immediatly cancel.
8.1 Mass Attach:
Clear the slate and repeat 2. Enter 10 5 lot buy limit order at the top of the book. Select them in the OB
and mass attach a Top with threshold 10. Verify that the Tops are working with the 10 5 lots as their child
orders. Now select the tops and change their threshold to 1000. Make sure all are cancelled.
9. Boundary cases
Enter a top order away from the market. Cancel its child order and the Top order should be cancelled too.
Mess in any way with the ChildOrder and make sure the parent TopOrder does the right thing (ex: fill
the Child, partially fill the Child, Change the qty of the Child and then fill it etc)
the Child, partially fill the Child, Change the qty of the Child and then fill it etc).