base trades query for training - Blockchain Data API