I\'m trying to call this API response using a custom function where I can change the parameters. This is my code:
function callCandles(pair, start, end) {