AlgoNinja API which helps traders/investors to build, monitor, execute their trading requirement automatically.
Need to set your Client ID, API Key and API Secret Key.
After all the settings, Click the login button.
Enter your Tradejini Client ID and Click Submit. If you don't have an account, Click Here
Verify the image and enter your password and click Submit button.
Enter the answers and click Submit button.
Once it logged in successfully you get a page like this with the Marketwatch.
Click the button 'START ALGO' to make the algo active in the application.
Click the Watchlist on the top to add symbols to your Watchlist. Type in search your symbols and add it to your Watchlist.
Click the FUNDS on the top to check the Funds and Margin details of your Account.
Click the POSITONS on the top to check the Positions in your Account.
Click the ALGOBOOK on the top to check the Orders Placed using AlgoNinja.
Click the ORDERBOOK on the main screen to check the Orders Placed in your Account.
Click the HOLDINGS on the main screen the Holdings you are having in your account.
Click the TRADEBOOK on the main screen shows the Trades done in your account.
Click the LOGOUT on the main screen to logout from the main screem.
PlaceOrder( user_apikey, api_secret, s_prdt_ali, Tsym, exch, startery, Ttranstype, Ret, prctyp, qty, discqty, MktPro, Price, TrigPrice, Pcode, AMO)
Parameter | Type | Value |
---|---|---|
user_apikey | String | Tradejini API Key |
api_secret | String | Tradejini API Secret Key |
PlaceBOOrder( user_apikey, api_secret, s_prdt_ali, Tsym, TokenNo, exch, startery, Ttranstype, Ret, qty, discqty, Price, SqrOffvalue, SLvalue, trailingSL, tSLticks)
Type | Value |
---|---|
String | Order Id |
PlaceCOOrder( user_apikey, api_secret, s_prdt_ali, Tsym, exch, startery, Ttranstype, Ret, prctyp, qty, discqty, MktPro, Price, TrigPrice, Pcode, AMO)
Type | Value |
---|---|
String | Order Id |
SymbolMTM( user_apikey, api_secret, exch, symbol)
Type | Value |
---|---|
Double | Symbol MTM |
TotalMTM( user_apikey, api_secret)
Type | Value |
---|---|
Double | Total MTM |
OpenPosition( user_apikey, api_secret, exch, symbol)
Type | Value |
---|---|
Int | Open Position |
AlgoStatus()
Type | Value |
---|---|
String | Algo Status |
FetchSymbolToken(Symbol)
Type | Value |
---|---|
String | Symbol Token |
GetLTP( user_apikey, api_secret, Exchange, SymbolToken)
Type | Value |
---|---|
Double | LTP |
GetPrevClose( user_apikey, api_secret, Exchange, SymbolToken)
Type | Value |
---|---|
Double | Close Price |
GetHigh( user_apikey, api_secret, Exchange, SymbolToken)
Type | Value |
---|---|
Double | High Price |
GetLow( user_apikey, api_secret, Exchange, SymbolToken)
Type | Value |
---|---|
Double | Low Price |
GetOpenPrice( user_apikey, api_secret, Exchange, SymbolToken)
Type | Value |
---|---|
Double | Open Price |
GetOpenPrice( user_apikey, api_secret, Exchange, SymbolToken)
Type | Value |
---|---|
Double | Open Price |
BestSellPrice( user_apikey, api_secret, Exchange, SymbolToken)
Type | Value |
---|---|
Double | Best Sell Price |
BestBuyPrice( user_apikey, api_secret, Exchange, SymbolToken)
Type | Value |
---|---|
Double | Best Buy Price |
OrderStatus( user_apikey, api_secret, Exchange, Symbol)
Type | Value |
---|---|
String | Order Status |
NestOrderNumber( user_apikey, api_secret, Exchange, Symbol)
Type | Value |
---|---|
String | Order Number |
SyomOrderId( user_apikey, api_secret, Exchange, Symbol)
Type | Value |
---|---|
String | Syom OrderId |
SquareOffPosition( user_apikey, api_secret, Exchangeseg, Symbol, Pcode, Netqty)
Type | Value |
---|---|
String | JSON Data |
ExitBOOrder( user_apikey, api_secret, NestOrderNumber, SyomOrderId, status)
Type | Value |
---|---|
String | JSON Data |
ExitCOOrder( user_apikey, api_secret, NestOrd)
Type | Value |
---|---|
String | JSON Data |
CancelOrder( user_apikey, api_secret, Symbol, Exchange, NestOrd)
Type | Value |
---|---|
String | JSON Data |
ModifyOrder( user_apikey, api_secret, Tsym, Exchangeseg, Transtype, Price, Prctype, Qty, Pcode, Dscqty, Trgprc, Validity, Nstordno)
Type | Value |
---|---|
String | JSON Data |
PlaceATMOrder( user_apikey, api_secret, _Symbol, _Exch, _startery, s_prdt_ali, _transaction_type, _qty, Pcode, Expiry, OptionType, strikeerval, _SymbolToken="", prctyp = "MKT", _price = 0)
Type | Value |
---|---|
String | Contract Name |
PlaceOTMOrder ( user_apikey, api_secret, _Symbol, _Exch, _startery, s_prdt_ali, _transaction_type, _qty, Pcode, Expiry, OptionType, strikeerval, _SymbolToken="", prctyp = "MKT", _price = 0)
Type | Value |
---|---|
String | Contract Name |
PlaceITMOrder( user_apikey, api_secret, Symbol, Exch, startegy, s_prdt_ali, transaction_type, qty, Pcode, Expiry, OptionType, strikeerval, step, SymbolToken = "", prctyp = "MKT", price = 0)
Type | Value |
---|---|
String | Contract Name |