How to square off MTF positions using API


How do I buy and sell MTF, using APIs?

Usecase: I want to mimic the ‘Buy with 50% funds via MTF’ usecase as given in Upstox app.
Once the price reaches the target price or stop loss, I want to automatically sell off the MTF positions.

We currently do not support MTF orders through the Upstox API. Although this feature is in our development backlog, we do not have an estimated timeline for its release. We will inform you once we begin working on this development.