Alert Command examples

Not much here yet, TradeRelay is so simple and easy to use. Currently all orders are MARKET orders. We will be adding more features if they are needed. Please email us if you have a good idea for feature. TradeRelay project is ongoing.

General guidelines

-Uppercase or lowercase both work but spaces matter.
-Symbol can be any symbol that your exchange offers.
-Instead of Symbol you can use Conid too. Actually Futures work better with Conid.
-Qt, can be integer(ex. 100) or decimal with two digits (ex. 0.02)

Alert Commands for IB:

Command Explanation
action:BUY symbol:AAPL qt:100 id:xxxxx Buy 100 AAPL stocks
action:SELL symbol:AAPL qt:100 id:xxxxx Sell 100 AAPL stocks


Alert Commands for BINANCE:

Command Explanation
action:BUY symbol:EOSUSDT qt:100 id:xxxxx Buy 100 EOSUSDT
action:SELL symbol:EOSUSDT qt:100 id:xxxxx Sell 100 EOSUSDT


Alert Commands for KRAKEN:

Command Explanation
action:BUY symbol:XETHZUSD qt:7.50 id:xxxxx Buy 7.5 ETH
action:SELL symbol:XETHZUSD qt:7.50 id:xxxxx Sell 7.5 ETH


Alert Commands for KRAKEN (margin trading):

In Kraken you can trade with margin. It allows you to Short sell too!
Default leverage on margin orders is 2. You can change leverage by adding leverage command like this: "leverage:4"

Command Explanation
action:BUYMARGIN symbol:XETHZUSD qt:100 id:xxxxx Buy 100 ETH
action:SELLMARGIN symbol:XETHZUSD qt:100 id:xxxxx Sell 100 ETH
action:SELLMARGIN symbol:XETHZUSD qt:100 leverage:4 id:xxxxx Sell 100 ETH with 4 leverage