[#70546388] added logic to separate short-term and long-term gaines
[#70546388] expanding spec for creating commodity transactions