PARTIAL QUANTITY EXIT THROUGH API

Hello team
I’m using your python API now I’m facing a problem for a logical thinking

For example if my target is achieved then how can I exit my half quantity only

Now I’m placing a robo order jo ki mere target and stoploss pr meri puri quantity ko exit kr de rha hai so mai abhi ye chahta hu ki apke API ko target and stoploss price de du and jab stoploss achieved ho tab meri full position exit ho Jaye ya fir target achive ho to meri sirf half position hi exit ho

And I’m using your historical api so that I’m getting live data jo ki me yaha se manually order target point pr nikal saku

And also Mai GTT ORDER apka use Kiya hu jo ki sirf carryforward position ke liye work kr rha hai abhi iska kya solution hai pls reply

So sorry for long query :innocent: :innocent: