Hi all,
Using Dhan Cloud with pure requests library (no dhanhq SDK). Both individual scripts save fine:
-
Script A:
requests.post("/charts/historical")→ computes EMA20/EMA50 crossover signals
-
Script B:
requests.post("/orders")→ places CNC limit buys
When combined into one script, get MEDIUM violation that blocks save:
“The code makes HTTP requests to the Dhan API… processes financial data and places orders”
Questions:
-
Has anyone successfully saved a combined scan+order script recently? MEDIUM used to be a warning only (non-blocking) — has this changed?
-
Is there an approved pattern for scan+execute in one script?
-
Does the exit monitor template (fetches holdings + places sell orders) still save for new strategies, or is it blocked too?
Use case: scan symbols at market open, check EMA crossover condition, place limit buy for signals — all in one run, no manual step, fully within Dhan’s own APIs.
Any workarounds or official guidance appreciated.