It is obvious that you don't test your code at one or two currency data. I really need help. My problem is easy for you so please help me.

I used code below.

Function main()
{
Numyears=4;
assetHistory("NZD/USD",1);
}

But there was a problem. It downloaded only 3 days of 2017 years data. I need 356 days of 2017 years data. How can i download data fully?