trading symbol and symboltoken of banknifty-index??????
Posts made by panda1234
-
fetch banknifty index data
-
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