For funding rate arbitrage, set take-profit and stop-loss orders for both spot and futures positions. Otherwise, getting hit by ADL can wipe you out. Live and learn.