Getting started
Tron Agent lets you build a trading agent without writing code. You pick what it trades, choose a strategy and set its limits. From then on the agent checks the market every hour, decides to buy, sell or hold, and writes down why.
Agents trade tokenized US stocks and ETFs (NVDA, TSLA, SPY and others) and crypto (ETH and BTC) on Robinhood Chain. These tokens trade around the clock, weekends included, so an agent keeps working while you sleep.
Paper first
Every agent trades virtual dollars at real prices. The prices are read straight from each token's pool on Robinhood Chain, but no order is sent and no funds move. You choose the starting capital, from $1,000 to $1,000,000.
Your first agent in three steps
- Pick what it trades. Open the Studio and choose one to three markets. Stocks and crypto can be mixed.
- Pick a strategy and its limits. Momentum, Mean reversion, or your own rules. Then set the most it may put in one market (10% to 100%) and a stop loss (2% to 25%).
- Check the replay, then launch. The Studio replays the last 30 days of real prices with your exact settings and shows how that compares with simply holding the same markets. If you like it, press Launch agent and sign one free message with your wallet.
You can browse Markets, the Leaderboard, the Diary and the Studio without a wallet. Signing in is a signed message: it costs no gas and never moves anything.
The hourly cycle
A few minutes after each hour ends, Tron Agent reads the closing price of every market from Robinhood Chain: the price in its USDG pool at the last block of that hour. Then every running agent takes one turn with those prices.
For each market it holds or watches, the agent goes through the same checks in the same order:
- Stop loss. If the price is at or below the stop loss distance from where it bought, it sells everything in that market. Nothing can skip this check.
- Exits that need no indicator (your own rules only): a take profit target or a maximum holding time.
- The strategy. Momentum, Mean reversion or your own rules decide buy, sell or hold.
Buying and selling
- A buy spends up to your max per market share of the agent's total value (cash plus holdings), or the cash left if that is less. A buy smaller than 1% of the agent is skipped.
- A sell always closes the whole position in that market.
- An agent holds at most one position per market and never adds to it.
- Every trade pays 0.5% for fees and slippage, on the buy and again on the sell. The entry price includes that cost, so the stop loss and the results measure what was really paid.
The diary
Every hour, every market gets a decision with a reason in plain words, for example "Up +3.4% in 24h and +1.2% against the 48h average. The trend is alive. I am in." You can read them on the agent's page, and every published agent's trades appear in the Diary.
If an hour is missed
If the hourly run is late, the next run plays the missed hours in order, each with its own hour's prices, as if nothing had happened. It replays at most the last 7 days.
How results are measured
- Return: the agent's total value now against its starting capital.
- Versus holding: what you would have if you had split the same capital equally across the same markets at the agent's first turn and never touched it (one 0.5% cost included). This is the number to beat.
- Worst drop: the largest fall from a previous high.
Strategies
Every agent has one strategy. Whatever you choose, the stop loss and the max per market always apply.
Momentum 順張り
- Buy
- Price is above its 48h average and up more than 3% in 24 hours
- Sell
- Price falls more than 3% below its 48h average
Works best in markets that keep going one way. In choppy markets it can buy late and sell early.
Mean reversion 逆張り
- Buy
- Z score against the 48h average is below -2.5 (an unusually deep dip)
- Sell
- Z score is back to +0.5 or higher (above the average again)
Works best in markets that move sideways. In a steady fall it can buy too early, which is what the stop loss is for.
Your rules 脚本
Write your own buy and sell rules with the same building blocks the presets use.
- Buy rules take one to three conditions, sell rules up to three.
- Each list is joined with all (every condition must be true) or any (one is enough).
- A condition compares an indicator with a number or with another indicator: above, below, crosses above or crosses below. "Crosses" is only true in the hour the line is crossed.
- Price lines (Average, Highest, Lowest) can be shifted by a percentage, for example 2% below the 48h average.
- Two optional exits: a take profit and a maximum holding time in hours.
The Studio has three templates to start from: Breakout (buy a new 3 day high, sell 2% under the 48h average, take profit at +12%), RSI dip (buy when the 24h RSI is under 30, sell above 55, take profit at +6% or after 72 hours) and Deep dip (buy a 72h z score under -2.5, sell back above the 48h average or after 96 hours).
Prefer words? In the Studio, under Your rules, you can describe a strategy in a sentence or two and Claude turns it into ordinary rules that you can read, edit and replay before launching. What counts is the version in the editor, because that is what the agent runs.
Indicators
| Indicator | What it measures | Periods |
|---|---|---|
| Price | The latest hourly close. | None |
| Average | The average close over the period, this hour included. | 12, 24, 48, 72 hours |
| Highest | The highest close in the period before this hour, so the price can break above it. | 12, 24, 48, 72 hours |
| Lowest | The lowest close in the period before this hour. | 12, 24, 48, 72 hours |
| Change | How much the price moved over the period, in percent. | 1, 4, 12, 24, 48, 72 hours |
| Z score | How unusual the price is: how many standard deviations it sits from the period's average. Below -2 is a rare dip. | 24, 48, 72 hours |
| RSI | Relative strength, 0 to 100, from the gains and losses of the period. Under 30 often means oversold, over 70 overbought. | 14, 24 hours |
The 30 day replay
Every time you change something in the Studio, the agent is replayed over the last 30 days of real hourly prices, ending at the newest hour. It starts in cash with the capital you chose and makes the exact decisions it would have made live, with the same strategy, limits and 0.5% cost per trade.
It is not a separate simulation. The replay runs in your browser with the same engine file the server runs every hour, on the same cleaned prices. The engine is public: /js/engine.js.
Reading it
- Return and Holding: where the agent ended, and where equal shares of the same markets ended. The chart draws holding as a dashed line.
- Worst drop: the largest fall from a previous high during the month.
- Trades and Winning sells: how often it traded (each one paid 0.5%), and the share of sells that closed above what was paid.
Limits of a replay
- One month is a small sample. A strategy that suits a rising market can look brilliant in one month and poor in the next.
- Hourly closes only. Moves inside an hour are not seen, so a real stop loss could fill at a worse price.
- Settings that look perfect on the last 30 days often fit noise. Prefer simple rules that make sense on their own, and trade less: each trade costs 0.5% each way.
Past results, replays included, do not predict future ones. That is why every launched agent also builds a live record.
Where prices come from
Every hour Tron Agent reads each token's price straight from its pool on Robinhood Chain: a Uniswap pool against USDG, a dollar stablecoin counted as exactly $1. The price at the last block of the hour becomes that hour's close. There is no price API in between.
How it is read
A pool's price only moves when someone swaps, and every swap writes the new price into its event log. So the price at the last block of an hour is the price in the last swap at or before that block, and an hour with no swap closes where the hour before it closed. The whole history on this site, including the 30 days behind every replay, was rebuilt this way from the chain's own logs. Each market's page links to its token contract and its price pool, so you can check both yourself.
How it is checked
- Spikes. A price more than 15% away from both the last accepted price and the middle of its previous 24 hours is ignored as a one off, unless the move is still there for the third hour in a row. Then it is real.
- Gaps. An hour without a price keeps the last one.
- Chainlink, for crypto. Each new hour, ETH and BTC are compared with Chainlink's feed. If the pool is more than 2% away, that pool price is not used.
Live agents and replays see exactly the same cleaned prices.
The right token, not a lookalike
Anyone can create a token called "NVDA". Tron Agent never picks a token by its name. Every market is a fixed contract address on an allowlist: stock tokens must run the same contract code and point at the same registry as every official Robinhood stock token, and each one's pool price is compared with its Chainlink feed when the allowlist is built.
Stock tokens outside US market hours
Stock tokens trade around the clock, but the real stocks only trade during US market hours. Outside those hours a token's price comes from on-chain trading alone, so it can drift from where the stock will open. The Markets page shows whether the US market is open. Some pools are thin and are marked so.
Leaderboard and publishing
A new agent is private: only you can see it, on your dashboard and its own page. Anyone else opening its link gets a page not found. It runs exactly the same either way.
Open the agent's page and press Publish to the leaderboard to show its name, strategy, markets, decisions and trades. You can take it off the leaderboard again.
The leaderboard only uses live paper trading since launch, never a replay. Sort it by highest return, by how far an agent beat holding, or by smallest worst drop, and filter by strategy. Agents marked by Tron Agent are the house agents: one per idea, launched when the site opened, with the same rules anyone can use.
Settings cannot be edited after launch and results are never reset. An agent that loses keeps its loss.
Guardrails
| Stop loss | 2% to 25%. Sells a position that falls this far below its entry price. Checked first, every hour. |
| Max per market | 10% to 100% of the agent's value in any one market when it buys. |
| Markets per agent | One to three. Stocks and crypto can mix. |
| Positions | At most one per market. Never added to. A sell closes the whole position. |
| Capital | $1,000 to $1,000,000 of virtual money, chosen at launch. |
| Running agents | Up to five at once per wallet. Pause one to launch another. |
| Trading cost | 0.5% on every buy and sell. |
| Locked settings | Strategy, markets and limits cannot change after launch. |
Pausing
While an agent is paused it makes no decisions and no trades. Its positions stay open and the stop loss is not checked, so their value keeps moving with the market. When you resume, it starts again from the next close: the paused hours are not replayed. Pausing does not sell anything.
Deploy by reply on X
Mention @deploytronagent with a command. The agents it launches are paper agents, published under your X handle.
| Say | What happens |
|---|---|
| deploy momentum NVDA TSLA | Launches a Momentum agent on those markets. Add stop 8 for the stop loss and max 50 for the max per market. |
| deploy dip GME AMC | Mean reversion. Also: breakout, rsi, deepdip. |
| replay breakout NVDA MU | Replays those rules on the last 30 days and answers with the result against holding. Launches nothing. |
| diary | What your newest agent wrote this hour, its return and its record against holding. |
| price NVDA | The last hourly close and the 24 hour change. |
| top | The three agents beating holding by the most. |
One X account can run three agents launched by reply. Replies are limited per account per hour.
Real money: the vault
Paper comes first. When a script has earned it, the same engine can trade real USDG from a vault that only your wallet can withdraw from.
- Your vault. A contract on Robinhood Chain created from your wallet. You are its owner: deposit, withdraw and close are yours alone, at any time.
- A narrow permission. The agent's key can only swap between USDG and the listed markets through Uniswap, with the proceeds staying in the vault. It cannot send funds anywhere.
- Hard limits on chain. A cap per trade, a cap per day, and a price check against Chainlink on every swap, so a bad fill is refused by the contract itself.
- A switch. Pause the vault or remove the agent whenever you like.
See the vault page for the addresses and the current limits.
Public API
Read endpoints are open, need no key and allow requests from any origin. They are the same ones this site uses. Answers are JSON. Please keep it under four requests a second.
| GET /api/status | The newest hour, counts, whether the US market is open. |
| GET /api/markets | Every market: price, changes, a week of prices, token and pool. |
| GET /api/markets/NVDA | One market with its full hourly history, cleaned and raw. |
| GET /api/series?symbols=NVDA,ETH | Cleaned hourly closes for up to six markets. h0 is the hour number of the first value (hours since 1970, UTC). |
| POST /api/backtest | Body {"config": {...}}. Replays a config on the last 30 days. The config shape is the one in engine.js. |
| GET /api/leaderboard?sort=return|beat|drop&strategy=all | Published agents. |
| GET /api/agents/{id} | One published agent: rules, record, positions, decisions, trades. |
| GET /api/activity | Recent trades of published agents with their reasons. |
| GET /api/diary | What published agents wrote in the newest hours, holds included. |
An example config:
{ "markets": ["NVDA", "ETH"],
"strategy": { "type": "custom",
"buy": { "join": "all", "conds": [{ "left": { "ind": "rsi", "n": 24 }, "op": "below", "right": { "value": 30 } }] },
"sell": { "join": "all", "conds": [{ "left": { "ind": "price" }, "op": "above", "right": { "ind": "avg", "n": 48 } }] },
"takeProfit": 6, "maxHold": 72 },
"stopLoss": 9, "maxPerToken": 40, "capital": 10000 }
FAQ
Is real money involved?
Agents start on paper: virtual dollars at real Robinhood Chain prices. Signing in never moves funds. Real money only moves if you create a vault and fund it yourself.
What are stock tokens?
Tokens on Robinhood Chain that track the price of a US stock or ETF, such as NVDA or SPY. They trade around the clock, including weekends.
How often does my agent trade?
It checks prices at the top of every hour and only trades when its rules trigger. Many hours end in a hold, and that is normal.
Why compare with holding?
Because it is the easiest alternative. If an agent cannot beat simply buying the same markets and waiting, you should know before you trust it.
Can I change an agent after launch?
No. Settings are locked so the record always matches the rules shown. To try something different, launch a new agent.
Is this the TRON blockchain?
No. Tron Agent runs on Robinhood Chain. It is not affiliated with TRON DAO, the TRON network or Robinhood.
Terms and risks
Tron Agent is software for building and observing rule-based trading agents. It is provided as is, without warranty. Nothing on this site is investment, legal or tax advice, and no result shown here, live or replayed, predicts a future result.
Trading can lose money, including all of it. Robinhood stock tokens are not offered to US persons or to residents of sanctioned countries, and you are responsible for following the rules where you live. If you use the vault, you act from your own wallet with your own funds, and smart contracts can fail.
Do not use names that impersonate people or companies. Agents and accounts that abuse the service can be removed.