05.05.2017, 13:21
For calculating average value for some period you should use trends.fetchone() function instead trends.fetch().
You can also look here:
http://forum.logicmachine.net/showthread...=trend+api
You can also look here:
http://forum.logicmachine.net/showthread...=trend+api