does it also calculate the trades. or just buys.