Getting below response
{
"message": "Request Timeout",
"status": 500
}
F.E getRMS, getPosition, getOrderBook, etc.
Getting below response
{
"message": "Request Timeout",
"status": 500
}
F.E getRMS, getPosition, getOrderBook, etc.
Request:
{
exchange: 'NSE',
symboltoken: "16678",
interval: "FIFTEEN_MINUTE",
fromdate: "2021-09-01 10:45",
todate: "2021-09-01 11:15"
}
Response: null
This happens for 29 stocks in nifty50
16672, 12740, 12458, 12492, 12220, 12713, 12431, 17966, 12429, 12567, 12821, 16678, 20377, 12825, 12752, 12299, 12857, 12275, 12436, 12524, 12895, 14980, 12430, 12820, 470, 12817, 12641, 12443, 12259
Since past 2 days get candle data was unstable (Working for some stocks and some not working), I'm facing lots of issues in get candle & web socket streaming since 30-08-2021, Something screwed up on your end.
Kindly spot those glitch ASPS, Thanks in advance
@admin
Web socket feed was highly unstable since yesterday (30-08-2021)
My service listens to Nifty50 stocks realtime data, Which was works fine till last Friday (27-08-2021).
Some of the changes I noticed:
I'm getting nc (change), v (volume), ap (avg price) for some stocks and some didn't.
f.e
{
ap:'783.09'
bp:'784.90'
bq:'374'
cng:'00.95'
c:'784.05'
bs:'252'
lo:'778.40'
ltp:'785.00'
ltq:'1'
ltt:'31/08/2021 12:19:18'
name:'sf'
nc:'00.1212'
sp:'785.00'
tbq:'455315'
tk:'5900'
to:'4018939258.95'
tsq:'702678'
v:'5132155'
}
{
e:'nse_cm'
ltp:'1183.45'
ltq:'9'
ltt:'NA'
name:'sf'
tk:'21808'
}
Out of 50 only 18 stocks getting full data, remaining not
@admin
Unable to get candle data for nifty & banknifty
Request Sample:
{
"exchange": "NSE",
"symboltoken": "26000",
"interval": "FIFTEEN_MINUTE",
"fromdate": "2021-08-27 09:15",
"todate": "2021-08-27 09:45"
}
{
"exchange": "NSE",
"symboltoken": "26009",
"interval": "FIFTEEN_MINUTE",
"fromdate": "2021-08-27 09:15",
"todate": "2021-08-27 09:45"
}
Both returns empty, Could you please suggest me the right way to do it
@admin Could you please help me with this? To exit position brought via robo order
@admin I tested above use case
@admin
Lets say I want to exit a position manually which is brought by robo order (target & stoploss order are still pending).
I've placed an ROBO order
Request:
{
"variety": "ROBO",
"exchange": "NSE",
"ordertype": "LIMIT",
"producttype": "INTRADAY",
"symboltoken": "1363",
"tradingsymbol": "HINDALCO-EQ",
"transactiontype": "BUY",
"price": 457.85,
"squareoff": 2.29,
"stoploss": 2.29,
"quantity": 1,
"duration": "DAY"
}
As per my request the target & stoploss was 2.29 Rs. but the actual order has 0.05 Rs. as target, I'm not sure what went wrong, Attaching order_id for your reference
Parent Order: 210729000712475
Child Orders: 210729000715730, 210729000715731
In my todays (27/07/2021) log, I noticed getCandleData method returns some weird errors more than 50 times.
Error 1:
Sample Request:
{"exchange":"NSE","symboltoken":"694","interval":"FIFTEEN_MINUTE","fromdate":"2021-07-27 09:46","todate":"2021-07-27 10:15"}
Response:
{"status":500,"message":"Internal Server Error"}
Error 2:
Sample Request:
{"exchange":"NSE","symboltoken":"20374","interval":"FIFTEEN_MINUTE","fromdate":"2021-07-27 09:50","todate":"2021-07-27 10:19"}
Response:
TypeError: Cannot read property 'status' of undefined
Request:
{"exchange":"NSE","symboltoken":"20374","interval":"FIFTEEN_MINUTE","fromdate":"2021-07-19 11:01","todate":"2021-07-19 11:45"}
Response:
{"status":403,"message":""}
This is not happening all the time, But occurs 20 - 30 times randomly in a day.
@admin Not getting ticks for any nifty 50 stocks, I'm also using NodeJS sdk
@admin I'm also facing this issue not getting open & high values in feed, Can you help me on this?
Randomly getting "Socket closed" in nodejs SDK
Is there a connection close callback event?
Looking for something like
web_socket.on('close', ()=>{
//reconnection logic
});