examples for trades in xts