Buy & Sell based on date - Blockchain Data API