Open karanag opened 1 month ago
Dear Karan,
With every tick from WebSocket, does your code makes any API call?
[E29CF836]
Thanks & Regards,
Hiten Solanki,
Team Breeze API,
ICICI Securities
From: karanag @.> Sent: Friday, September 27, 2024 2:31 PM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: Subscribed @.***> Subject: [Idirect-Tech/Breeze-Python-SDK] Order confirmation API : Limit exceed: API call per day (Issue #144)
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!
Hi,
I am placing the order and checking for order confirmation. The order gets placed as can be seen by response below, but on order confirmation I am getting error message "'Limit exceed: API call per day".
I am well below the 5000 api call limit, I am somewhere around 170 calls as per my estimate. And if the api limit has expired, even the buy order should not go through?
Can you please advise what could be wrong here?
Thanks, Karan
Buy1 order response:
{'Success': {'order_id': '*****4159', 'message': 'Successfully Placed the order', 'user_remark': ''}, 'Status': 200, 'Error': None}
Buy1 Checking order status for Order ID: *****14159 Buy1 Order confirmation response: {'Status': 5, 'Error': 'Limit exceed: API call per day: '} Error in confirmation list index out of range
— Reply to this email directly, view it on GitHubhttps://github.com/Idirect-Tech/Breeze-Python-SDK/issues/144, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TQZ463XXVCQ6SWMYVXXULZYUNE5AVCNFSM6AAAAABO6W4RQKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2TEMZZHAYDMMI. 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).
No, I am not making any calls at this point. I am subscribing to Nifty 1second, Nifty 1minute, a few call and put options in 1second interval and order notifications.
The only api calls I make are :
call to place a buy order call for order confirmation (while loop with sleep of 1 second till confirmation recd, limited to maximum of 10 calls)
call to place sell order call for sell order confirmation (while loop with sleep of 1 second till confirmation recd, limited to maximum of 10 calls)
Dear Karan,
Which API you are using for order confirmation?
[E29CF836]
Thanks & Regards,
Hiten Solanki,
Team Breeze API,
ICICI Securities
From: karanag @.> Sent: Friday, September 27, 2024 5:36 PM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: BREEZEAPI @.>; Comment @.> Subject: Re: [Idirect-Tech/Breeze-Python-SDK] Order confirmation API : Limit exceed: API call per day (Issue #144)
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!
No, I am not making any calls at this point. I am subscribing to Nifty 1second, Nifty 1minute, a few call and put options in 1second interval and order notifications.
The only api calls I make are :
To place a buy order order confirmation (while loop with sleep of 1 second till confirmation recd, limited to maximum of 10 calls)
sell order sell order confirmation (while loop with sleep of 1 second till confirmation recd, limited to maximum of 10 calls)
— Reply to this email directly, view it on GitHubhttps://github.com/Idirect-Tech/Breeze-Python-SDK/issues/144#issuecomment-2379120814, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TQZ44LLHTTDAZ2PD23MNLZYVC5DAVCNFSM6AAAAABO6W4RQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZZGEZDAOBRGQ. You are receiving this because you commented.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).
Hi I am using breeze.get_order_detail
Dear Karan,
Have you faced API rate limit issue today?
[E29CF836]
Thanks & Regards,
Hiten Solanki,
Team Breeze API,
ICICI Securities
From: karanag @.> Sent: Friday, September 27, 2024 6:07 PM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: BREEZEAPI @.>; Comment @.> Subject: Re: [Idirect-Tech/Breeze-Python-SDK] Order confirmation API : Limit exceed: API call per day (Issue #144)
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!
Hi I am using breeze.get_order_detail
— Reply to this email directly, view it on GitHubhttps://github.com/Idirect-Tech/Breeze-Python-SDK/issues/144#issuecomment-2379175133, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TQZ47C3KIE45OAWIICCHDZYVGPTAVCNFSM6AAAAABO6W4RQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZZGE3TKMJTGM. You are receiving this because you commented.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).
Hi,
No, I only faced it on Friday and it was resolved exactly at 12:00 midnight. Used the API all through the weekend and since this morning and haven't faced it since.
Thanks!
Hi,
I am placing the order and checking for order confirmation. The order gets placed as can be seen by response below, but on order confirmation I am getting error message "'Limit exceed: API call per day".
I am well below the 5000 api call limit, I am somewhere around 170 calls as per my estimate. And if the api limit has expired, even the buy order should not go through?
Can you please advise what could be wrong here?
Thanks, Karan
Buy1 order response:
{'Success': {'order_id': '*****4159', 'message': 'Successfully Placed the order', 'user_remark': ''}, 'Status': 200, 'Error': None}
Buy1 Checking order status for Order ID: *****14159 Buy1 Order confirmation response: {'Status': 5, 'Error': 'Limit exceed: API call per day: '} Error in confirmation list index out of range