I am not getting my SGB holdings via API. Kindly help.
I tried following APIs https://apiconnect.angelone.in/rest/secure/angelbroking/portfolio/v1/getAllHolding
https://apiconnect.angelone.in/rest/secure/angelbroking/portfolio/v1/getHolding
Posts made by tsingh
-
I am not getting my SGB holdings via API
-
RE: cannot get my SGB Sovereign Gold Bonds info in GET /holding
I am also not getting my SGB holdings. Kindly help.
I also tried https://apiconnect.angelone.in/rest/secure/angelbroking/portfolio/v1/getAllHolding -
RE: Websocket
Consider the issue closed, issue was that I was passing incorrect token's list
-
RE: Websocket
@Moderator_1
I am using com.angelbroking.smartapi:smartapi-java:jar:2.2.3Also I am using SmartStreamTicker.
Kotlin code snippet :-val smartStreamTicker = SmartStreamTicker(clientId, feedtoken, smartStreamListener, delay, period) smartStreamTicker.connect() smartStreamTicker.subscribe(SmartStreamSubsMode.SNAP_QUOTE, tokens.toSet()) return smartStreamTicker
-
RE: not able to connect to wsfeeds.angelbroking.com:443
I am also facing this issue
Failed to connect to 'wsfeeds.angelbroking.com:443': Operation timed out -
WebSocket Streaming size and max connections
H Team
How many websocket connections can I open for WebSocket Streaming feed?
How many scribs can I subscribe per connection?Thanks
-
error code AB1004 | login
Re: AB1004
getting following error while logging in
"message": "Something Went Wrong, Please Try After Sometime",
"errorcode": "AB1004", -
cannot get my SGB Sovereign Gold Bonds info in GET /holding
Hi team
I cannot get SGB Sovereign Gold Bonds info in https://apiconnect.angelbroking.com/rest/secure/angelbroking/portfolio/v1/getHolding
Kindly suggest how to view gold bonds holding?API response
{ "status": true, "message": "SUCCESS", "errorcode": "", "data": [ ] }
my holdings screenshot -
CLIENT ID - T185904
-
RE: "YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007"
Please migrate - Client Id - T185904
-
CANNOT LOGIN - URGENT
I get the following error when logging using TOTP
{
status: false,
message: 'request validation error',
errorcode: 'AB1007',
data: null
}
Client Id - T185904Kindly help!!
-
RE: order feed not working
@administrators
@admin
waiting for your response.
Is this a known issue? -
RE: Websocket Call in Java
@laskshmi you need to read the response byte by byte as per this response contract in here - https://smartapi.angelbroking.com/docs/WebSocket2
Best ok luck !!
-
order feed not working
Hi team
I am trying to integrate order feed following this documentation - https://smartapi.angelbroking.com/docs/WebSocketOrderStatusI am getting following error when creating websocket connection
node.js code snippet let init = (jwt)=>{ let client = new (require("websocket").client)(); client.on('connectFailed', function(error) { console.error('web socket', error); }); let url = `wss://smartapisocket.angelbroking.com/websocket?jwttoken=${jwt}&clientcode=${CLIENT_ID}&apikey=${KEY}` client.connect(url) }
Following error is thrown immediately :-
web socket Error: socket hang up at connResetException (node:internal/errors:692:14) at TLSSocket.socketOnEnd (node:_http_client:478:23) at TLSSocket.emit (node:events:539:35) at endReadableNT (node:internal/streams/readable:1345:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { code: 'ECONNRESET' }
client id - T185904
-
order feed not working
Hi team
I am trying to integrate order feed following this documentation - https://smartapi.angelbroking.com/docs/WebSocketOrderStatusI am getting following error when creating websocket connection
node.js code snippet
let init = (jwt)=>{ let client = new (require("websocket").client)(); client.on('connectFailed', function(error) { console.error('web socket', error); }); let url = `wss://smartapisocket.angelbroking.com/websocket?jwttoken=${jwt}&clientcode=${CLIENT_ID}&apikey=${KEY}` client.connect(url) } init()
Following error is thrown immediately :-
web socket Error: socket hang up at connResetException (node:internal/errors:692:14) at TLSSocket.socketOnEnd (node:_http_client:478:23) at TLSSocket.emit (node:events:539:35) at endReadableNT (node:internal/streams/readable:1345:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { code: 'ECONNRESET' }
client id - T185904
-
RE: SECURITY THREAT
Please go through this article to find all the reasons why we should not pass sensitive information in query params
https://blog.httpwatch.com/2009/02/20/how-secure-are-query-strings-over-https/
-
is there any API to get order by order id?
is there any API to get order by order id?
could not find it here -
RE: Binary data from websocket 2.0
@vrkhyd
CLOSED.
got it.
need to step by step parse the bytes as mentioned it here
https://smartapi.angelbroking.com/docs/WebSocket2Too much of effort!!
Feedback - could have been a simpler contract -
SECURITY THREAT
the order feedback and market feeds websocket APIs are not secure
they are accepting jwt token and API-keys in request URL.This is highly vulnerable. Any middleware can read URL context path and query params as they are not encrypted.
Kindly upgrade the APIs for better security
https://smartapi.angelbroking.com/docs/WebSocketOrderStatusclientId - T185904