I think fix ho gaya hai (+10:38) working now
Thanks
I think fix ho gaya hai (+10:38) working now
Thanks

Yesterday, I was able to pull historical candle data for 15:30 without any issues. However, today it is throwing an error: AB1012 (Invalid product type).
The error message also points to a problem with the 'todate' field. What changed?
I'm pulling the file openAPIScriptMaster.json from a JavaScript page and processing the data on the client side. It was working last month, but it stopped working a few days ago. Could you provide the correct method to fetch a JSON file in the browser client?
A CORS error didn't appear when I called the JSON file from localhost, but now the file is not allowed even on the remote domain.
Cors Error in console

Naming convention documentation link : https://smartapi.angelbroking.com/topic/4042/bse-bfo-futures-and-options-now-accessible-through-smartapi/2
Weekly option Name:
23N03 denotes the year (23), month (N for November), and the date (03) of the expiry.
66400CE specifies the strike price followed by CE or PE.
Monthly Option name:
23OCT denotes the year (23) and the month (OCT) for monthly expiries.
66400CE specifies the strike price followed by CE or PE.
What would be the weekly option expiry for sensex Contract for expiry of "Friday 20 June 2025"
and "Friday 11 July 2025"
If we choose N for November for weekly option contract name so what would be june and july name convention :
IT would be confusing
For June : 25J20
For july : 25J11
or we should use Monthly name for jun and jul
For June : 25JUN20
For july : 25JUL11
API point : https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getOIData

Getting cors error for "getOIData" while same fetch api work for other smart api point.
Feature request
Can we get historical greek data like we get candle data.
It will be huge advantage to understand option greek in detail.
Dear Smart-API team,
Thanks for all your effort in providing this API service. Unfortunately, I am facing some difficulties regarding the "smart-order-websocket". I am trying to connect to the order status websocket in JavaScript using a WebSocket with a JWT token. My Smart-Stream WebSocket is already connected, but when I attempt to connect to the "smart-order-websocket", it throws an error.
I have tried several approaches to connect to the WebSocket using JavaScript, but all of them result in an error. Please guide me on the correct way to connect to the WebSocket with JavaScript.
Trial-Error method
new WebSocket("wss://tns.angelone.in/smart-order-update?Authorization=Bearer "+encodeURIComponent("JWT-Token-after-login-via-totp"));
new WebSocket("wss://tns.angelone.in/smart-order-update?Authorization=Bearer JWT-Token-after-login-via-totp");
new WebSocket("wss://tns.angelone.in/smart-order-update?Authorization=JWT-Token-after-login-via-totp");
new WebSocket("wss://tns.angelone.in/smart-order-updateJWT-Token-after-login-via-totp");
Is there any other way to connect "smart-order-websocket", or do I need to pass any extra parameters other than jwt-token?
Does this rule apply to Smart-API even though Smart-API only provides data and not a strategy?
Function listed in smartConnect.py working fine such as
"api.order.book":"/rest/secure/angelbroking/order/v1/getOrderBook",
"api.ltp.data": "/rest/secure/angelbroking/order/v1/getLtpData",
But whenever iam trying to call direct get/post request in my case following url :
"https://apiconnect.angelbroking.com/rest/secure/angelbroking/marketData/v1/optionGreek"
"https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/getOrderBook"
With python code it gives me a response error "Can't concat str to bytes"
Is something wrong with my python code for python request
Please find code and response error in image