Identifying unsettled trades


In the standard OpenGamma data model is there currently a way to specify that a trade is not settled yet? For example if a bond is traded today but has a T+3 settlement cycle. Number of days to settlement (or number of days past settlement) is useful input in many counterarty risk methods.


Settlement information is generally stored in the Convention objects. We in the process of transitioning from our old convention system (ConventionBundle/ConventionBundleMaster) which used a single, rather bloated object, to hold different kinds of convention information, to our new properly typed Convention/ConventionMaster system which has different types for different conventions.