Online Algorithms for Repeated Optimal Stopping: Achieving Both Competitive Ratio and Regret Bounds