Kotak-Neo / kotak-neo-api

96 stars 80 forks source link

Unable To Cancel, Modify, or View Order History Via API #123

Open crypt0inf0 opened 5 months ago

crypt0inf0 commented 5 months ago

I'm unable to cancel orders that are placed via web/app using client.cancel_order(order_id = "")

Can you fix it? So that all orders placed via web/app/api can be cancelled using api.

imdigitalcon commented 5 months ago

Only orders placed via API can be cancelled or modified using the API. What response are you getting when trying to cancel order?

crypt0inf0 commented 5 months ago

I get the following error, {'error': [{'code': '91400', 'message': 'Sorry, the requested action (Cancel, Modify, or View Order History) is only available for orders placed via our API. Please use the website or mobile app for orders placed through those platforms.'}]} We need the option to cancel order regardless of order placed via api, web or app.

crypt0inf0 commented 5 months ago

Also unable to cancel the AMO orders, {'stat': 'Not_Ok', 'errMsg': 'Cancel Order Response : Bad Input', 'tid': 'server4_7527025', 'stCode': 5204}

crypt0inf0 commented 5 months ago

@Kotak-Neo Enable Cancel, Modify, or View Order History via API even those orders are not placed via API.

APItrad commented 3 months ago

@Kotak-Neo also we can only place one order a day. after that it says client order id already exists .