This test verifies that product position limits are enforced correctly.
Use SIM for all steps of the test

0. Clear up your orders, fills and admin db so we don't have any lingering positions
(run rm -r orders fills admin from ~/sparkdata/data/databases). Restart your sparkd

1. Pick 2 futures, lets say SIU8 and SIZ8

2. In the Spark Admin, select the default account for your user (lets say ACC A)
and enter a big clip, say 500000, so that clip limits don't interfere with this test.

3. Go to the Position limits and remove all entries

4. Enter an SIU8 order. It should be rejected. Make sure the rejection message makes sense.

5. Enter a rule for SIM, Future, SI, 60, 120.

6. Send 3 20 lot buys for both the futures. Make sure they go through.

7. Send a 1 lot on SIU8. The limit of 60 should not allow it. Make sure the rejection
message is clear.

8. Cross 2 of the 20 lots enterred in 6 so that they fill.

9. Send a 1 lot on SIU8. The limit of 60 should not allow it. Make sure the rejection
message is clear.

8. Change the max to 70, and try a 10 lot again. This order should be allowed.
Try another 10 lot and it should be stopped.

9. Cancel all the orders and try the same for short limit.
