What is the alert format for tradingview MT 4 and 5 and Amibroker : Copy Trading

Hey Developer,

Below is the format of alert which need to be followed by your developer to execute trades on our API Connector /Copy Trading Software.

Share this page details with your developer if you are getting developed any strategy.

Master Alert String Format

 

For option:

Alert_Key+| IntType | buy_sell | symbol,expiry,strikePrice,Type | Lot | orderType | productType | limitPrice | triggerPrice | tsl | Strategy_tag |

 

Symbol: - SymbolName, Expiry(DD-MM-YYYY),strikePrice,Type(CE,PE)

Example: - NIFTY,21-02-2024,17000,CE

 

For future:

Alert_Key+| IntType | buy_sell | symbol,expiry | Lot | orderType | productType | limitPrice | triggerPrice | tsl | Strategy_tag |

 

Symbol: - SymbolName, Expiry(DD-MM-YYYY)

Example: - NIFTY,29-02-2024

 

For Equity:

Alert_Key+| IntType | buy_sell | symbol | Lot | orderType | productType | limitPrice | triggerPrice | tsl | Strategy_tag |

 

Symbol: SymbolName

Example: - SBIN

 

Alert_key - Available on WebApp or Software. Alert_Key need to send with alerts as per above syntax.

IntType - Instrument Type

 

Note-Allowed Instruments Type - EQ, OPTIDX, FUTIDX, FUTSTK, OPTSTK, FUTCOM, OPTCOM, FUTCDS, OPTCDS, FUTBCD, OPTBCD, FUTBFO, OPTBFO


Qty - Quantity

TSL - Trailing SL for Bracket Order


Note- strategy_tag must be same on alerts and on web app or copy trading software.

 

 Equity –

1)      how to place INTRADAY order:

Ø Alert_Key+| EQ | BUY | SBIN | 1 | MARKET | INTRADAY | 0 | 0 | 0 | STG1 |


2)      How to place DELIVERY LIMIT order:

Ø  Alert_Key+| EQ | SELL | SBIN | 1 | LIMIT | DELIVERY | 615.75 | 0 | 0 | STG1 | 


Note- Above order Placed with 615.75 LIMIT


3)      How to place CO with LIMIT Order:

Ø  Alert_Key+| EQ | BUY | ITC | 1 | CO | INTRADAY | 190 | 180 | 0 | STG1 |


Note- Above order Placed with 190 LIMIT Price with 180 SL 


        How to place CO with Market Order:

Ø  Alert_Key+| EQ | BUY | ITC | 1 | CO | INTRADAY | 0 | 180 | 0 | STG1 |


Note- Above order Placed on Marker Price with 180 SL,  Indicates Market Price. 


4)      How to place BO order:

Ø  Alert_Key+| EQ | SELL | SBIN | 1 | BO | INTRADAY | 500 | 510 | 2 | STG1 |


Note- Above SELL order Placed on LIMIT of 500 with stop loss of 510 and trailing SL of 2.


For Market order LIMIT PRICE need to keep 0.


5)      How to place AMO order:

Ø  Alert_Key+| EQ | BUY | SBIN | 1 | AMO | NRML | 515 | 0 | 0 | STG 1 |


6)      How to EXIT CO order:

Ø  Alert_Key+| EQ | EX | ITC | 1 | CO | INTRADAY | 0 | 0 | 0 | STG1 |


7)      How to EXIT BO order:

Ø  Alert_Key+| EQ | EX | SBIN | 1 | BO | INTRADAY | 0 | 0 | 0 | STG1 |

 

FUTURE INDEX–


8)      how to place INTRADAY order:

Ø  Alert_Key+| FUTIDX | BUY | NIFTY,21-01-2023| 1 | MARKET | INTRADAY | 0 | 0 | 0 | STG1 |


9)      How to place DELIVERY order:

Ø  Alert_Key+| FUTIDX | SELL | NIFTY,21-01-2023| 1 | MARKET | DELIVERY | 0 | 0 | 0 | STG1 |


10)  How to place CO order:

Ø  Alert_Key+| FUTIDX | BUY | NIFTY,21-01-2023| 1 | CO | INTRADAY | 2565 | 2995.05 |  0 | STG1 |


11)  How to place BO order:

Ø  Alert_Key+| FUTIDX | SELL | NIFTY,21-01-2023| 1 | BO | INTRADAY |  2456 | 2456 | 0.1 | STG1 |


12)  How to EXIT CO order:

Ø  Alert_Key+| FUTIDX | EX | NIFTY,21-01-2023| 1 | CO | INTRADAY  | 0  | 0 | 0 | STG1 |


13)  How to EXIT BO order:

Ø  Alert_Key+| FUTIDX | EX | NIFTY,21-01-2023| 1 | BO | INTRADAY | 0 | 0 | 0 | 0 | 0 | STG1 |


OPTION INDEX –


14)  how to place INTRADAY order:


Ø  Alert_Key+| OPTIDX | LE | NIFTY,05-2-2023,15700,CE | 1 | MARKET | INTRADAY | 0 | 0 | 0 | STG1


Ø  Alert_Key+| OPTIDX | LX | NIFTY,05-2-2023,15700,CE | 1 | MARKET | INTRADAY | 0 |0|0|STG1|


Ø  Alert_Key+| OPTIDX | SE | NIFTY,05-2-2023,15700,CE | 1 | MARKET | INTRADAY | 0 | 0 | 0 | STG1 |


Ø  Alert_Key+| OPTIDX | SX | NIFTY,05-2-2023,15700,CE | 1 | MARKET | INTRADAY | 0 | 0 | 0 | STG1 |


LE - Long Entry,  LX- Long Exit,  SE-Short Entry, SX- Short Exit


Note- For Options Buying/Selling, we need to send LE, LX, SE, SX


15)  How to place DELIVERY order:


Ø  Alert_Key+| OPTIDX | SE | NIFTY,05-2-2023,15700,CE | 1 | LIMIT | DELIVERY | 615.5 | 0 | 0 | STG1 |

Ø  Alert_Key+| OPTIDX | SX | NIFTY,05-2-2023,15700,CE | 1 | MKT | DELIVERY | 0 | 0 | 0 | STG1 |


16)  How to place CO order:

Ø  Alert_Key+| OPTIDX | LE | NIFTY,05-2-2023,15700,CE | 1 | CO | INTRADAY | 2345.55 | 2340.55 | 0 | STG1 |


17)  How to place BO order:

Ø  Alert_Key+| OPTIDX | SE | NIFTY,05-2-2023,15700,CE | 1 | BO | INTRADAY | 2345.55 | 2350.55 | 2 | STG1 |


18)  How to EXIT CO order:

Ø  Alert_Key+| OPTIDX | EX | NIFTY,05-2-2023,15700,CE | 1 | CO | INTRADAY | 0 | 0 | 0 | STG1 |


19)  How to EXIT BO order:

Ø  Alert_Key+| OPTIDX | EX | NIFTY,05-2-2023,15700,CE | 1 | BO | INTRADAY |  0 | 0 | 0 | STG1 |


20)  How to place AMO order:

Ø  Alert_Key+| OPTIDX | BUY | NIFTY,05-2-2023,15700,CE | 1 | AMO | NRML | 2538 | 0 | 0 | STG1 |


Note- For BO/CO order exit, send EX for Exit.


FUTURE COMMIDITY–


21)  how to place INTRADAY order:

Ø  Alert_Key+| FUTCOM | BUY | ALUMINIUM,31-01,2023| 1 | BO | INTRADAY | 0 | 0 | 0 | STG1 |


22)  How to place DELIVERY order:

Ø  Alert_Key+| FUTCOM | SELL | ALUMINIUM,31-01,2023| 1 | LIMIT | DELIVERY | 214 | 0 | 0 | STG1 |


23)  How to place CO order:

Ø  Alert_Key+| FUTCOM | BUY | ALUMINIUM,31-01,2023| 1 | CO | INTRADAY | 234 | 564 | 0 | STG1 |


24)  How to place BO order:

Ø  Alert_Key+| FUTCOM | SELL | ALUMINIUM,31-01,2023| 1 | BO | INTRADAY | 111 | 123 | 2 | STG1 |


25)  How to EXIT CO order:

Ø  Alert_Key+| FUTCOM | EX | ALUMINIUM,22-12,2022| 1 | CO | INTRADAY | 0 | 0 | 0 | STG1 |


26)  How to EXIT BO order:

Ø  Alert_Key+| FUTCOM | EX | ALUMINIUM,22-12,2022| 1 | BO | INTRADAY | 0 | 0 | 0 | STG1 |


OPTION COMMIDITY–


27)  how to place INTRADAY order:

Ø  Alert_Key+| OPTCOM | BUY | COPPER,17-02-2023,620,CE | 1 | MARKET | INTRADAY | 1 | 0 | 0 | STG1 |


28)  How to place DELIVERY order:

Ø  Alert_Key+| OPTCOM | SELL | COPPER,17-02-2023,620,CE | 1 | LIMIT | DELIVERY | 95.20 | 0 | 0 | STG1 |

 

29)  How to place CO order:

Ø  Alert_Key+| OPTCOM | BUY | COPPER,17-02-2023,620,CE | 1 | CO | INTRADAY | 95 | 95  | 0 | STG1 |

 

30)  How to place BO order:

Ø  Alert_Key+| OPTCOM | SELL | COPPER,17-02-2023,620,CE | 1 | BO | INTRADAY | 95.40 | 95.40 | 2 | STG1 |


31)  How to EXIT CO order:

Ø  Alert_Key+| OPTCOM | EX | COPPER,17-02-2023,620,CE | 1 | CO | INTRADAY | 0 | 0 | 0 | STG1 |


32)  How to EXIT BO order:

Ø  Alert_Key+| OPTCOM | EX | COPPER,17-02-2023,620,CE | 1 | BO | INTRADAY | 0 | 0 | 0 | STG1 |