Need devveloper help; dhan python apy setup and daily loss and auto killswich

Hello Dhan Team & Community Members,
I have developed a Pine Script strategy for Nifty 50 with built-in daily stop-loss and kill switch logic. However, since I do not have a programming or coding background, I am unable to configure the Dhan Python API setup on my own.
I need an automated setup using Dhan’s free Python API that can do the following:

  • Continuously monitor my live MTM (Profit/Loss).
  • If my total daily loss Limit, immediately square off all open positions at market price.
  • Automatically activate the trading Kill Switch / deactivate the F&O segment for the day to prevent further trades.
    Could any developer or community member please share a ready-to-use Python script and guide me on how to run it step-by-step (or via AnyDesk / remote support)?
    Thank you for your help!