Skip to content
NyxGo

Agents on NyxGo

How DCA, trailing stop and grid agents trade your own account within limits you sign, how the Agents key works, and how to pause, cancel or revoke them.

Intermediate7 min readUpdated

Agents are strategies that trade your own account from NyxGo’s servers, so they keep working after you close the page. There are three: the DCA agent, the Trailing stop agent and the Grid agent. You build one, sign its limits in your wallet, and it runs until it finishes or you stop it.

This guide is educational, not financial advice. The numbers in the examples are illustrations, not recommendations or expected results.

What an agent is, and what it isn’t

An agent follows rules you set: what to trade, when, how much and where to stop. It doesn’t forecast prices or judge whether a trade is a good idea. It isn’t advice, and it can’t promise a profit.

Agent orders are ordinary orders on your account on the exchange. They use your margin and your leverage, and the same liquidation rules apply. Your funds never leave your account.

The three strategies

Open a market such as BTC, switch the order panel from Trade to Agent and pick a strategy, or select New agent on the Agents page. The builder previews the agent before you sign. Agents trade the main perps, plus only the builder-deployed markets NyxGo has enabled for them.

DCA agent

A DCA agent buys or sells a fixed dollar amount on a schedule. You set the Amount per order, how often to Repeat (every hour, 4 hours, 12 hours, day or week), the Number of orders, a Max slippage and an optional Price limit. Each run fills what it can at once, within your slippage of the mid price, and a buy run is skipped while the price is above your limit.

Example: $50 every day for 20 orders spends up to $1,000 over about 3 weeks, starting right after you sign. On a perp, each buy adds to a leveraged long. Set up a DCA agent.

Trailing stop agent

A trailing stop agent protects an open position with a stop order that rests on the exchange and follows the mark price, only ever moving in your favor. You set a Trail distance, an optional price to Start when the mark reaches, and a Max slippage for the fill.

Example: you’re long at $100 with a 5% trail, so the stop starts at $95. If the mark climbs to $120, the stop rises to about $114. If the mark then falls back, the stop triggers near $114 and closes the position.

Start one from a position’s TP / SL column in the Positions tab, or set up a trailing stop agent directly.

Grid agent

A grid agent trades a range with post-only orders: buys rest at evenly spaced levels below the price, sells above it. When a buy fills, it places a sell 1 level up, and the reverse for a sell. Each round trip earns the step between levels, minus fees.

You set a Low, a High, the number of Levels and the size Per order, plus an optional Start at price, Stop beyond the range (with Close the position on stop) and Max position, the most the grid may hold either way.

Example: $90 to $110 with 11 levels gives a $2 step, and $20 per order is 0.2 coins. A dip from $100 to $98 and back fills a buy and a sell for 0.2 × $2 = $0.40 before fees. The builder shows it after fees as Per round trip. Set up a grid agent.

Setting up the Agents key

Your trading key, created by Enable trading, lives in your browser and signs the orders you place yourself. It can’t act while the page is closed, so agents use a second key that NyxGo holds: the Agents key.

  1. Select Set up Agents key on the Agents page (the builder offers it too).
  2. NyxGo’s isolated signing service creates the key, and the app checks its proof of origin before involving your wallet.
  3. Your wallet asks you to approve the key on the exchange, shown as “nyx automations”. It costs no gas.

The Agents key can place and cancel orders, but never withdraw or transfer funds, not even between your own accounts. The key is renewed every 30 days: Renew key appears 5 days ahead and approves a brand-new key with one signature. If a renewal is missed, agents pause an hour before the 30 days are up and pick up again once you renew. The Security page explains how NyxGo keeps it.

The limits you sign

Sign & start asks your wallet to sign the agent’s limits, shown as “NyxGo Automations”. It’s a free signature, not a transaction. The limits cover the market, the side, the most per order and in total, the slippage, the time between orders and an end date. A trailing stop may only reduce or close your position, and a grid’s limits fix its levels, size, stop and max position.

NyxGo’s signing service checks every order against the newest limits you signed and signs nothing outside them, so only your own signature can create or widen an agent: not a server, and not a database. Resuming a paused agent asks for a fresh signature, and limits have an end date: 90 days for a grid, 180 for a trailing stop, and a week after its schedule ends for a DCA agent.

Watching, pausing, cancelling and revoking

The Agents tab under the chart lists the agents on that market. The Agents page lists every agent under Active, Paused and History, with its orders and activity.

  • Pause stops new orders, and a paused grid takes its orders off the book. Resume needs fresh limits.
  • NyxGo pauses an agent when something needs you, such as low margin, a key due for renewal or an order changed outside NyxGo, and shows why.
  • Cancel ends an agent. A grid takes its orders off the book, but the position it built stays open. A trailing stop can Keep the last stop on the exchange as an ordinary stop loss.
  • Revoke key pauses every agent and securely deletes NyxGo’s copy of the key. Tick Also revoke it on the exchange so it stops working there immediately too.

NyxGo can also switch agents off platform-wide with a kill switch. DCA and grid agents pause until it’s lifted, while trailing stops keep protecting their positions.

When NyxGo is down

Agents run on NyxGo’s servers, so they stop when NyxGo does:

  • DCA: missed runs are skipped, never made up later.
  • Trailing stop: the last stop stays on the exchange and still protects the position, but stops following the price.
  • Grid: resting orders stay on the book and can fill, but nothing places the opposite orders, and the stop beyond the range can’t act.

Risks

Perpetual futures are high risk, and an agent keeps trading whether or not you’re watching.

  • DCA into a falling market. A buy schedule keeps adding to a long as the price drops, bringing liquidation closer.
  • Grids in a trend. In a steady trend, one side keeps filling and the grid builds a position against the move, up to your max position. Without a stop, it keeps that position after the price leaves the range.
  • Trailing stops on wicks. A brief spike can trigger the stop just before the price recovers. In a fast market, the stop can fill worse than its price or not fill at all.
  • Fees on frequent orders. An hourly DCA or a tight grid pays fees on every fill.
  • Keeping the key contained. The Agents key can only trade, never withdraw, and it’s built to stay contained: it’s renewed every 30 days, you can revoke it any time, and every order is checked against your limits.

Risk management basics covers sizing and exits.

Fees

Agents add no fee of their own. Every agent order pays the exchange fee, like an order you place yourself: DCA runs and triggered trailing stops pay the taker rate, grid orders the maker rate (a grid’s close after its stop pays taker). NyxGo’s builder fee, when one is active, applies to DCA and grid orders; a trailing stop’s close pays the exchange fee only. The fee on agents’ orders can be set apart from the fee on orders you place yourself, so the builder shows the rate an agent’s orders will pay before you start it, and Settings shows both. See Fees.

Key takeaways

  • Agents trade your own account from NyxGo’s servers, within limits you sign. They aren’t advice and can’t promise a profit.
  • They use a separate Agents key, shown as “nyx automations” and renewed every 30 days. It can never withdraw or transfer, and you can revoke it any time.
  • Your wallet signs each agent’s limits, and NyxGo refuses any order outside them.
  • When NyxGo is down, agents stop, but a trailing stop’s last stop stays on the exchange.
  • Watch for DCA into a falling market, grids in a trend and stops triggered by wicks.