Many investors would like fixed rules to trade for them, so that they do not have to watch the markets every day. Software then carries out the rules, and the software has to act on the investor’s account. Letting another party act on one’s money has cost investors their savings before: in 2022 the U.S. Securities and Exchange Commission charged the founder of the FTX trading platform with the undisclosed diversion of its customers’ funds [1]. TradeHound executes strategies on its users’ accounts, so the question concerns every one of its users. This article asks how software can execute trades on an investor’s behalf while the investor keeps custody of the funds.
An investor who wants a computer to trade for them has to let a service act on their account. The usual arrangements ask for a lot of trust. Either the investor sends the money to the service, which then holds it, or the investor gives the service the same access to the account that the investor has. Either way, the service can take the money. If the service fails, is attacked or acts dishonestly, the savings can be lost, and the investor cannot stop it alone.
To solve this issue, a service must be able to buy and sell positions in the account, but must not be allowed to withdraw money from it. The investor must be able to end the service’s access at any moment, without asking anyone. And if the service disappears, the money and the positions must stay in the investor’s account, where the investor can see them and sell them.
In the terms of crypto markets, the question is one of custody: who controls the private key that can move the funds. On a centralised exchange the exchange holds the funds, and the customer holds a claim on the exchange. That claim is as safe as the exchange: of 40 Bitcoin exchanges set up over three years, 18 had closed by the time of the study, often wiping out their customers’ balances [2]. On a self-custodial venue such as Hyperliquid, the funds stay in an account that the owner’s private key controls, and every action on the account is a message signed with that key [3]. Software that holds the owner’s private key can therefore do everything the owner can do, withdrawals included.
In these terms, software must be able to sign trading actions on the account without holding the owner’s private key. The venue must refuse the software’s signature for withdrawals, for transfers to other accounts and for new approvals. The owner alone must be able to end the software’s rights, without its cooperation. The funds must never leave the owner’s account. Custody at an exchange, the arrangement that the study above examined, fails the last of these requirements, whatever rights the software has; sharing the owner’s private key fails those on withdrawals and on ending the software’s rights.
Hyperliquid lets the owner of an account approve a second key, called an agent key. The agent key can trade for the account. It cannot take money out of the account, and the owner can end it at any time. TradeHound trades through an agent key that each user approves, so the user’s money stays in the user’s own account.
The owner’s main account signs the approval of the agent key, which can then sign on behalf of the main account or its sub-accounts [4]. An account can have one unnamed agent and up to three named ones, and an approval can carry an expiry at most 180 days ahead [3].
The agent key signs the account’s trading actions: it places and cancels orders [5]. It is only used to sign, for the account that approved it [4]. A movement of assets that an agent signs must stay in the same account: its destination must be the account the assets come from [3].
Other actions need the owner’s own signature. A withdrawal needs a signature from the user’s wallet [6]. Approving the fee that a third-party application charges on trades must be signed by the user’s main wallet, not by an agent [7]. Chainstack’s developer documentation for Hyperliquid states the rule directly: agents cannot transfer funds, cannot withdraw and cannot approve other agents [5].
The owner ends an agent key alone, since only the main account signs approvals. A new approval under the same name deregisters the old agent, and an approval with an expiry ends at that time [3, 4].
The agent key trades for the account: it places and cancels orders. It cannot take money out: withdrawals need the user’s own wallet, its movements of assets stay within the account, and approvals need the main wallet. The owner ends its rights alone: a new approval under the same name deregisters it, and an approval can be set to expire. The funds stay in the owner’s account: the agent key only signs, for the account that approved it.
These results rest on Hyperliquid’s documentation, not on an audit of the venue’s code; they hold as long as the venue enforces its rules as documented. The agent key protects the custody of the funds, not their value: whoever holds the key can still place trades that lose money, because the software has an error or because its systems are compromised. When the key is replaced or expires, positions that are still open stay in the account, and the owner has to manage them. The design leaves one risk entirely with the owner: whoever obtains the owner’s main key can do everything the owner can, withdrawals included.
Software can trade for an investor without holding the investor’s money, when the venue gives the owner a second key that can only trade and that the owner can end alone. On Hyperliquid this is the agent key: it places and cancels orders, it cannot withdraw, send funds to other accounts or approve anything, and its rights end when the owner replaces it or when it expires. It removes the risk of handing over custody; the risk of trading remains.
How TradeHound uses the agent key, from approval to revocation: how TradeHound works.
References
- U.S. Securities and Exchange Commission (2022). SEC Charges Samuel Bankman-Fried with Defrauding Investors in Crypto Asset Trading Platform FTX. Press release 2022-219, 13 December 2022. https://www.sec.gov/newsroom/press-releases/2022-219
- Moore, T. and Christin, N. (2013). Beware the Middleman: Empirical Analysis of Bitcoin-Exchange Risk. Financial Cryptography and Data Security, Lecture Notes in Computer Science 7859, 25–33. https://doi.org/10.1007/978-3-642-39884-1_3 (the abstract was read, on Springer’s page, 2026-10-11)
- Hyperliquid (2026b). Exchange endpoint. Hyperliquid Docs. https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint
- Hyperliquid (2026a). Nonces and API wallets. Hyperliquid Docs. https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/nonces-and-api-wallets
- Chainstack (2026). Hyperliquid: User-signed actions with Python SDK. Chainstack developer documentation. https://docs.chainstack.com/docs/hyperliquid-user-signed-actions
- Hyperliquid (2026c). USDC. Hyperliquid Docs. https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/usdc
- Hyperliquid (2026d). Builder codes. Hyperliquid Docs. https://hyperliquid.gitbook.io/hyperliquid-docs/trading/builder-codes
Articles here are not investment advice and contain no trading signals. The risk disclosure applies to any use of TradeHound.