enhanced transaction table. bug fix on investment pnl calc. updated margin a/c