Hello, is there a parameter of code line that allows to specify the ascending/descending values output format in the new Price history report template?
No such parameter is available. To verify the complete parameter list and value set for PriceHistoryExtractionRequest use REST API Reference Tree -> Extractions -> OnDemand and select PriceHistoryExtractionRequest from the drop-down list to see the parameters that are available.
Once the result set is obtained in JSON form, the custom application will parse. Next, one approach can be to put the data points in a list, and to sort the list according to the values in any field, according to your requirements, for example, by Trade Date, ascending or descending.
Hope this helps