During a mainnet trading competition, traders are allowed to deposit and withdraw freely. We compute leaderboard P/L percentage in a way such that a deposit or withdrawal should have no effect.
If a trader deposits 1 BTC, makes a +50% return on their deposit, and then withdraws half of their profit (0.25 BTC), their leaderboard P/L percentage will still be +50%, and subsequent leaderboard P/L percentage changes will be calculated with respect to the new baseline balance of 1.25 BTC.
If a trader:
- starts a competition with 1 BTC,
- makes a 50% return by the end of day 1 (for a new total balance of 1.5 BTC),
- then deposits an additional 1 BTC (for a new total balance of 2.5 BTC),
- and then makes an additional 10% return on day 2 (ending with a balance of 2.75 BTC),
then their leaderboard P/L percentage at the end of day 2 will be +65% (1.5 * 1.1 - 1), just the same as if they had made a 50% return on day 1 and a 10% return on day 2 without the deposit.
(Note in particular that the leaderboard P/L percentage at the end of day 2 will not be +175%, the raw percent change to their balance, because the 1 BTC deposit does not count towards the leaderboard P/L percentage.)
So the only thing that affects your competition P/L is your percent gain or lost from trading in between deposits and withdrawals, and not the deposits and withdrawals themselves.
Note: A trader who deposits and trades to a zero net liquidation value and then deposits again will be eliminated from any active competitions. Marking this trader with a competition P/L percentage would be unfair to other competitors.