Closed ijselwyn closed 6 months ago
I found a fix for the issue. Closing this ticket.
Dear Client,
Thanks for your interest in Breeze Api.
If you have any further issues, then kindly mail us at @.***
[E29CF836]
Thanks & Regards,
Amrit Mohanty,
API & Algo Products,
Derivatives, EPG
ICICIdirect
From: Joshua Selwyn @.> Sent: Wednesday, May 29, 2024 11:46 AM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: Subscribed @.***> Subject: Re: [Idirect-Tech/Breeze-Python-SDK] Unable to subscribe options feed (Issue #103)
CAUTION: This email originated from outside the organization! Do not click links, open attachments or reply, unless you recognize the sender's email address! Use 'Report suspicious Email' button in the toolbar to report Phishing mails. Beware!
I found a fix for the issue. Closing this ticket.
— Reply to this email directly, view it on GitHubhttps://github.com/Idirect-Tech/Breeze-Python-SDK/issues/103#issuecomment-2136606285, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TQZ43GELVNTD6QDL44DWLZEVXENAVCNFSM6AAAAABIOEW7PCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZWGYYDMMRYGU. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Print this mail only if absolutely necessary. Save Paper. Save Trees." "The information contained in this e-mail and any attachments to this message are intended for the exclusive use of the intended recipient and may contain proprietary, confidential or legally privileged information. If you are not the intended recipient, please note that you are not authorised to disseminate, distribute or copy this e-mail or any parts of it or act upon/rely on the contents of this e-mail in any manner. Please notify the sender immediately by e-mail and destroy all copies of this e-mail and any attachments. Please also note that ICICI Bank or its subsidiaries and associated companies, (collectively "ICICI Group"), are unable to exercise control or ensure the integrity of/over the contents of the information contained in e-mail transmissions and that any views expressed in this e-mail are not endorsed by/binding on the ICICI Group unless the sender does so expressly with due authority of ICICI Group. Before opening any attachments please check them for viruses and defects and please note that ICICI Group accepts no liability or responsibility for any damage caused by any virus that may be transmitted by this email. Any unauthorized use of this email or any attachment(s) may be treated as infringement of right(s) including right of privacy under the applicable laws of India including Information and Technology Act, 2000. Thank you for your cooperation. Regulatory Disclosures are available on https://www.icicisecurities.com (for institutional business) and www.icicidirect.com (for retail business).
tomorrow is expiry hence I'm trying to look for next expiry data, but it's giving lots of errors.
for e.g If i try subscribe with below details, it gets me this error. Stock: TCS Expiry: 27-June-2024 Strike: 3800 Right: Put Interval: 30minute
breeze.subscribe_feeds( File "/usr/local/lib/python3.10/dist-packages/breeze_connect/breeze_connect.py", line 358, in subscribe_feeds exchange_quotes_token, market_depth_token = self.get_stock_token_value(exchange_code=exchange_code, stock_code=stock_code, product_type=product_type, expiry_date=expiry_date, strike_price=strike_price, right=right, get_exchange_quotes=get_exchange_quotes, get_market_depth=get_market_depth) File "/usr/local/lib/python3.10/dist-packages/breeze_connect/breeze_connect.py", line 319, in get_stock_token_value exchange_quotes_token_value = exchange_code_name + "1!" + token_value TypeError: can only concatenate str (not "bool") to str