It seems like it worked ..
but there was one issue..
I had to hard code the 'day' value instead of a constant.
position_type='day', #kite.VALIDITY_DAY,
FYI. I have asked for a follow-up from @rakeshr in this thread. Please keep an eye on this thread as well to see which one of this thread gets an update.
https://kite.trade/forum/discussion/9162/kite-convert-position-kiteconnect-exceptions-inputex…
@ravishastry was your issue resolved?
can you please share a snippet of your code where you use convert_position?
i dont need the logic but just interested in the parameters and the sequence in which you put them.
Hi Rakesh,
I am already using the latest version of the kiteconnect.
Below is the result:
(algo) C:\Users\prash>pip install --upgrade kiteconnect
Requirement already up-to-date: kiteconnect in d:\work\bash_config\.conda\envs\algo\lib\site-packa…