Idirect-Tech / Breeze-Python-SDK

The official Python client library for the ICICI Securities trading APIs
MIT License
63 stars 30 forks source link

Request to create MTF sell order results in INTRADAY sell order #156

Open manojmo opened 3 weeks ago

manojmo commented 3 weeks ago

hi, i am trying to create the following MTF sell order. The API rewturn success, however, when i check the order on ICICIdirect website, it shows an INTRADAY order, instead of MTF.

breeze.place_order( stock_code="RATINF", exchange_code="NSE", product="mtf", action="sell", order_type="limit", stoploss="0", quantity="10", price="72", validity="day", user_remark="MSMBRZ" )

Also, when i query back the order data, the user_remark field is blank, it does not have the value i set when creating the order.

regards, manoj

Idirect-Tech commented 3 weeks ago

Dear Client,

Please share your match ID to @.*** to check it and kindly send match ID from email not from github.

[E29CF836]

Thanks & Regards,

Hiten Solanki,

Team Breeze API,

ICICI Securities


From: manojmo @.> Sent: Thursday, October 31, 2024 2:47 PM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: Subscribed @.***> Subject: [Idirect-Tech/Breeze-Python-SDK] Request to create MTF sell order results in INTRADAY sell order (Issue #156)

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 trying to create the following MTF sell order. The API rewturn success, however, when i check the order on ICICIdirect website, it shows an INTRADAY order, instead of MTF. breeze.place_order( stock_code="RATINF", exchange_code="NSE", product="mtf", action="sell", order_type="limit", stoploss="0", quantity="10", price="72", validity="day", user_remark="MSMBRZ" )

regards, manoj

— Reply to this email directly, view it on GitHubhttps://github.com/Idirect-Tech/Breeze-Python-SDK/issues/156, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TQZ456BCYTSGN7XGPCGILZ6HYUBAVCNFSM6AAAAABQ53R5GWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZDMMZWHA2DMNQ. 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).

manojmo commented 3 weeks ago

hi,

What do you mean by the match ID ? Do you mean order ref no ? To what emaid id ? Its shown as @.***. If i reply to this email, it will go to github comments i guess.

regards, manoj

On Thu, Oct 31, 2024 at 4:27 PM Idirect-Tech @.***> wrote:

Dear Client,

Please share your match ID to @.*** to check it and kindly send match ID from email not from github.

[E29CF836]

Thanks & Regards,

Hiten Solanki,

Team Breeze API,

ICICI Securities


From: manojmo @.> Sent: Thursday, October 31, 2024 2:47 PM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: Subscribed @.***> Subject: [Idirect-Tech/Breeze-Python-SDK] Request to create MTF sell order results in INTRADAY sell order (Issue #156)

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 trying to create the following MTF sell order. The API rewturn success, however, when i check the order on ICICIdirect website, it shows an INTRADAY order, instead of MTF. breeze.place_order( stock_code="RATINF", exchange_code="NSE", product="mtf", action="sell", order_type="limit", stoploss="0", quantity="10", price="72", validity="day", user_remark="MSMBRZ" )

regards, manoj

— Reply to this email directly, view it on GitHubhttps://github.com/Idirect-Tech/Breeze-Python-SDK/issues/156, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TQZ456BCYTSGN7XGPCGILZ6HYUBAVCNFSM6AAAAABQ53R5GWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZDMMZWHA2DMNQ. 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).

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

manojmo commented 1 week ago

Hi, any update ? The issue is still present in my testing today.

On Thu, Oct 31, 2024 at 5:54 PM Manoj Mokashi @.***> wrote:

hi,

What do you mean by the match ID ? Do you mean order ref no ? To what emaid id ? Its shown as @.***. If i reply to this email, it will go to github comments i guess.

regards, manoj

On Thu, Oct 31, 2024 at 4:27 PM Idirect-Tech @.***> wrote:

Dear Client,

Please share your match ID to @.*** to check it and kindly send match ID from email not from github.

[E29CF836]

Thanks & Regards,

Hiten Solanki,

Team Breeze API,

ICICI Securities


From: manojmo @.> Sent: Thursday, October 31, 2024 2:47 PM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: Subscribed @.***> Subject: [Idirect-Tech/Breeze-Python-SDK] Request to create MTF sell order results in INTRADAY sell order (Issue #156)

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 trying to create the following MTF sell order. The API rewturn success, however, when i check the order on ICICIdirect website, it shows an INTRADAY order, instead of MTF. breeze.place_order( stock_code="RATINF", exchange_code="NSE", product="mtf", action="sell", order_type="limit", stoploss="0", quantity="10", price="72", validity="day", user_remark="MSMBRZ" )

regards, manoj

— Reply to this email directly, view it on GitHubhttps://github.com/Idirect-Tech/Breeze-Python-SDK/issues/156, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TQZ456BCYTSGN7XGPCGILZ6HYUBAVCNFSM6AAAAABQ53R5GWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZDMMZWHA2DMNQ. 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).

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Idirect-Tech commented 1 week ago

Dear Client,

We are looking into it and will get back to you shortly.

[E29CF836]

Thanks & Regards,

Hiten Solanki,

Team Breeze API,

ICICI Securities


From: manojmo @.> Sent: Tuesday, November 12, 2024 11:41 AM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: BREEZEAPI @.>; Comment @.> Subject: Re: [Idirect-Tech/Breeze-Python-SDK] Request to create MTF sell order results in INTRADAY sell order (Issue #156)

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, any update ? The issue is still present in my testing today.

On Thu, Oct 31, 2024 at 5:54 PM Manoj Mokashi @.***> wrote:

hi,

What do you mean by the match ID ? Do you mean order ref no ? To what emaid id ? Its shown as @.***. If i reply to this email, it will go to github comments i guess.

regards, manoj

On Thu, Oct 31, 2024 at 4:27 PM Idirect-Tech @.***> wrote:

Dear Client,

Please share your match ID to @.*** to check it and kindly send match ID from email not from github.

[E29CF836]

Thanks & Regards,

Hiten Solanki,

Team Breeze API,

ICICI Securities


From: manojmo @.> Sent: Thursday, October 31, 2024 2:47 PM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: Subscribed @.***> Subject: [Idirect-Tech/Breeze-Python-SDK] Request to create MTF sell order results in INTRADAY sell order (Issue #156)

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 trying to create the following MTF sell order. The API rewturn success, however, when i check the order on ICICIdirect website, it shows an INTRADAY order, instead of MTF. breeze.place_order( stock_code="RATINF", exchange_code="NSE", product="mtf", action="sell", order_type="limit", stoploss="0", quantity="10", price="72", validity="day", user_remark="MSMBRZ" )

regards, manoj

— Reply to this email directly, view it on GitHubhttps://github.com/Idirect-Tech/Breeze-Python-SDK/issues/156, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TQZ456BCYTSGN7XGPCGILZ6HYUBAVCNFSM6AAAAABQ53R5GWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZDMMZWHA2DMNQ. 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).

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHubhttps://github.com/Idirect-Tech/Breeze-Python-SDK/issues/156#issuecomment-2469688602, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TQZ44SYBV25OQXKK36CZD2AGL27AVCNFSM6AAAAABQ53R5GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRZGY4DQNRQGI. 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).

manojmo commented 8 hours ago

hi, In the webapp, we use a separate square off facility from the open positions for MTF, and i saw that there is a square off api in breeze, so i tried that out for an Mtf seel order :

print( breeze.square_off(exchange_code="NSE", product="margin", stock_code="BHAELE", quantity="10", price="300", action="sell", order_type="limit", validity="day", stoploss="300", ) )

On Tue, Nov 12, 2024 at 6:21 PM Idirect-Tech @.***> wrote:

Dear Client,

We are looking into it and will get back to you shortly.

[E29CF836]

Thanks & Regards,

Hiten Solanki,

Team Breeze API,

ICICI Securities


From: manojmo @.> Sent: Tuesday, November 12, 2024 11:41 AM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: BREEZEAPI @.>; Comment @.> Subject: Re: [Idirect-Tech/Breeze-Python-SDK] Request to create MTF sell order results in INTRADAY sell order (Issue #156)

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, any update ? The issue is still present in my testing today.

On Thu, Oct 31, 2024 at 5:54 PM Manoj Mokashi @.***> wrote:

hi,

What do you mean by the match ID ? Do you mean order ref no ? To what emaid id ? Its shown as @.***. If i reply to this email, it will go to github comments i guess.

regards, manoj

On Thu, Oct 31, 2024 at 4:27 PM Idirect-Tech @.***> wrote:

Dear Client,

Please share your match ID to @.*** to check it and kindly send match ID from email not from github.

[E29CF836]

Thanks & Regards,

Hiten Solanki,

Team Breeze API,

ICICI Securities


From: manojmo @.> Sent: Thursday, October 31, 2024 2:47 PM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: Subscribed @.***> Subject: [Idirect-Tech/Breeze-Python-SDK] Request to create MTF sell order results in INTRADAY sell order (Issue #156)

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 trying to create the following MTF sell order. The API rewturn success, however, when i check the order on ICICIdirect website, it shows an INTRADAY order, instead of MTF. breeze.place_order( stock_code="RATINF", exchange_code="NSE", product="mtf", action="sell", order_type="limit", stoploss="0", quantity="10", price="72", validity="day", user_remark="MSMBRZ" )

regards, manoj

— Reply to this email directly, view it on GitHub< https://github.com/Idirect-Tech/Breeze-Python-SDK/issues/156>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/A3TQZ456BCYTSGN7XGPCGILZ6HYUBAVCNFSM6AAAAABQ53R5GWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZDMMZWHA2DMNQ>.

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).

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub< https://github.com/Idirect-Tech/Breeze-Python-SDK/issues/156#issuecomment-2469688602>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/A3TQZ44SYBV25OQXKK36CZD2AGL27AVCNFSM6AAAAABQ53R5GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRZGY4DQNRQGI>.

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).

— Reply to this email directly, view it on GitHub https://github.com/Idirect-Tech/Breeze-Python-SDK/issues/156#issuecomment-2470451556, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACO34LLDAYKF4MRINP5FQWL2AH2ULAVCNFSM6AAAAABQ53R5GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZQGQ2TCNJVGY . You are receiving this because you authored the thread.Message ID: @.***>

manojmo commented 8 hours ago

Sorry for the incomplete mail. So the above square off call throws the following exception : 'Error': 'Transaction not permitted:Settlement has ended' If i try the order types as mtf, its throws an error : "Product-type should be either 'cash', 'eatm', 'margin' or 'easymargin' for Exchange-Code value as 'nse' or 'bse'

Is an MTF sell order possible or not ?

On Fri, Nov 22, 2024 at 10:10 AM Manoj Mokashi @.***> wrote:

hi, In the webapp, we use a separate square off facility from the open positions for MTF, and i saw that there is a square off api in breeze, so i tried that out for an Mtf seel order :

print( breeze.square_off(exchange_code="NSE", product="margin", stock_code="BHAELE", quantity="10", price="300", action="sell", order_type="limit", validity="day", stoploss="300", ) )

On Tue, Nov 12, 2024 at 6:21 PM Idirect-Tech @.***> wrote:

Dear Client,

We are looking into it and will get back to you shortly.

[E29CF836]

Thanks & Regards,

Hiten Solanki,

Team Breeze API,

ICICI Securities


From: manojmo @.> Sent: Tuesday, November 12, 2024 11:41 AM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: BREEZEAPI @.>; Comment @.> Subject: Re: [Idirect-Tech/Breeze-Python-SDK] Request to create MTF sell order results in INTRADAY sell order (Issue #156)

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, any update ? The issue is still present in my testing today.

On Thu, Oct 31, 2024 at 5:54 PM Manoj Mokashi @.***> wrote:

hi,

What do you mean by the match ID ? Do you mean order ref no ? To what emaid id ? Its shown as @.***. If i reply to this email, it will go to github comments i guess.

regards, manoj

On Thu, Oct 31, 2024 at 4:27 PM Idirect-Tech @.***> wrote:

Dear Client,

Please share your match ID to @.*** to check it and kindly send match ID from email not from github.

[E29CF836]

Thanks & Regards,

Hiten Solanki,

Team Breeze API,

ICICI Securities


From: manojmo @.> Sent: Thursday, October 31, 2024 2:47 PM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: Subscribed @.***> Subject: [Idirect-Tech/Breeze-Python-SDK] Request to create MTF sell order results in INTRADAY sell order (Issue #156)

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 trying to create the following MTF sell order. The API rewturn success, however, when i check the order on ICICIdirect website, it shows an INTRADAY order, instead of MTF. breeze.place_order( stock_code="RATINF", exchange_code="NSE", product="mtf", action="sell", order_type="limit", stoploss="0", quantity="10", price="72", validity="day", user_remark="MSMBRZ" )

regards, manoj

— Reply to this email directly, view it on GitHub< https://github.com/Idirect-Tech/Breeze-Python-SDK/issues/156>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/A3TQZ456BCYTSGN7XGPCGILZ6HYUBAVCNFSM6AAAAABQ53R5GWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZDMMZWHA2DMNQ>.

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).

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub< https://github.com/Idirect-Tech/Breeze-Python-SDK/issues/156#issuecomment-2469688602>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/A3TQZ44SYBV25OQXKK36CZD2AGL27AVCNFSM6AAAAABQ53R5GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRZGY4DQNRQGI>.

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).

— Reply to this email directly, view it on GitHub https://github.com/Idirect-Tech/Breeze-Python-SDK/issues/156#issuecomment-2470451556, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACO34LLDAYKF4MRINP5FQWL2AH2ULAVCNFSM6AAAAABQ53R5GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZQGQ2TCNJVGY . You are receiving this because you authored the thread.Message ID: @.***>

Idirect-Tech commented 2 hours ago

Dear User,

Greetings for the day!

Please find below payload to square off MTF positions: response = breeze.square_off(exchange_code="NSE", product="easymargin", stock_code="CANBAN", quantity="1938", price="605", action="sell", order_type="limit", validity="day", stoploss="0", disclosed_quantity="0", protection_percentage="", settlement_id="2024195", cover_quantity="", open_quantity="", margin_amount="5000" #quantity* price )

Print the response

print(f"Square off response: {response}")

Please note that settlement_id and margin_amount are compulsory fields.

[E29CF836] Thanks & Regards, Akash Sapkal, Team Breeze API, ICICI Securities


From: manojmo @.> Sent: 22 November 2024 10:14 To: Idirect-Tech/Breeze-Python-SDK @.> Cc: BREEZEAPI @.>; Comment @.> Subject: Re: [Idirect-Tech/Breeze-Python-SDK] Request to create MTF sell order results in INTRADAY sell order (Issue #156)

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!

Sorry for the incomplete mail. So the above square off call throws the following exception : 'Error': 'Transaction not permitted:Settlement has ended' If i try the order types as mtf, its throws an error : "Product-type should be either 'cash', 'eatm', 'margin' or 'easymargin' for Exchange-Code value as 'nse' or 'bse'

Is an MTF sell order possible or not ?

On Fri, Nov 22, 2024 at 10:10 AM Manoj Mokashi @.***> wrote:

hi, In the webapp, we use a separate square off facility from the open positions for MTF, and i saw that there is a square off api in breeze, so i tried that out for an Mtf seel order :

print( breeze.square_off(exchange_code="NSE", product="margin", stock_code="BHAELE", quantity="10", price="300", action="sell", order_type="limit", validity="day", stoploss="300", ) )

On Tue, Nov 12, 2024 at 6:21 PM Idirect-Tech @.***> wrote:

Dear Client,

We are looking into it and will get back to you shortly.

[E29CF836]

Thanks & Regards,

Hiten Solanki,

Team Breeze API,

ICICI Securities


From: manojmo @.> Sent: Tuesday, November 12, 2024 11:41 AM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: BREEZEAPI @.>; Comment @.> Subject: Re: [Idirect-Tech/Breeze-Python-SDK] Request to create MTF sell order results in INTRADAY sell order (Issue #156)

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, any update ? The issue is still present in my testing today.

On Thu, Oct 31, 2024 at 5:54 PM Manoj Mokashi @.***> wrote:

hi,

What do you mean by the match ID ? Do you mean order ref no ? To what emaid id ? Its shown as @.***. If i reply to this email, it will go to github comments i guess.

regards, manoj

On Thu, Oct 31, 2024 at 4:27 PM Idirect-Tech @.***> wrote:

Dear Client,

Please share your match ID to @.*** to check it and kindly send match ID from email not from github.

[E29CF836]

Thanks & Regards,

Hiten Solanki,

Team Breeze API,

ICICI Securities


From: manojmo @.> Sent: Thursday, October 31, 2024 2:47 PM To: Idirect-Tech/Breeze-Python-SDK @.> Cc: Subscribed @.***> Subject: [Idirect-Tech/Breeze-Python-SDK] Request to create MTF sell order results in INTRADAY sell order (Issue #156)

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 trying to create the following MTF sell order. The API rewturn success, however, when i check the order on ICICIdirect website, it shows an INTRADAY order, instead of MTF. breeze.place_order( stock_code="RATINF", exchange_code="NSE", product="mtf", action="sell", order_type="limit", stoploss="0", quantity="10", price="72", validity="day", user_remark="MSMBRZ" )

regards, manoj

— Reply to this email directly, view it on GitHub< https://github.com/Idirect-Tech/Breeze-Python-SDK/issues/156>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/A3TQZ456BCYTSGN7XGPCGILZ6HYUBAVCNFSM6AAAAABQ53R5GWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZDMMZWHA2DMNQ>.

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).

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub< https://github.com/Idirect-Tech/Breeze-Python-SDK/issues/156#issuecomment-2469688602>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/A3TQZ44SYBV25OQXKK36CZD2AGL27AVCNFSM6AAAAABQ53R5GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRZGY4DQNRQGI>.

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).

— Reply to this email directly, view it on GitHub https://github.com/Idirect-Tech/Breeze-Python-SDK/issues/156#issuecomment-2470451556, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACO34LLDAYKF4MRINP5FQWL2AH2ULAVCNFSM6AAAAABQ53R5GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZQGQ2TCNJVGY . You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHubhttps://github.com/Idirect-Tech/Breeze-Python-SDK/issues/156#issuecomment-2492864813, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TQZ4Z4EWOOKS2RB46CEHT2B2ZDNAVCNFSM6AAAAABQ53R5GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJSHA3DIOBRGM. 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).