August 19th, 2015, 5:11 pm
Finally hunted it down, some of the trade types were being cached by the framework thus returning same pointers. It wouldn't have been this difficult to track down if the debugger was more helpful. I'll try replacing with boost sharedptr and see if the debugger is any better. As Cuch says, since the interface is the same I might get away with find and replace. Although a painful experience, I feel bullet proof now !!!