Snapi.in Automated Trading


Snapi.in is cloud based trading system.

  1. Your Trading Strategy Produces Signals from tradingview.com's server .
    This consists of indicators on their charts that trigger alerts at key moments, like Buy, Take Profit, etc. Snapi.in do not provide or suggest any trading strategies or ideas to snapi.in users.
  2. Send Alerts to "http://snapi.in/alert.php" (snapi.in server) using tradingview webhook..
    The alerts from TradingView are sent to snapi.in Learn how to do this...
  3. Orders executed on Exchange.
    Special commands in the alert message are seen by the snapi.in ,and the trades are automatically executed even user is not connected to internet or online on snapi.in system.

Tradingview PineScript/ Algorithm ideas


https://in.tradingview.com/u/Nitin74781/#published-scripts

Above ideas are for educational purpose only. We do not recommend or suggest any strategy for trading and investing through snapi.in. We do not recieve any revenue from Tradingview.com


Alert Message format : yoursecretykey,symbol,action,price,qty

                                        
Serial No Content Reason, What it is for?
1 secretkey
(Mandatory)
Your secret key is genrated & provided by snapi.in to each user.Do no disclose your secret key to any one.(User do not need to genrate or change secret key evereaday or every login, unless user want to change.)
2 Symbol
(Mandatory)
Symbol to trade. This symbol should be saved in symbol settings table of user,who want this symbol to trade. e.g. NSE:SBIN-EQ,NSE:NIFTY20JUNFUT,BSE:SBIN-A
3 action
(Mandatory)
"LE" or "buy" : To open fresh long positions. Recently strategy alerts are introduced in tradingview.(placeholder{{strategy.order.action}} should returns "buy" for long conditions to snapi.in.)
"SE" or "sell" : To open fresh short positions. Recently strategy alerts are introduced in tradingview.(placeholder{{strategy.order.action}} should return "sell" for short conditions to snapi.in.)

"LX" & "SX" : Coming soon ....................................
4 price
(Optional)
price will utilized to place orders if saved setting is limit order for particular symbol.(placeholder {{close}} from tradingview will return current price for symbol to snapi.in)
5 Qty
(Optional)
If reccieved any quantity different than qty saved in symbol setting table, quantity recieved from tradingview signal will override quantity saved in symbol settings.
6 ;
(optional)
If user want to trigger multple orders using single tradingview alert ";" is used.
singal order : yoursecretykey,symbol,action,price,qty
multiple orders : yoursecretykey,symbol,action,price,qty;yoursecretykey,symbol,action,price,qty
multiple orders : yoursecretykey,symbol,action,price,qty;yoursecretykey,symbol,action,price,qty;yoursecretykey,symbol,action,price,qty




Order execution with examples.



Webhook URL : http://snapi.in/alert.php
Tradingview Alert Format : secretkey,symbol,action,price,qty
Order shall not execute if user changes serial numbers of each content or item in tradingview alert.
Note: Do not use new line(enter/return) or spaces between signal.
Constant Value : secret key , which is generated in snapi.in different for each user.
User do not need to genrate or change secret key evereday or every login, in snapi or tradingview alert, unless user want to change.

Market Order


Snapi Side:



e.g.Secret key = a9db0a78958edd3b32092f25baf1d
Alert Data from trading view placeholder Result or Order
a9db0a78958edd3b32092f25baf1d,NSE:TATASTEEL-EQ,LE Long NSE:TATASTEEL-EQ Market Price QTY 1
a9db0a78958edd3b32092f25baf1d,NSE:NIFTY20JUNFUT,SE,0,0 Short NSE:NIFTY20JUNFUT Market Price QTY 75
a9db0a78958edd3b32092f25baf1d,NSE:NIFTY20JUNFUT,SE,0,150 Short NSE:NIFTY20JUNFUT Market Price QTY 150
Note: Qty from tradingview will override qty from symbol setting.
a9db0a78958edd3b32092f25baf1d,NSE:TATASTEEL-EQ,{{strategy.order.action}},0,{{strategy.order.contracts}} Long or Short(action as per your strategy alert.)
NSE:TATASTEEL-EQ Market Price
QTY (as per your strategy alert)
a9db0a78958edd3b32092f25baf1d,NSE:TATASTEEL-EQ,{{strategy.order.action}} Long or Short(action as per your strategy alert.)
NSE:TATASTEEL-EQ Market Price QTY 1
a9db0a78958edd3b32092f25baf1d,NSE:NIFTY20JUNFUT,{{strategy.order.action}},0,75 Long or Short(action as per your strategy alert.)
NSE:NIFTY20JUNFUT QTY 75 Market Price

Limit Order


Snapi Side:



e.g.Secret key = a9db0a78958edd3b32092f25baf1d
Alert Data from trading view placeholder Result or Order
a9db0a78958edd3b32092f25baf1d,NSE:TATASTEEL-EQ,LE,150 Long NSE:TATASTEEL-EQ Limit price 150 QTY 1
a9db0a78958edd3b32092f25baf1d,NSE:NIFTY20JUNFUT,SE,9500,225 Short NSE:NIFTY20JUNFUT Limit Price 9500 QTY 225
a9db0a78958edd3b32092f25baf1d,NSE:TATASTEEL-EQ,SE,{{close}} Short NSE:TATASTEEL-EQ Limit Price (current price from tradingview) QTY 1
a9db0a78958edd3b32092f25baf1d,NSE:TATASTEEL-EQ,{{strategy.order.action}},{{close}},{{strategy.order.contracts}} Long or Short(action as per your strategy alert.) NSE:TATASTEEL-EQ
QTY (as per your strategy alert) Limit Price (current price from tradingview)

Stop Loss Limit SL-M


Snapi Side:



e.g.Secret key = a9db0a78958edd3b32092f25baf1d
Alert Data from trading view placeholder Result or Order
a9db0a78958edd3b32092f25baf1d,NSE:TATASTEEL-EQ,LE,375 Long NSE:TATASTEEL-EQ QTY 1 Trigger price 375 SL-M
a9db0a78958edd3b32092f25baf1d,NSE:TATASTEEL-EQ,SE,200,50 Short NSE:TATASTEEL-EQ QTY 50 Trigger Price 200 SL-M
a9db0a78958edd3b32092f25baf1d,NSE:TATASTEEL-EQ,SE,{{close}},150 Short NSE:TATASTEEL-EQ QTY 150 Trigger Price (current price from tradingview) SL-M
a9db0a78958edd3b32092f25baf1d,NSE:TATASTEEL-EQ,{{strategy.order.action}},{{close}},{{strategy.order.contracts}} Long or Short(action as per your strategy alert.)
Trigger Price (current price from tradingview) SL-MNSE:TATASTEEL-EQ
QTY (as per your strategy alert)

Cover Order - CO

Order will not execute if CO & BO are stopped by your broker.
Snapi Side:



e.g.Secret key = a9db0a78958edd3b32092f25baf1d


Note : Nifty future do not trade on tradingview. Base nifty index value will be calculated for stoploss price in cover order.
Order will be triggered as market cover order.
Alert Data from trading view placeholder Result or Order
a9db0a78958edd3b32092f25baf1d287,NSE:SBIN-EQ,LE,190,250 Long NSE:SBIN-EQ QTY 1 Limit Price 190 stoploss 170 QTY 250
a9db0a78958edd3b32092f25baf1d287,NSE:SBIN-EQ,LE,190 Long NSE:SBIN-EQ Limit price 190
stoploss 170 QTY 1
a9db0a78958edd3b32092f25baf1d287,NSE:SBIN-EQ,LE,{{close}} Long NSE:SBIN-EQ Limit Price (current price from tradingview)
stoploss (current price from tradingview - 20) QTY 1
a9db0a78958edd3b32092f25baf1d,NSE:NIFTY20JUNFUT,SE,{{close}},150 Short NSE:NIFTY20JUNFUT Market Price
stoploss order price(current price from tradingview + 30) QTY 150
a9db0a78958edd3b32092f25baf1d,NSE:NIFTY20JUNFUT,{{strategy.order.action}},{{close}},150 t(action as per your strategy alert
NSE:NIFTY20JUNFUT Market Price
stoploss order price(current price from tradingview + or - as per action 30) QTY 150

Bracket Order

Order will not execute if CO & BO are stopped by your broker.
Snapi Side:



e.g.Secret key = a9db0a78958edd3b32092f25baf1d


Note : Nifty/BankNifty future do not trade on tradingview. Base nifty index value will be calculated for stoploss price in cover order.
Order will be triggered as market cover order.
Alert Data from trading view placeholder Result or Order
a9db0a78958edd3b32092f25baf1d287,NSE:SBIN-EQ,LE,190,250 Long NSE:SBIN-EQ QTY 1 Limit Price 190 stoploss 170 takeprofit 210 QTY 250
a9db0a78958edd3b32092f25baf1d287,NSE:SBIN-EQ,LE,190 Long NSE:SBIN-EQ Limit Price 190
stoploss 170 takeprofit 210 QTY 1
a9db0a78958edd3b32092f25baf1d287,NSE:SBIN-EQ,LE,{{close}} Long NSE:TATASTEEL-EQ Limit Price (current price from tradingview)
stoploss (current price from tradingview - 20)
takeprofit (current price from tradingview + 20) QTY 1
a9db0a78958edd3b32092f25baf1d,NSE:NIFTY20JUNFUT,SE,{{close}},150 Short NSE:NIFTY20JUNFUT Market Price
stoploss order price(current price from tradingview + 30)
takeprofit stoploss order price(current price from tradingview - 30) QTY 150
a9db0a78958edd3b32092f25baf1d,NSE:NIFTY20JUNFUT,{{strategy.order.action}},{{close}},150 action as per your strategy alert
NSE:NIFTY20JUNFUT Market Price
stoploss (current price from tradingview + or - as per action 30)
takeprofit (current price from tradingview + or - as per action 30) QTY 150

Straddle Strategy or Multiple Orders


Snapi Side:



e.g.Secret key = a9db0a78958edd3b32092f25baf1d
Note: Do not use new line(enter/return) or spaces between signal.
Alert Data from trading view placeholder Result or Order
a9db0a78958edd3b32092f25baf1d,NSE:NIFTY206810000CE,
LE;a9db0a78958edd3b32092f25baf1d,NSE:NIFTY206189900PE,LE
Long NSE:NIFTY206810000CE Market Price QTY 75
Long NSE:NIFTY206189900PE Market price QTY 75

Butterfly Strategy or Multiple Orders


Snapi Side:



e.g.Secret key = a9db0a78958edd3b32092f25baf1d
Note: Do not use new line(enter/return) or spaces between signal.
Alert Data from trading view placeholder Result or Order
a9db0a78958edd3b32092f25baf1d,NSE:NIFTY206189900CE,LE;
a9db0a78958edd3b32092f25baf1d,NSE:NIFTY206189900PE,LE
SE;a9db0a78958edd3b32092f25baf1d,NSE:NIFTY206189800CE,SE
Long NSE:NIFTY206189900CE Market Price QTY 75
Long NSE:NIFTY206189900PE Market Price QTY 75
Short NSE:NIFTY206189800CE Market Price QTY 150

Broker Partner for api is Fyers. User should must have broker account with fyers.
Create API app in fyers api dashboard.
Create new app using URL "http://snapi.in"




Support

We are there for you 24*7.
Feel free to get in touch if you have any questions or suggestions.

Get Connected