followed the given solutions in this link(https://smartapi.angelbroking.com/topic/2570/websocket-2-0/9?_=1667760289934), but these solutions are not working 100%. alot of times the tick is not fetching the data
on open
Ticks: {'subscription_mode': 1, 'exchange_type': 2, 'token': '41747', 'sequence_number': 1291696, 'exchange_timestamp': 1672890773000, 'last_traded_price': 30120, 'subscription_mode_val': 'LTP'}
on message
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
Ticks: {'subscription_mode': 1, 'exchange_type': 2, 'token': '41747', 'sequence_number': 2638722, 'exchange_timestamp': 1672891349000, 'last_traded_price': 21990, 'subscription_mode_val': 'LTP'}
on message
GannuRamya
@GannuRamya
Best posts made by GannuRamya
-
WebSocket V2 In on pong function==> b'\x00'
-
RE: Instrument link is not working
@admin and @Karthikeyan does this issue addressed. I'm unable to get the data from WebSocket against StrikePrice
-
BankNifty September weekend expiry code is pointing to Thursday instead Wednesday
as per NSE September last week expiry code should be 'BANKNIFTY27SEP2345100PE' instead of this in Angelone doc it is showing as 'BANKNIFTY28SEP2345100PE'
Latest posts made by GannuRamya
-
RE: Getting: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7) while fetching historical data using the getCandleData() method
@Moderator_2 - I'm also facing similar issue.
added exception details in above thread. -
RE: Getting: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7) while fetching historical data using the getCandleData() method
HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Max retries exceeded with url: /rest/secure/angelbroking/order/v1/getOrderBook?%7B%7D (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f21d4a0e370>, 'Connection to apiconnect.angelbroking.com timed out. (connect timeout=7)'))
-
RE: Getting: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7) while fetching historical data using the getCandleData() method
HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Max retries exceeded with url: /rest/secure/angelbroking/order/v1/modifyOrder (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f21d4a0ef70>, 'Connection to apiconnect.angelbroking.com timed out. (connect timeout=7)'))
-
RE: Getting: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7) while fetching historical data using the getCandleData() method
HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7)
-
BankNifty September weekend expiry code is pointing to Thursday instead Wednesday
as per NSE September last week expiry code should be 'BANKNIFTY27SEP2345100PE' instead of this in Angelone doc it is showing as 'BANKNIFTY28SEP2345100PE'
-
Need 'Best Five Data' example in WS v2
hi @admin @karthick
can anyone help me, how to get 'Best Five Data' information for specific strike using WebSocket V2.0 -
RE: Unable to get LTP
@admin please look into this issue on priority
Couldn't parse the JSON response received from the server: b'<!doctype html><html lang="en"><head><title>HTTP Status 500 \xe2\x80\x93 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 \xe2\x80\x93 Internal Server Error</h1></body></html>'
-
Unable to get LTP
past 3days onwards when I tried to fetch LTP for banknifty with 0.1sec interval, then it is throwing an error like this
get LTP Api failed: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7)
earlier to that, it used to works as expected.
@admin @Ashok @karthick please help with solution -
RE: WebSocket V2 In on pong function==> b'\x00'
@admin - could you please look into this issue on priority