Comments (3)
Edit: I figured out way to cancel order via postman. however when I use same body parameters in python request it gives following error
02:25:35 | 0:Client handler to Exchange Connector connection stopped
while debugging I came to know that 3 more parameters user id, password and my2PIN gets added to body.
Can someone help me find where is the issue?
from py5paisa.
Hey @smit-s yes you are right email ,password and dob(my2PIN) get added to body in the request posted.
Please retry if it works after encrypting using the encryptor on developer docs page.
This is solved in python SDK, so for cancelling an order you will have to send your placed order's returned Exchange Order Id to modify or cancel any order.
Regards.
from py5paisa.
Thanks for the help.
from py5paisa.
Related Issues (20)
- TOTP login is not working HOT 1
- Close websocket connection HOT 1
- issue with the same script price HOT 2
- How to get Response Token using code for Login? HOT 2
- getting wrong status for mcx in Market status API
- order updated through websocket HOT 1
- How to reuse the session? HOT 2
- Live feed is not working
- Unable to establish web socket connection for market feed HOT 2
- Automatic authentication HOT 5
- Couldn't read data anymore from the API's
- not able to install liberary on google collab
- not able to install the py5paisa on google collab and AWS sagemaker
- Error while installing latest version using pip HOT 1
- Invalid syntax and deprecated readme
- RemoteOrderID is not being used while placing order on MCX
- Inconsistent behaviour between Tradestation website and API - Cash Orders on NSE generate errors like 'Scrip Not Available for Trading" - but can place order for same scrip on Tradestation website
- Incorrect response for Futures data
- Major Bug: self.payload not being reset
- Lack of Clear API Responses for User Actions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py5paisa.