Comments (10)
Was this placed using the Python SDK?
from py5paisa.
Yes
from py5paisa.
Python gives a success response but in terminal,it's failing
from py5paisa.
Any chance to check on it?
from py5paisa.
@rakesh146 can you please share the order code for weekly banknifty
from py5paisa.
buy_sl_order = Order(order_type=OrderType.BUY, scrip_code=59016, quantity=25,exchange=Exchange.NSE
,exchange_segment=ExchangeSegment.DERIVATIVE,price = 30.0,atmarket=False,
is_stoploss_order=True,stoploss_price= 100.0,is_intraday=True,ahplaced = AHPlaced.AFTER_MARKET_CLOSED)
client.place_order(buy_sl_order)
#change the script code as required
from py5paisa.
It worked after setting testorder.disqty=0.
Thanks
from py5paisa.
Great! Closing this issue then
from py5paisa.
@rakesh146 @ba11b0y
I'm sending this in market feed api still not getting zero value in response, basically i want to get scrip code. can you help pointing whats wrong/missing here?
{ "Exch": "N", "ExchType": "D", "Symbol": "BANKNIFTY 21 JUN 2021", "Expiry": "20210624", "StrikePrice": "35200", "OptionType": "CE" }
from py5paisa.
symbol should be corrected as follows "Symbol": "BANKNIFTY 21 JUN 2021 CE 35300.00"
from py5paisa.
Related Issues (20)
- 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
- live streamming is not working HOT 1
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.