Trades should be filtered by market when generating k-line data