Connect V3 to V4 Migration Of API
V3 | V4 |
---|---|
Login{ "userId": "AA123", "password": "password", "TOTP": "1234698", "vendorCode": "AA123_API", "apiKey": "NVDewefds2343q2334" } |
{ "userId": "{{userID}}", "password": "{{Password}}",#Convert to SHA256 "TOTP": "{{TOTP}}", "vendorCode": "{{vendorCode}}", "apiKey": "{{apiKey}}" } |
Get Quotes{ "userId": "AA123", "jKey": "e6a211bea63adff386578988e1cf4a9 521c4744e6a39ad63174c8797e2af8c38", "exchange": "NSE", "token": "26000" } |
{ "userId": "{{userID}}", "exchange": "BFO", "tradingSymbol": "ZEEL24JAN285PE", "jKey": "{{jKey}}" } |
Get Quotes LTP{ "userId": "AA123", "jKey": "e6a211bea63adff386578988e1cf4a9521c4 744e6a39ad63174c8797e2af8c38", "exchange": "NSE", "token": "26000" } |
{ "userId": "{{userID}}", "exchange": "BFO", "tradingSymbol": "ZEEL24JAN285PE", "jKey": "{{jKey}}" } |
Get Multi Quotes LTP{ "userId": "AA123", "jKey": "e6a211bea63adff386578988e1cf4a952 1c4744e6a39ad63174c8797e2af8c38", "data": [ { "exchange": "NSE", "token": "26000"}, { "exchange": "NFO", "token": "55101"} ] } |
{ "userId": "{{userID}}", "jKey": "{{jKey}}", "data": [ { "exchange": "NSE", "tradingSymbol": "Nifty 50" }, { "exchange": "NSE", "tradingSymbol": "Nifty Bank" } ] } |
Time Price Series Day Interval{ "userId": "AA123", "exchange": "NSE", "token": "RELIANCE-EQ", "startTime": "17/01/2023 15:29:00", "endTime": "21/03/2023 09:20:00", "interval": "DAY", "jKey": "e6a211bea63adff386578988e1cf4 a9521c4744e6a39ad63174c8797e2af8c38" } |
{ "userId": "{{userID}}", "exchange": "NSE", "tradingSymbol": "Nifty 50", "startTime": "13/02/2023 09:45:45", "endTime": "13/12/2023 13:56:34", "interval": "DAY", "jKey": "{{jKey}}" } |
Time Price Series Regular Interval{"userId": "AA123", "exchange": "NSE", "token": "26000", "startTime": "17/02/2023 15:29:00", "endTime": "20/02/2023 09:20:00", "interval": "1", "jKey": "e6a211bea63adff386578988e1cf4a 9521c4744e6a39ad63174c8797e2af8c38" } |
{ "userId": "{{userID}}", "exchange": "NSE", "tradingSymbol": "Nifty 50", "startTime": "13/02/2023 09:45:45", "endTime": "13/12/2023 13:56:34", "interval": "30", "jKey": "{{jKey}}" } |
Bear Put Spread{ "symbol": "NIFTY", "putBuyStrikePrice": "18000", "putSellStrikePrice": "17800", "expiry": "23FEB23", "product": "C", "quantity": "10", "remarks": "Test1", "jKey": "e6a211bea63adff386578988e1cf4a9 521c4744e6a39ad63174c8797e2af8c38", "userId": "AA123" } |
{ "jKey": "{{jKey}}", "userId": "{{userID}}", "putBuyStrikePrice": "20000", "putSellStrikePrice": "19000", "expiry": "", "symbol"="NIFTY", "product": "", "quantity": "", "exchange": "", "priceType": "", "retention": "", "remarks": "" } |
Bull Call Spread{ "symbol": "NIFTY", "callBuyStrikePrice": "18000", "callSellStrikePrice": "17800", "expiry": "23FEB23", "product": "C", "quantity": "20", "remarks": "Test1", "jKey": "e6a211bea63adff386578988e1cf 4a9521c4744e6a39ad63174c8797e2af8c38", "userId": "AA123" } |
{ "jKey": "{{jKey}}", "userId": "{{userId}}", "callBuyStrikePrice": "20000", "callSellStrikePrice": "19000", "symbol"="NIFTY", "expiry": "", "product": "", "quantity": "", "exchange": "", "priceType": "", "retention": "", "remarks": "" } |
Long Strangle{ "symbol": "NIFTY", "callStrikePrice": "18000", "putStrikePrice": "17800", "expiry": "23FEB23", "product": "C", "quantity": "10", "remarks": "Test1", "jKey": "e6a211bea63adff386578988e1cf4 a9521c4744e6a39ad63174c8797e2af8c38", "userId": "AA123" } |
{ "jKey": "{{jKey}}", "userId": "{{userID}}", "symbol": "", "callStrikePrice": "", "putStrikePrice": "", "strikePrice": "", "expiry": "", "product": "", "quantity": "", "exchange": "", "priceType": "", "retention": "", "remarks": "" } |
Long Straddle{ "symbol": "NIFTY", "strikePrice": "18000", "expiry": "23FEB23", "product": "C", "quantity": "20", "remarks": "Test1", "jKey": "e6a211bea63adff386578988e1cf4a 9521c4744e6a39ad63174c8797e2af8c38", "userId": "AA123" } |
{ "jKey": "{{jKey}}", "userId": "{{userID}}", "symbol": "", "strikePrice": "", "expiry": "", "product": "", "quantity": "", "exchange": "", "priceType": "", "retention": "", "remarks": "" } |
Short Straddle{ "symbol": "NIFTY", "strikePrice": "18000", "expiry": "23FEB23", "product": "C", "quantity": "20", "remarks": "Test1", "jKey": "e6a211bea63adff386578988e1cf4a95 21c4744e6a39ad63174c8797e2af8c38", "userId": "AA123", "hedge": "false", "hedgeValue":"300" } |
{ "jKey": "{{jKey}}", "userId": "{{userID}}", "symbol": "", "strikePrice": "", "expiry": "", "product": "", "quantity": "", "exchange": "", "priceType": "", "retention": "", "hedge": false, "hedgeValue": "", "remarks": "" } |
Short Strangle{ "symbol": "NIFTY", "callStrikePrice": "18000", "putStrikePrice": "17800", "expiry": "23FEB23", "product": "C", "quantity": "20", "remarks": "Test1", "jKey": "e6a211bea63adff386578988e1cf4a 9521c4744e6a39ad63174c8797e2af8c38", "userId": "AA123", "hedge":"True" , "hedgeValue":"300" } |
{ "jKey": "{{jKey}}", "userId": "{{userID}}", "callStrikePrice": "", "putStrikePrice": "", "symbol": "", "expiry": "", "product": "", "quantity": "", "exchange": "", "priceType": "", "retention": "", "hedge": false, "hedgeValue": "", "remarks": "" } |