 
(Please read ~/spark/testing/docs/deribit_test_setup/deribit_setup.txt to make sure the system is setup properly)

0. Bring up BTC Spreads MV

1. Tick size: Bring up an option call spread (these should starts with BTC-CS-.*). The qty should tick by 0.1. Also right click and bring up a spread box.

2. Work an order: Enter a 2.5 lot buy at a price level where there is no market (among the top 10 levels). Your 2.5 lot order should create a market with qty = 2.5. Move it around and make sure the market qty follows it (both in the ladder, and spreadbox)

3. Now enter a 1.1 lot sell order from the other account. Make sure this order is represented in the market. Move it and make sure the market follows it. Now move it such that it crosses the 2.5 lot from 2. The 1.1 lot should get completely filled, and the 2.5 lot ladder badge should show 1.1/2.5. Move this 1.1/2.5 and make sure the qty in the market corresponding to this order (of 1.4) moves around.

4. Check the fills for both the orders above. Make sure the leg fills show up with the correct side, qty and price (the leg fill prices sould add up to the spread fill price, pay close attention to the decimals)

5. Change this order's qty to 4.5 and make sure the market qty adjusts accordingly. Now change this to 5.5 and make sure the ladder badge and the market qty is correct.

6. Our order from 5. has a working qty of 4.4. Cross this with a 4.4 lot opposite order and make sure both orders are filled.

6. Enter an order, move it around and then cancel it. Make sure it gets cancelled.

7. Repeat the above with an ETH option spread (ETH option spreads qty tick increment is 1, since you know the spirit of this test, adjust the qty values accordingly)

