what does FIX have to do with how you calculate positions? usually, when you start your software you read in your positions from somewhere then as you place orders and get fills (execution reports) you update your positions nad persist them somewhere