In their docs, Kraken mentions that a 1s delay may be too much, so I tried increasing that using the SET_DELAY broker command. yet, that doesn't seem to help much as "too many requests" is still hit

> Calling the public endpoints at a frequency of 1 per second (or less) would remain within the rate limits, but exceeding this frequency could cause the calls to be rate limited. If the rate limits are reached, additional calls would be restricted for a few seconds (or possibly longer if calls continue to be made while the rate limits are active).

Code

function run() 
{
	set(PLOTNOW,LOGFILE);
	BarPeriod = 1;
	
	StartDate = 20220101;
	
	brokerCommand(SET_DELAY, 10000);
	
	asset("ETH/USD");
	
	if (is(INITRUN)) {
		assetHistory("ETH/USD", 1+OVERRIDE);
	}


}



Last edited by loopiezlol; 04/03/22 12:49.