Market-sell every open position (crossing the spread to realize PnL). The bot keeps running. Resolved/won positions can't be sold — they need redeeming. Continue?
Starting…