☰
Login
Signup
Home
›
Python client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
December 2022
LakshmiNarasaiah
December 2022
sujith
convert position mis to cnc
LakshmiNarasaiah
December 2022
edited December 2022
in
Python client
####cONVERT POSITIONS
kite.convert_position(kite.EXCHANGE_NFO,'BANKNIFTY22D1544500CE',
kite.TRANSACTION_TYPE_BUY,
position_type=kite.VALIDITY_DAY,
quantity=25,
old_product=kite.PRODUCT_MIS,
new_product=kite.PRODUCT_CNC)
showing positio_type error like Invalid `position_type`.
if change position_type='overnight' then Enterd Qty cannot be greater than Net qty
Tagged:
MIS
Convert
cnc
sujith
December 2022
Can you private message your client id and api_key? We will get it checked? Did you carry forward 25 quantity from yesterday?
LakshmiNarasaiah
December 2022
no i have taken mis position and then try to convert it to cnc
LakshmiNarasaiah
December 2022
####cONVERT POSITIONS
kite.convert_position(kite.EXCHANGE_NFO,'BANKNIFTY22D1544500CE',
kite.TRANSACTION_TYPE_BUY,
position_type=kite.VALIDITY_DAY,
quantity=25,
old_product=kite.PRODUCT_MIS,
new_product=kite.PRODUCT_NRML)
it is working
This discussion has been closed.
kite.convert_position(kite.EXCHANGE_NFO,'BANKNIFTY22D1544500CE',
kite.TRANSACTION_TYPE_BUY,
position_type=kite.VALIDITY_DAY,
quantity=25,
old_product=kite.PRODUCT_MIS,
new_product=kite.PRODUCT_NRML)
it is working