Skip to content

Not able to modify or cancel any "CASH" & "LIMIT" order place through breeze API. Modify/Cancel were not reflecting in any channel be it API/MobileApp/Site #238

Description

@equisprint

Hi,

Today, we are facing very strange issue that all the "CASH"&"LIMIT" orders place using breeze SDK api were not able to modify or cancel from any channel i.e. API / mobileApp / icicidirect site.

Please check below following sequence of api call which includes Place_order, cancel_order & modify_order. cancellation or modification response from API were successful yet orders were not cancelled/modified as per API response and parameter value.

1 - Place Limit Order API Call:

responseData = breeze.place_order(stock_code="ALOIND",
exchange_code="NSE",
product="cash",
action="Buy",
order_type="limit",
stoploss="",
quantity=10,
price="11.50",
validity="day",
user_remark="TestOrder")
print(responseData)

{'Success': {'order_id': '20260401K300003269', 'message': 'Equity CASH Order placed successfully through RI reference no 20260401K300003269', 'user_remark': None}, 'Status': 200, 'Error': None}

2 - Cancel Order API Call:

breeze.cancel_order(exchange_code="NSE", order_id="20260401K300003269" )

{'Success': {'order_id': '20260401K300003269',
'message': 'Your Order Canceled successfully.'},
'Status': 200,
'Error': None}

ISSUE - API response Message shows your order canceled successfully, Actually it was not canceled in system & mobile app.

3 - Modify Order API Call

breeze.modify_order(order_id="20260401K300003269",
exchange_code="NSE",
order_type="limit",
stoploss="",
quantity="2",
price="11.60",
validity="day")

{'Success': {'message': 'Your Order Modified successfully.',
'order_id': '20260401K300003269'},
'Status': 200,
'Error': None}

ISSUE - API response Message shows your order Modified successfully, But Actually it was not modified in system & mobile app

Regards,
ES Team

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions