You decide how much to move into it, and the bot's key can be separate from the key you use by hand where the exchange allows that.
Bitget's API quick start says sub-accounts can create and manage their own API keys, without the main account having to act for them. OKX's subaccounts FAQ, updated Aug 27, 2026, is about managing sub-accounts and creating API keys for connections. Revoking the bot key then leaves the manual key in place, because they are different keys. Records for that strategy stay on that account, which makes a later review less mixed with trades you placed yourself.
OKX's wording is that you manage assets separately. It does not, in the passage read here, say the matching engine refuses an order that would spend the main account. The practical limit is the balance you chose to move. If the main account holds 5,000 USDT and you move 1,000 USDT to the bot's sub-account, the most you have put in reach of that bot is 1,000 USDT, as long as you do not transfer more later.