Linking trades with a cash account