39 lines
1.8 KiB
Plaintext
39 lines
1.8 KiB
Plaintext
|
|
Order Book UI Test
|
|
|
|
Start order book (Trading -> Order Book)
|
|
|
|
Order book should sort by time desc by default
|
|
Create some working orders via the ladder or ticket
|
|
Make sure their state is accurately reflected by the order book
|
|
Test cancellation: Cancel buys, cancel sells, cancel all, cancel a single order, cancel two orders (ctrl-click)
|
|
Test modification: Change price, commit, change size, commit, change price and size, commit.
|
|
Test fill: Cross an order, make sure fill is accurately reflected
|
|
If you tested cancellation and modification through the side-bar, now do the same through the context menu
|
|
Test sorting
|
|
|
|
|
|
Recreate Testing
|
|
----------------
|
|
After the above, you should have a variety of order statuses in your order book.
|
|
|
|
Right click on a Completed order
|
|
The Recreate menu item should remain disabled
|
|
Left click and drag over over a series of orders, at least one of them being in Canceled status
|
|
The Recreate menu item should now be available
|
|
Click Recreate from the tool well
|
|
Orders should be submitted for all top-level orders (no children of any kind) that have a status of cancelled.
|
|
The Order should be placed at the same price as the original order
|
|
The order should be placed with a Qty of (Qty - Filled Qty)
|
|
Left click on a cancelled child order of a parent-child order type
|
|
The Recreate menu item should remain disabled
|
|
Left click on a cancelled parent order of a parent-child order type
|
|
Click Recreate from the tool well
|
|
The original order hierarchy will again be working
|
|
Orders should be placed at the same price as their respective original order
|
|
The top parent order should be placed with a Qty of (Qty - Filled Qty)
|
|
* Note, child orders will *NOT* be recreated with a Qty of (Qty - Filled Qty) at this time since their intermediate fill status is unknown to their parent.
|
|
|
|
|
|
|