Skip to content

Commit 078a05b

Browse files
committed
docs: clearer instructions on how to withdraw
1 parent 9c5fb06 commit 078a05b

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

templates/hl-copy-trader/README.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,19 @@ Before setting up your copy trader, ensure you have:
3333
2. **Withdrawal Configuration** (Use to stop operations and withdraw funds)
3434

3535
- For normal operation, leave these settings at their default values.
36-
- To initiate a withdrawal, you must configure two settings. This is useful when you want to emergency withdraw all funds or are happy with the results and want to stop copy trading.
36+
- To initiate a withdrawal, you must configure two settings. This is
37+
useful when you want to emergency withdraw all funds or are happy with the
38+
results and want to stop copy trading.
3739

3840
**a. Withdrawal Address (`WITHDRAW_FUNDS_TO`)** (Required)
39-
- This is the destination address where your funds will be sent in an emergency or when you decide to stop trading.
41+
- This is the destination address where your funds will be sent in an
42+
emergency or when you decide to stop trading.
4043
- You must provide a valid address here for the bot to operate.
4144

4245
**b. Enable Withdrawal (`WITHDRAW`)**
4346
- Set this to `true` to activate the withdrawal process.
44-
- When enabled, the bot will not copy any trades. Instead, upon starting, it will immediately:
47+
- When enabled, the bot will not copy any trades. Instead, upon starting,
48+
it will immediately:
4549
- Cancel all open orders
4650
- Close all open positions
4751
- Transfer all USDC to your specified withdrawal address
@@ -63,8 +67,9 @@ Before setting up your copy trader, ensure you have:
6367
- If your account is too small relative to the copied trader, some trades may
6468
not execute.
6569
- The minimum trade size on Hyperliquid is $10.
66-
- Example: If the copied trader has $100,000 and opens a $100 position (0.1%),
67-
you need at least $10,000 to copy this trade, otherwise it will be skipped.
70+
- Example: If the copied trader has $100,000 and opens a $100 position
71+
(0.1%), you need at least $10,000 to copy this trade, otherwise it will be
72+
skipped.
6873

6974
## Risk Warning
7075

@@ -81,4 +86,9 @@ Before setting up your copy trader, ensure you have:
8186
- **Bot not copying trades**: Ensure your account has sufficient funds for the
8287
minimum trade size.
8388
- **Finding your bot's address**: Check the ROFL app logs after deployment.
84-
- **How to withdraw**: Set the `WITHDRAW` variable to `true`, provide your destination address in `WITHDRAW_FUNDS_TO`, and restart the app.
89+
- **How to withdraw**:
90+
1. Go to your app's **Secrets** tab.
91+
2. Set the `WITHDRAW` secret to `true`.
92+
3. Ensure your `WITHDRAW_FUNDS_TO` address is set.
93+
4. Save your changes.
94+
5. Apply the changes and restart the machine to begin the withdrawal process.

0 commit comments

Comments
 (0)