@admin Please suggest on how to get past this error?
Posts made by pavanimitnala
-
RE: gttRuleList API returns null due to timeout error
-
gttRuleList API returns null due to timeout error
Observing Timeout for rulelist since couple of days. It was working fine until last week.
The same rulelist is working of other client IDs that I have, only for a specific client id I am seeing this issue. Can you please help on this ASAP?Code Snippet
public JSONArray ruleList(SmartConnect smartConnect) throws SmartAPIException, IOException { List<String> status = new ArrayList<String>() { { add("FORALL"); } }; Integer page = 1; Integer count = 1000; JSONArray ruleList = new JSONArray(); ruleList = smartConnect.gttRuleList(status, page, count); System.out.println("\nruleList - "+ ruleList); return ruleList; }
The print gives null value and below is the error in the logs
Error in POST request. Request URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/gtt/v1/ruleList, Request Headers: Content-Type: application/json
, Request Body: {"count":1000,"page":1,"status":["FORALL"]},Response : timeout
2025-08-28 15:28:55,894 ERROR com.angelbroking.smartapi.SmartConnect [main] timeout
2025-08-28 15:28:55,901 DEBUG com.smart.util.SheetsQuickstart [main] -
rulelist timeout error
Observing Timeout for rulelist since couple of days. It was working fine until last week.
The same rulelist is working of other logins, only my specific login I am seeing this issue. Can you please help on this ASAP., Request Body: {"count":1000,"page":1,"status":["FORALL"]},Response : timeout
2025-08-28 15:28:55,894 ERROR com.angelbroking.smartapi.SmartConnect [main] timeout
2025-08-28 15:28:55,901 DEBUG com.smart.util.SheetsQuickstart [main] -
fetch banknifty index data
trading symbol and symboltoken of banknifty-index??????
-
automatically placing duplicate order
when i place order to buy stock one duplicate order is automatically executed
dont know why????and also sometimes order is placed automatically even when condition is not satisfied.why?????
-
how to get ltp data of two instrument at single call
i want to get nifty fut and banknifty fut ltp data at single call so that i can make my algo more efficient.
-
RE: Order placement issue Internal server 500 issue
same error i am also facing
-
internal server error
<!doctype html><html lang="en"><head><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1></body></html>
when i copied n pasted get ltp data syntex from smartapi doc the this error is showing
am i bad coder or some internal issue is going on angel broking smartapi server?
-
RE: error occured
@panda1234
res = conn.getresponse()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1347, in getresponse
response.begin()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 307, in begin
version, status, reason = self._read_status()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 276, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response -
error occured
http.client.RemoteDisconnected: Remote end closed connection without response
this error is showing when i run the program -
RE: insert variable in payload
@admin it shows one error:
TypeError: can't concat str to bytes -
insert variable in payload
price=14900
payload = "{\n"exchange": "NFO",\n"triggerprice": "price",\n"tradingsymbol": "NIFTY25FEB21FUT",\n"quantity": 4,\n "symboltoken": "60530",\n "duration": "DAY",\n"disclosedquantity": 0,\n"transactiontype": "BUY",\n"ordertype": "STOPLOSS_MARKET",\n"variety": "STOPLOSS",\n"producttype": "CARRYFORWARD"\n}"how to put variable "price" inside "payload parameter"
-
how to fetch nifty future data (payload)
what param to give in payload to get nifty future data as output
-
RE: where to find symbol token of stocks
@rajanprabu thank you for helping me
can you plz tell me how to fetch nifty future data (payload) -
where to find symbol token of stocks
wher can i found symbol name with symbol token ?
-
{"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}
how to solve this invalid token problem