no-redraw trading algorithm