AJAX next buy sell