Skip to main content

Overview

A trading interface built on Hyperliquid, Extended and Privy’s non-custodial wallet infrastructure. Users can execute market and limit orders, manage positions, and set dynamic risk parameters (trailing stops, take profits) directly through Telegram commands. The bot abstracts exchange complexity while maintaining full custody through delegated signing.

Key Features

Non-Custodial

Full custody of your assets through Privy’s wallet infrastructure.

Simple Commands

Execute complex trades with simple Telegram commands.

Advanced Orders

Trailing stops, take profits, and dynamic risk management.

Multi-Exchange

Support for Hyperliquid and Extended (more coming soon).

Commands Reference

Setup Commands

Initializes the bot and creates a Privy account for you, where you can deposit tokens and bridge them to your preferred exchange to start trading.Usage:
Example Response:
Configures your preferred exchange for trading. Currently, we support Hyperliquid and Extended.Usage:
Example:
Sets your referrer code to join the referral program. By using someone’s referral code, you become their direct referral and they will earn a percentage of your fees generated.Usage:
Example:
This command can only be used once. Make sure you have the correct referral code before setting it.
Bridges tokens from your account to your trading exchange. Transfers your deposited tokens (currently only USDC) from your account to your selected exchange so you can start trading.Usage:
Example:
There is a bridge fee associated with this operation, which is primarily for sponsoring the bridge transaction.

Information Commands

Shows a comprehensive list of all bot commands with brief descriptions.Usage:
Gets the current market price for any trading instrument. Returns the mid price of the instrument on your selected exchange.Usage:
Example:
Response:
Views all your active positions. Retrieves and displays all open positions on your selected exchange, including entry price, current PnL, size, and leverage.Usage:
Checks your account balances. Shows your available USDC balance and equity on your selected exchange, including unrealized PnL from open positions.Usage:
Lists all pending orders. Displays all active limit orders, stop losses, and take profit orders that haven’t been filled yet, along with their trigger prices and sizes.Usage:

Trading Commands

Executes an immediate market order at the best available price with 5% slippage by default.Usage:
Parameters:
  • instrument - Trading pair (e.g., ETH, BTC, SOL)
  • side - Direction: long or short
  • size - Position size in USD
Examples:
Places a limit order at a specific price. Creates a pending order that will only execute when the market reaches your specified price.Usage:
Parameters:
  • instrument - Trading pair (e.g., ETH, BTC, SOL)
  • side - Direction: long or short
  • price - Desired execution price
  • size - Position size in USD
Example:
Closes a specific position at market price by executing a market reduce-only order in the opposite direction.Usage:
Parameters:
  • instrument - Trading pair to close
  • size - Amount to close (can use percentages)
Example:
Closes all open positions immediately by executing market reduce-only orders across all instruments.Usage:
This action closes ALL positions. Use with caution.
Cancels a specific pending order before it gets filled.Usage:
Example:
Due to exchange latency, the order may not be cancelled immediately sometimes.
Cancels all pending orders across all instruments. Your open positions remain unaffected.Usage:

Risk Management Commands

Sets a take profit order to lock in gains. Places an order that automatically closes your position when the price reaches your target profit level.Usage:
Parameters:
  • instrument - Trading pair
  • price - Target price to take profit
Example:
If you’re long ETH, this will automatically close your position when ETH reaches $3,000.
Sets a stop loss order to limit potential losses. Places a protective order that automatically closes your position if the price moves against you.Usage:
Parameters:
  • instrument - Trading pair
  • price - Stop loss trigger price
Example:
If you’re long ETH, this will close your position if ETH drops to $2,700.
Sets a dynamic stop loss that follows price movements. The stop loss automatically adjusts as the price moves in your favor, maintaining a fixed percentage distance.Usage:
Parameters:
  • instrument - Trading pair
  • percentage - Trailing distance as a percentage
Example:
If you’re long ETH at 2,800anditrisesto2,800 and it rises to 3,000, a 5% trailing stop loss will trigger if the price drops to $2,850.
For Long positions: Stop loss trails up as price increases.For Short positions: Stop loss trails down as price decreases.The stop loss never moves in an unfavorable direction.
Trailing orders require delegated signing authority. Most DEXes don’t natively support trailing orders, so dotrade manages them by modifying orders on your behalf as prices change.
Sets a dynamic take profit that moves with the mid price of the instrument.Usage:
Parameters:
  • instrument - Trading pair
  • percentage - Trailing distance as a percentage
Example:
If ETH is trending upward and reaches 3,100,a33,100, a 3% trailing take profit will trigger if the price drops back to 3,007.
Trailing orders require delegated signing authority.

Quick Reference

Risk Warning

Trading perpetual futures involves significant risk. Always do your own research and never trade with money you can’t afford to lose.