On MongoTrader, an algorithm is a rules-based strategy that watches one or more symbols and places orders automatically when its rules fire. You don't have to write code to build one — the Algo Builder offers a menu of ready-made templates that you parameterize and attach to a portfolio.
For users who do want to write code, the external REST API lets you run your own bot anywhere and still see it tracked inside MongoTrader as a named algorithm.
The Algo Builder ships with a curated library of classic and modern strategies. The catalogue grows over time, but the current starter kit includes:
Before committing a strategy to live paper trading, run it against historical data. Each backtest produces:
Don't over-fit
When you're satisfied with the backtest, attach the algorithm to one or more portfolios. Choose an execution mode:
Every attached algorithm has a status page showing:
You can pause or stop an algorithm at any time from this page. Pausing preserves all state; stopping detaches it from the portfolio (open positions stay open and become yours to manage).
Want to run your own bot on your own server? Generate an API key from your account page and use the REST API. Any trade made through the API can be tagged with an algorithm name, and MongoTrader will group those trades under a named "External API algorithm" that shows up in your Algo Builder alongside internal algorithms.
POST /portfolios/{id}/orders
Headers:
X-API-Key: mt_your_api_key_here
X-Algorithm-Name: my-dca-bot
Content-Type: application/json
{
"symbol": "AAPL",
"side": "BUY",
"type": "MARKET",
"quantity": 10
}The full reference — including every order type, margin/leverage fields, error codes, and rate limits — is on the API Documentation page.