Coming From Another Engine

If you have run SPX bots on a self-hosted engine before, one you installed yourself, ran beside TWS or IB Gateway and configured with a config.yaml of templates and bots, most of what you wrote carries over. This page lists what to change: the setup steps that go away, the keys that are spelled differently or set somewhere else, and the few behaviours worth knowing before your first session.

This page describes TradeMint. It mentions the engine you came from only to say which line of your old file to change.

Setup: what goes away

StepSelf-hosted engineTradeMint
The softwareYou install the engine on your own computer or a server you rent, and keep it running and updated.Nothing to install. You sign in to your dashboard at app.trademint.io.
The IBKR connectionYou run TWS or IB Gateway yourself, set its API port and client ID, and keep it logged in.TradeMint hosts the gateway that talks to IBKR and operates it for you. You give it the login to use in Settings → Connections → Broker.
Market dataReal-time options and index data on your IBKR login.The same subscriptions, shared with your paper account. See Interactive Brokers.
An access tokenA token in the file that unlocks the engine.None. Your TradeMint sign-in is your account.
TelegramThe bot token and your username written in the file.Settings → Connections → Telegram, where both are stored encrypted.
Your configurationA file on your machine, read again when the engine restarts.Configuration in your dashboard: Advanced mode is the same YAML, Normal mode is forms. Save and Restart applies it.

Bringing your file across

Paste your templates and bots into Configuration in Advanced mode, then press Save. The config check reads every line before anything is stored, and it tells you about the lines TradeMint does not read:

You can also hand the job to TradeMint AI on the Configuration page: "replace my bots with these", followed by your old bots, opens one review of every change. It writes entry filters only from TradeMint's own filters, and asks you rather than guessing when it cannot. See Normal mode.

Key map

Delete these: they are set somewhere else, or not needed

Old keyOn TradeMint
accountYour IBKR login is entered in Settings → Connections → Broker, not in this file.
tokenNot needed. A token in the file is refused when you save.
telegramUser, telegramBotTokenSettings → Connections → Telegram. A bot token in the file is refused when you save.
twsPort, twsClientIdNot needed: the connection to IBKR is run for you.
pidFile, databaseFile, autoUpdate, logLevelNot needed: nothing of TradeMint runs on your computer.
timezoneNot read. Every time in your file is New York time (ET), wherever you are.
tradeNotifications, displayStatusPercentagesNot read. Choose which alerts reach you in Settings → Alerts.
initScript, scripts, commands, externalsNot supported. TradeMint runs no scripts of your own; see the entry filters row below.

Change these: the same idea under another name

Old keyWrite insteadNotes
targetOTMtargetPercentOTMThe old spelling still works.
openOrderTimeoutSecondsopenOrderTimeoutThe old spelling still works. The default is 30 seconds.
autoEnableNewBotsautoEnableThe old spelling still works. The default is false, so a new bot starts switched off unless its own entry says enabled: true.
profitTargetPercentprofitTargetThe old spelling still works. profitTarget: {percent: 0.5, resting: false} is read as written.
nlvOverride at the top of the filenlvOverride on a template or a botAt the top of the file it is not read. Set it on a template to cover every bot that uses it.
closeLongsecondaryWhat happens to the long leg after the short closes: close (the default), keep or trail. closeLong inside spread: is refused when you save.
stopGracePeriodMs, hardDeltaStopGracePeriodMsgracePeriodMs, hardGracePeriodMs inside stop:Set them on a template's stop: block to cover a whole family of bots.
An entry filter that reads spx.lastspx()Market values are spx(), es(), vix(), vix9d() and vix1d(). A filter written with .last is refused when you save.

Same name, worth a second look

KeyWhat TradeMint does with it
deltaCheckDefaults to all: the position's net delta, the short leg's less the long wing's, so an offset stop counts from the net at entry. Write deltaCheck: primary to stop on the short leg alone. An iron condor's sides, a calendar and a diagonal default to primary.
maxDTERead but not used. The expiry comes from minDTE.
openOrderAlgoRelative cannot be used on an entry and works as Normal there. It does work on stop.orderAlgo.
resting inside profitTargetOnly a credit spread's profit target rests at the exchange. On every other type the target is watched and closed when it is reached.
confirmEnableRead, and it has no effect.
A calendar or diagonalIts own type here, Calendar or Diagonal, with farDTE for the far leg. Experimental: contact support before using it live.

Every other key you are likely to have, from name, template, symbol, type and tags through the sizing, strike, entry-time and stop keys, is read under the same name. What each one does here, and its default, is in the config.yaml reference.

What TradeMint does that is worth knowing first

Pausing never pauses a stop. /pause, the dashboard's Trading switch and pause: true stop new entries only. Open positions stay watched and their stops stay active.

A spread goes in as one order. Every spread and iron condor is entered as a single combination order, never one leg at a time. A short strangle is the exception: its two sides are two separate orders.

A safety stop rests at IBKR when prices stop arriving. If a position goes without fresh prices, TradeMint places a stop order at IBKR at the level where the bot's own stop would have fired. See Exiting positions.

Entry filters are a fixed set of named filters, never code. FOMCFilter(), CPIFilter(), the weekday filters and the market values combine with &&, || and !. A filter that reads a feed counts as false while that feed is unavailable, so the bot skips rather than entering blind. See the entry filters.

A template's stop: and spread: merge into each bot. A bot that sets one stop key keeps the rest of its template's stop block. secondary and a trailing stop are the exception: a bot that writes its own replaces the template's whole block.

Changes apply when the engine restarts. Save and Restart on the Configuration page does both.

Anything still open at the close cash-settles. Positions are not closed just because the day ended. Use beforeExpirationTime if you want a timed exit.

Telegram commands

Most commands you know work the same way, among them /status, /positions, /day, /stats, /export, /chart, /daychart, /bp, /config, /enable, /disable, /close, /btc, /pause and /resume. A few differ, and the full list is on the Telegram page:

CommandOn TradeMint
/tagsWritten /tag: it lists your bot tags with a count for each.
/restartUse Restart in your dashboard, under Settings → System.
/deltaLists each open position's live delta. It does not look up a strike.
/stopsNot available. No command switches a position's stops off.
Last revised 2026-11-16© 2026 TradeMint · Cookie preferences