Documentation

Last updated:

From zero to a running bot: connect a venue, understand the preview and know what you can touch while it trades.

Start in simulation and with little capital. A leveraged bot can lose all of its assigned margin in one adverse move. The recommended sequence is: simulation → Hyperliquid testnet → live with 20 USDC at 1× → scale up slowly.

1. Connect a venue

CRYPTON never asks for your seed phrase. What is stored is a delegated signing key: it places and cancels orders in your account, but cannot withdraw. You generate it on the venue and revoke it there whenever you want, without going through us.

VenueWhat it asks forWorth knowing
HyperliquidAPI wallet — cannot withdrawHas a public testnet: the best place to try a bot risking nothing.
LighterAccount index + API keyLeverage is set per market before the bot is created.
AsterEIP-712 API wallet — cannot withdrawPosition and margin mode must be set per market.

The connection is verified before being saved, with a read-only call. If the credential does not work, it is not stored.

How the key is stored

With envelope encryption: each credential is encrypted with a unique data key, and that key with the server master key. A database dump without the master key cannot sign a single order. Decryption happens only in the memory of the process running your bot.

2. The preview

Before you confirm, the app computes the full ladder with the same code the engine will run. For every level it shows price, size, margin and cumulative notional; and at the end, the worst case.

3. Editing a running bot

Every parameter carries a label saying what happens when you change it live. It is not a generic warning: it determines what the engine does.

LabelWhat the bot doesExamples
HOTApplied on the next cycle. Orders are adjusted; the position is untouched.Take profit, spread in bps, caps, stop loss
WARMCancels and re-lays the ladder. The position stays open. Asks for confirmation.Levels, range, step, scales, investment, leverage
COLDRejected. Changing it would be a different bot.Pair, venue, side, strategy, margin mode

Leverage is WARM and not HOT for a concrete reason: many venues reject it with an open position and, when they accept it, it moves your liquidation price.

Execution controls

ActionEffect
StartStarts the bot and lays the ladder.
PauseCancels the orders. Keeps the position.
ResumeLays the ladder again without closing anything.
Stop keeping positionCancels orders and stops the bot; the position stays in your name.
Stop and closeCancels orders and closes at market. Irreversible: asks for confirmation.
Close nowCloses the position at market without stopping the bot.
Take profit nowCloses at market without waiting for the target.
Trigger safety orderExecutes the next pending safety order at market.
Re-centre gridRe-hangs the ladder from the current price.
Cancel ordersPulls all of the bot orders; the position is untouched.
PanicCancels everything and closes at market. Also available globally.

4. Risk panel

Limits are checked when the bot is created and on every engine cycle. A bot that was safe at launch can be 3% from liquidation half an hour later.

When a guard trips, the bot pauses. It does not close: closing would realise the loss instantly and at the worst moment. Pausing stops the bleeding and leaves the final call with you.

5. Simulation mode

A simulated bot consumes the venue real prices but sends no orders: it fills them in memory. It charges fees and applies slippage, so the result is not artificially optimistic.

What simulation does not reproduce:

The mode is fixed at creation and cannot be changed: mixing simulated and live fills in one history would make its PnL meaningless.

6. What happens when something fails

The engine does not replay memorised steps: on every cycle it computes which orders should exist and compares them with the ones actually on the venue. It only executes the difference. Three properties follow:

Support

If you write about a specific bot, include its id: every bot keeps a full log of what it did and why, with the configuration in force at each moment.

aduardoyanes@gmail.com