 
(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 a future spread (these should starts with BTC-FS-.*). The qty should tick by 10.

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

3. Now enter a 10 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 20 lot from 2. The 10 lot should get completely filled, and the 20 lot ladder badge should show 10/20. Move this 10/20 and make sure the qty in the market corresponding to this order (of 10) 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)

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

6. Our order from 5. has a working qty of 40. Cross this with 4, 10 lot orders from the other account (if you want to be creative, you can do it with a 10 x 4 IB). Make sure both orders are completely filled. Check the Orderbook and fills window for correctness.

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

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

