added max delta argument to stock.php and updated docs.