$begingroup$ In Set Profits, I know that bonds PnL are evaluated according to in which the cost lies on price/yield curve at the end of the working day, compared to in which it commenced from at commencing with the working day. Stack Exchange community is made up of 183 Q&A https://pnl79011.blogocial.com/pnl-can-be-fun-for-anyone-69854385