Hi guys,

why the script below doesn't works for the 2019?
It's very good because allow me to download the prices present in the file Assets without downloading them one at a time
Code:
// Update M1 price history of all assets
function run()
{
  assetList("Assets");
  NumYears = 8;
  while(loop(Assets))
    assetHistory(Loop1,1);
  quit();
}



Thanks