clear your fills and orders database:
rm ~/sparkdata/data/databases/fills/*
rm ~/sparkdata/data/databases/orders/*
and bounce your server. 

0. We will force fills across for 3 securities, across 2 accounts. Lets pick 2 futures and
one exchange traded spread (make sure there are no overlaps). Choose these securities
such that there is market data (sim or cert) that you can get fills against (maybe bring up
the market view and select securities from there). Bring up the 6 ladders. Make sure the position
button the ladder displays -

1. Force buy and sell fills across the 6 ladders. Keep track
of the long and short positions and verify that that the position
button in the ladder is reflecting the net position carefully.

Open up the PNL and make sure the Day Long and Day Short positions match what you expect.
The Start Net Pos should be 0. (The Total Net Pos in the PNL should match the pos button 
in the ladder)

2. Now comes the SOD part. The SOD is what demarkates a day. Find the most recent time on your fills, select 1 minute past that and convert it to UTC and override the SOD time in your spark.conf

Here's an example of what the key looks like:

SODTime{
   value {
      sod_hh: 21
      sod_mm: 30
   }
}

3. Now restart the server. Verify that all rows in the fills have a Fill Kind 'Sod' and the time matches the SODTime (converted to your local time zone)

4. Verify that the ladder is displaying the correct position (it should be the same as before
the server start)

5. Verify that the PNL is displaying the correct Start Net Pos and the Day part is 0.

6. Now force a few more fills. Verify that the ladder position box and the PNL is 
correctly counting them.