Oct 6th 2021, 17:41:33
https://www.eestats.com/...ldmarket/1758/oil_barrels
yes,this one is probably about as bad as it gets, just over 1k early when volume is miniscule
if its not too much trouble id probably try something a little more granular like this, oil maxes at 4200 so the 10k one would only catch tech which at least has a meaningful floor of something like 450-600 rather than 20-50
if($maxprice>5000){$maxprice=10000;$ticks=500;}
elseif($maxprice>4000){$maxprice=5000;$ticks=250;}
elseif($maxprice>3000){$maxprice=4000;$ticks=200;}
elseif($maxprice>2000){$maxprice=3000;$ticks=150;}
elseif($maxprice>1000){$maxprice=2000;$ticks=100;}
elseif($maxprice>500){$maxprice=1000;$ticks=100;}
elseif($maxprice>300){$maxprice=500;$ticks=50;}
elseif($maxprice>150){$maxprice=300;$ticks=30;}
elseif($maxprice>100){$maxprice=150;$ticks=30;}
elseif($maxprice>50){$maxprice=100;$ticks=10;}
else{$maxprice=50;$ticks=5;}
https://www.eestats.com/...et&goodid=6&old=1
not sure if it would be possible to do something like
https://www.eestats.com/...maxprice=200&ticks=20
but that would also be super cool though if its at all hard to code dont waste too much time on something only i might use :)
yes,this one is probably about as bad as it gets, just over 1k early when volume is miniscule
if its not too much trouble id probably try something a little more granular like this, oil maxes at 4200 so the 10k one would only catch tech which at least has a meaningful floor of something like 450-600 rather than 20-50
if($maxprice>5000){$maxprice=10000;$ticks=500;}
elseif($maxprice>4000){$maxprice=5000;$ticks=250;}
elseif($maxprice>3000){$maxprice=4000;$ticks=200;}
elseif($maxprice>2000){$maxprice=3000;$ticks=150;}
elseif($maxprice>1000){$maxprice=2000;$ticks=100;}
elseif($maxprice>500){$maxprice=1000;$ticks=100;}
elseif($maxprice>300){$maxprice=500;$ticks=50;}
elseif($maxprice>150){$maxprice=300;$ticks=30;}
elseif($maxprice>100){$maxprice=150;$ticks=30;}
elseif($maxprice>50){$maxprice=100;$ticks=10;}
else{$maxprice=50;$ticks=5;}
https://www.eestats.com/...et&goodid=6&old=1
not sure if it would be possible to do something like
https://www.eestats.com/...maxprice=200&ticks=20
but that would also be super cool though if its at all hard to code dont waste too much time on something only i might use :)