☰
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.2K
All Categories
0
Incidents
128
Node JS client
38
Go client
769
.Net API client
364
Kite Publisher
532
.Net / VBA / Excel (3rd party)
436
Algorithms and Strategies
972
Java client
1K
API clients
401
PHP client
3.8K
Python client
331
Mobile and Desktop apps
1.3K
Market data (WebSockets)
3.2K
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