Comments (3)
@jugs695369 To place a limit order, use the below according to your use case.
from py5paisa import FivePaisaClient
from py5paisa.order import Order, OrderType, Exchange
client = FivePaisaClient(email="[email protected]",
passwd="password", dob="YYYYMMDD")
client.login()
order = Order(order_type=OrderType.BUY, scrip_code=11111, atmarket=False,
exchange=Exchange.NSE, quantity=1, price=30.5)
client.place_order(order)
Passing atmarket=False
does the trick, and also make sure the price is in the circuit limit.
from py5paisa.
Ok thanks @invinciblycool i will try this
from py5paisa.
Please close this issue if if you were able to place an order successfully.
Thanks
Rahul.
from py5paisa.
Related Issues (20)
- 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
- get_expiry api not working for BANKNIFTY HOT 1
- Websocket shortcomings
- VTT Order placed successfully but not executed at condition.
- 'FivePaisaClient' object has no attribute 'WEBSOCKET_URL' HOT 1
- Server Response Time Issue with Scrip Master Contract Download
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.