Automated Trading Command Reference
A handy list of all the commands supported by the Alertatron automated trading bot.
For full details on each supported command, click on the links below.
Tries to enter or exit a position with a limit order that is constantly adjusted to be at the front of the order book.
Send an alert with a balance report for the exchange and instrument the command is running in. The output various from exchange to exchange.
Attempts to cancel some or all of your open orders. This will only affect orders on the symbol of the command block the `cancel()` command is in.
Evaluates a condition and will only continue to later commands if that condition is true.
Allows exchange specific settings to be set.
An algorithmic order that breaks up a large order into smaller orders. This is often also called the Accumulate / Distribute order.
Places a standard limit order. The command will finish as soon as the limit order has been placed on the exchange. It will not wait for the order to be filled.
Run a fully managed order, starting with an order to enter a position, then placing a stop loss and a take profit order to close the position again.
An order that creates a _basic_ market maker bot. This essentially looks like a pair of endless ping pong orders that are a little easier to set up.
Places a market order that is executed immediately at the current price.
This algorithmic order starts off identical to a `scaled()` order. It places a series of limit orders. However, once the orders are placed, the bot waits for them to be filled. As soon as one of the limit orders is filled, a new limit order is placed, `pongDistance` away from the original on the other side of the book.
Places a series of limit orders over a price range. The number of orders, the price distribution and amount distribution can all be adjusted using the arguments described below.
Evaluates a condition and will abort execution if that condition is true.
Places a Take Profit order **and** a Stop Loss order at the same time. It then waits for either order to be filled and cancels the other one.
Place a stop order. If you provide a value for limitOffset, it will place a stop limit order, or a stop market order without. Where supported, the order will be placed with 'reduce only' enabled to ensure it can only reduce your position size (not increase it).
Place a trailing stop market order.
Place a trailing take profit order. This initially waits for the price to reach the `triggerOffset`. When that price is touched, a [trailing stop order](/docs/automated-trading/trailing-stop-order) order is started, that trails the price by `offset`.
TWAP order, also known as Time-Weighted Average Price Order, places a series of market orders over an extended period of time.
Waits for a fixed amount of time. When the time has passed, the command will complete and the next command in the sequence will be started.
Some images from Unsplash
Your TradingView alerts, with charts, PM'd to you.
Get all your alerts from TradingView, sent to Telegram, Discord, Slack, Email or webhooks, with a chart snapshot attached.
See a high quality chart with every alert, captured at the moment the alert was triggered. See exactly what the market was doing and make informed decisions.
Trigger orders on popular cryptocurrency exchanges and trade 24/7. Access powerful algorithmic orders to maximise your profits.
Connect your alerts to Telegram (channels, groups and private chats), Discord, Slack, email or send push notifications to other services with webhooks.
Easy To Setup
Nothing to install and no browser extensions. Captures alerts 24/7, even with your computer switched off. Be up and running in seconds.