Alert Syntax

NameKeyDefaultValuesDescription
Accounta* Anything (excluding special characters)The alias for the API credentials you want to use for this command.
Auto Borrowab00, 1Funds will be borrowed to ensure sufficient funds when placing an order.
Account Identifieraidn/aAnythingUsing a specific account when multiple accounts are available.
Auto Margin Replenishmentamr00, 1Available funds in your account will be transferred to the margin of the position.
Auto Repayar00, 1Automatic repayment will be triggered when the order is finished.
Blind Carbon Copybcc00, 1Relay this command to the configured endpoint only. Exchange requests will not be made.
Bookballbuy, long; sell, shortThe side of the market you would like to play.
Cancel / Closecn/aorder, positionUsed to cancel open orders or close open positions.
Carbon Copycc00, 1Relay this command to the configured endpoint and exchange.
Closeclose10, 1A Close order will cancel other active limit orders with the same side and symbol.
Cancel / Close MaximumcmallStatic: #, %
Random: #-#, %-%
Cancels orders or closes positions (seecmofor ordering).
Cancel / Close Maximum Ordercmooldestnewest, oldest; lowest, highest; smallest, biggest; randomHow the orders are sorted for canceling.
How the positions are sorted for closing.
Adjust repaying strategy from recently expiring to highest rate first (e.g.y=repay cmo=highest)
Close On Triggercot00, 1When creating a closing order, this is recommended to avoid failing by insufficient available margin
Delaydelayn/a> 0Delay allows for a pause (in seconds) between commands within the same alert (e.g.delay=10).
Disabledd00, 1Prevents any live action from the command.
This is helpful for debugging by outputting the live parameters.
Date/Timedtn/ae.g. 2020-09-14The date/time when the order will be cancelled (if still an open order).
ExchangeeChart SymbolBinance, Kraken, ...The receiving exchange for your command.
Extended Hourseh00, 1Order will be eligible to execute in premarket/after hours.
Expiration Timet2592000
1 month
> 0How long (in seconds) to wait for the condition to be triggered before cancelling the order.
Feef00, 1Switch the trading fee to the exchange provided option.
Fixed Guaranteed Stop Lossfgsln/aStatic: #
Random: #-#
Order created with a price threshold which is guaranteed against slippage.
Fixed Pricefpn/aStatic: #
Random: #-#
The literal price in which to place an order or close a position.
Fixed Price Boundfpbn/aStatic: #
Random: #-#
The worst market price that may be used to fill this Stop Order. If the market gaps and crosses through both the price and the price bound, the Stop Order will be cancelled instead of being filled.
Fixed Stop Lossfsln/aStatic: #
Random: #-#
Triggers the order (buy or sell) when the last traded price hits the stop price.
Fixed Stop Loss Trigger Pricefslxn/aStatic: #
Random: #-#
Triggers the stop loss order when the last traded price hits this price.
Fixed Take Profitftpn/aStatic: #
Random: #-#
Triggers the order (buy or sell) when the last price hits the profit price.
Fixed Take Profit Trigger Priceftpxn/aStatic: #
Random: #-#
Triggers the take profit order when the last traded price hits this price.
Fixed Trailing Stopftsn/aStatic: #
Random: #-#
The trailing stop price adjusts or "trails" the market price by a specified amount.
Fixed Trigger Pricefpxn/aStatic: #
Random: #-#
Set the price stop limit orders.
Guaranteed Stop Lossgsln/aStatic: #, %
Random: #-#, %-%
Order created with a price threshold which is guaranteed against slippage.
Hedge modehedgen/a1Open both Buy and Sell side positions simultaneously.
Hidden / Iceberghn/aStatic: #, %
Random: #-#, %-%
Sets the order to be hidden if 0. If > 0 this portion of the position to be visible (i.e. Iceberg).
IdentifieridDate.now()<= 26 characters code [a-z0-9.:-_]A unique identifier among open orders. Automatically generated if not used.
Leveragelall>= 0Leverage allows your available balance to be multiplied but increases risk.
Leverage Typeltn/across, isolatedChange leverage type when placing new orders.
One Cancels the Otheroco00, 1A conditional order that combines a limit order with a stop-limit order.
One Sends the Otheroso00, 1OSO orders allow for the most complex multi-bracket trading strategies.
Pricep0Static: #, %
Random: #-#, %-%
The amount to undercut or over-cut the top order in the book.
Price Boundpbn/aStatic: #, %
Random: #-#, %-%
The worst market price that may be used to fill this Stop Order. If the market gaps and crosses through both the price and the price bound, the Stop Order will be cancelled instead of being filled.
Price Sourcepstoplast, top, position(last, top) Change the reference for Price (p) calculations.
(position) When closing positions (c=position), use the position average in calculations.
Trigger Pricepxn/aStatic: #, %
Random: #-#, %-%
Set the price for stop orders.
Trigger Price Sourcepxslastlast, mark, indexChange the reference for Trigger Price (px) calculations.
Quantityq100%Static: #, %
Random: #-#, %-%
The portion of your balance or position you would like to effect.
Reduce Onlyro00, 1Order can only reduce your position, not increase it.
SymbolsChart SymbolBTCUSD3M, LTCUSD, PINKBTC, ...The receiving exchange's market for your command.
Stop Losssln/aStatic: #, %
Random: #-#, %-%
Triggers the order (buy or sell) when the last traded price hits the stop price.
Stop Loss Trigger Priceslxn/aStatic: #, %
Random: #-#, %-%
Triggers the stop loss order when the last traded price hits this price.
Order Typetlimitlimit, market, fok, ioc, post, close, open, settle, stopLimit: Order will be placed in the books to await being filled.
Market: Place order in the book for immediate filling (pis ignored).
FOK : Fill Or Kill orders will either completely fill or be aborted.
IOC : Immediate Or Cancel orders can be partially or completely filled, but any remaining portion is cancelled.
Post: If any part of the order would have executed, it will be cancelled instead.
Close / Open: Can be used together with code c=order for specific order types.
Stop: Stop Order request.
Take Profittpn/aStatic: #, %
Random: #-#, %-%
Triggers the order (buy or sell) when the last price hits the profit price.
Take Profit Trigger Pricetpxn/aStatic: #
Random: #-#
Triggers the take profit order when the last traded price hits this price.
Testingtesting00, 1While enabled, prevents any live action from any command until disabled.
This is helpful for debugging by outputting the live parameters.
Trailing Stoptsn/aStatic: #, %
Random: #-#, %-%
The trailing stop price adjusts or "trails" the market price by a specified amount.
Unitucontractscontracts, currencyThe quantity (q) unit being provided.
Walletwn/aAnythingThe currencies to transfer from wallet account to another (e.g. spot to margin).
Multiple currencies may be used (e.g.w=btc,cad,usdt)
Yieldybalancebalance, equity, margin, spot, borrow, repay, futures, delivery, spot-futures, spot-delivery, contract, investment, spot-contract, spot-investmentBalance: Your available balance excluding open orders/positions.
Equity: Your available balance including profit/loss.
Margin: Move balance from Spot wallet to Margin wallet
Spot: Move balance from Margin wallet to Spot wallet
Borrow: Apply for a loan for each Wallet asset
Repay: Repay loan for Wallet asset