This:
[{"id":"05acd60063343272","type":"debug","z":"ad594fb84fe6d294","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":990,"y":400,"wires":[]},{"id":"e27094188bd734b2","type":"function","z":"ad594fb84fe6d294","name":"","func":"msg.marketprice = msg.payload.data.map(function(value,index) { return value[\"marketprice\"]; });\nmsg.marketprice2 = msg.payload.data.map(function(value,index) { return value[\"marketprice\"]; });\nmsg.start_timestamp = msg.payload.data.map(function(value,index) { return value[\"start_timestamp\"]; });\n\n\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":500,"y":440,"wires":[["bb48fc85f7462c50"]]},{"id":"1865a4c5166af79c","type":"inject","z":"ad594fb84fe6d294","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"str","x":170,"y":440,"wires":[["97db34ca55db5761"]]},{"id":"97db34ca55db5761","type":"http request","z":"ad594fb84fe6d294","name":"","method":"GET","ret":"obj","paytoqs":"ignore","url":"https://api.awattar.at/v1/marketdata?start=1628139600000&end=1628226000000","tls":"","persist":false,"proxy":"","authType":"","senderr":false,"x":330,"y":540,"wires":[["e27094188bd734b2"]]},{"id":"bb48fc85f7462c50","type":"sort","z":"ad594fb84fe6d294","name":"","order":"ascending","as_num":false,"target":"marketprice","targetType":"msg","msgKey":"payload","msgKeyType":"elem","seqKey":"payload","seqKeyType":"msg","x":670,"y":420,"wires":[["973cc63cc2d3bd17"]]},{"id":"973cc63cc2d3bd17","type":"function","z":"ad594fb84fe6d294","name":"","func":"var cheap = {};\nvar expensive = {};\n\nfor( var index in msg.marketprice){\n \n if (index <=3){\n found = msg.marketprice2.indexOf(msg.marketprice[index]);\n if (found > -1) {\n cheap[msg.start_timestamp[found]] = msg.marketprice[index]; \n }\n }else if (index >= 20){\n found = msg.marketprice2.indexOf(msg.marketprice[index]);\n if (found > -1) {\n expensive[msg.start_timestamp[found]] = msg.marketprice[index]; \n }\n }\n}\n\nmsg.expensive = expensive;\nmsg.cheap = cheap;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":840,"y":420,"wires":[["05acd60063343272"]]}]
gives you two objects
with the start times of cheap or expensive times.