Trading bot glossary
The words you meet when you test and run a trading bot, explained in plain English. 40 terms, sorted from A to Z. Each term has its own link you can share.
Last updated:

Jump to a term: API key · API wallet · Backtest · Candle · Cross margin · Drawdown · Dry run · Funding rate · Isolated margin · Leverage · Leverage limit · Liquidation · Liquidity · Long · Maintenance margin · Maker and taker fee · Margin · Mark price · Order book · Out of sample · Overfitting · Paper trading · Perpetual contract · Position size · Profit factor · Reserve · Reverse · Short · Signal · Slippage · Stop loss · Sub account · Take profit · Testnet · Time frame · Trailing stop · Volatility · Walk forward analysis · Webhook · Win rate
Terms from A to Z
- API key
- A pair of codes that lets a program act on your exchange account. You choose its rights when you create it. For a trading bot, give it the right to trade and keep withdrawals switched off.
- API wallet
- The Hyperliquid version of an API key: a separate wallet that may sign orders for your account but cannot withdraw. It is valid for at most 180 days. M Alpha Core warns you in yellow from 30 days before expiry and in red from 14 days.
- Backtest
- A test that runs a strategy with fixed rules over past prices and records every trade it would have made. It shows how the rules would have performed, not how they will perform. See the guide on how to backtest a trading strategy.
- Candle
- One bar on a price chart that shows the open, high, low and close of one time period. On the 1 hour chart, each candle covers one hour. Most strategies make their decisions when a candle closes.
- Cross margin
- A margin mode in which all positions share the free balance of the account. A losing position can draw on money meant for other positions. It lowers the chance of a single liquidation but can put the whole account at risk.
- Drawdown
- The drop of an account from a high point to a later low point, usually in percent. The maximum drawdown is the largest such drop in a test. It tells you how painful the worst phase was.
- Dry run
- A mode in which the bot runs on live prices and records every order it would place, without sending any. In M Alpha Core every new bot starts in a dry run and reports each step to Telegram.
- Funding rate
- A regular payment between long and short traders on perpetual contracts. It keeps the contract price close to the price of the underlying market. When the rate is positive, longs pay shorts, and when it is negative, shorts pay longs.
- Isolated margin
- A margin mode in which each position has its own fixed margin. If the position is liquidated, only that margin is lost. Extra money you keep aside to top up the position is a reserve, not part of the margin.
- Leverage
- Trading a position larger than your margin. At 5x, $1,000 of margin controls a $5,000 position. Leverage multiplies both gains and losses and brings the liquidation price closer. Try it in the leverage and liquidation calculator.
- Leverage limit
- In an M Alpha Core report, the highest leverage the worst trade of the test would have survived without liquidation. In our gold example it was 18.2x, for Nvidia 9.03x. It is a boundary, not a target.
- Liquidation
- The forced closing of a leveraged position by the exchange when the margin can no longer cover the loss. The margin of that position is then lost, often with an extra fee. The price at which this happens is the liquidation price.
- Liquidity
- How easily a market can be traded without moving the price. A liquid market has many orders close to the current price, so orders fill fast and near the expected price. In thin markets, slippage is larger.
- Long
- A position that profits when the price rises. You buy first and sell later.
- Maintenance margin
- The minimum margin an exchange requires to keep a leveraged position open. If the margin falls below it, the position is liquidated. Exchanges set it per market and often per position size.
- Maker and taker fee
- Two kinds of trading fees. A maker order waits in the order book and adds liquidity, a taker order fills at once against existing orders. Taker fees are usually higher. Fees reduce every result and belong in every backtest.
- Margin
- The money you put up to open a leveraged position. It is the amount you can lose on that position under isolated margin.
- Mark price
- A reference price that an exchange uses to value open positions and to decide liquidations. It is usually built from the prices of several markets, so a short spike on one exchange does not liquidate positions at once. It can differ slightly from the last traded price.
- Order book
- The list of all open buy and sell orders for a market, sorted by price. It shows how much can be traded at each price and therefore how liquid the market is.
- Out of sample
- Data that was not used to find or tune a strategy and is kept aside for the final check. M Alpha Core uses the last 35 % of the test period. See out of sample testing.
- Overfitting
- When a strategy fits the noise of past prices instead of a pattern that repeats. It looks excellent in the backtest and fails afterwards. A test on out of sample data is the main defence.
- Paper trading
- Trading with imaginary money on live prices to test a strategy or a bot. It costs nothing but ignores some real effects such as partial fills. Paper trading and a dry run serve the same purpose.
- Perpetual contract
- A futures contract without an expiry date that follows the price of a market, such as BTC, gold or a stock. It can be traded long or short, with leverage. A funding rate keeps it close to the underlying price.
- Position size
- The total value of a position: margin times leverage. With $1,000 of margin at 3x, the position size is $3,000. Gains, losses and fees are calculated on the position size.
- Profit factor
- The sum of all winning trades divided by the sum of all losing trades. A value of 2.53 means 2.53 dollars won for every dollar lost. Below 1, the strategy lost money.
- Reserve
- Money kept aside on the account to add margin to a position that runs toward liquidation. In M Alpha Core you get a warning at half the way to liquidation and can add reserve or close half the position with one tap.
- Reverse
- Closing a position and opening one in the opposite direction at the same time, for example from long to short. In M Alpha Core you can reverse a bot with one tap in the app or the control panel.
- Short
- A position that profits when the price falls. On a perpetual contract you can open a short without owning the asset.
- Signal
- The instruction to enter, exit or reverse a position, produced by the rules of a strategy. In M Alpha Core the signal server calculates the strategy M Alpha Signal with the settings from your scan and hands the signal to your bot.
- Slippage
- The difference between the price you expected and the price you got. It happens when the market moves fast or when there are not enough orders near the current price.
- Stop loss
- An order that closes a position once the price reaches a set level against you. It limits the loss of a trade. In fast markets or after a gap, the fill can be worse than the set level.
- Sub account
- A separate account inside your main exchange account with its own balance. Running each bot on its own sub account keeps the results apart and stops one bot from using the margin of another.
- Take profit
- An order that closes a position once the price reaches a set level in your favour, locking in the gain.
- Testnet
- A separate test version of an exchange with play money. Developers use it to check that orders and API keys work. Prices and liquidity on a testnet can differ a lot from the real market.
- Time frame
- The length of one candle on a chart, for example 15 minutes, 1 hour or 1 day. A strategy behaves differently on different time frames, so the backtest must use the same one the bot will trade.
- Trailing stop
- A stop loss that follows the price at a set distance as the trade moves in your favour and stays put when the price turns. It protects part of a gain without fixing the exit in advance.
- Volatility
- How strongly a price moves up and down within a period. High volatility means larger moves, larger possible gains and losses, and a closer liquidation for the same leverage.
- Walk forward analysis
- Repeating the search and the test on windows that move forward in time, then joining all test periods into one result. The 65/35 split of M Alpha Core is one such step.
- Webhook
- A web address that another service calls to deliver a message, for example a chart alert that tells a bot to buy. Anyone who knows the address can call it, so it must be kept secret or protected.
- Win rate
- The share of trades that closed with a profit. In our ETH example it was 58.6 % of 116 trades. A high win rate alone says little, because a few large losses can outweigh many small gains.
Learn more
The guides put these terms into practice: how to backtest a trading strategy, out of sample testing and how to test a crypto trading bot. Real numbers from our scans are on the pages for the gold trading bot and the stock trading bot.
Related pages
All figures come from backtests on past market data. No result is a promise of future profit. Trading, especially with leverage, involves high risk. M Alpha Core is a software tool, not investment advice.