Custom Dhan API Algo App

Customer: AI | Published: 18.10.2025

I need a lightweight application that connects directly to my Dhan Demat account through the official Dhan API and executes my own moving-average trading rules automatically. Scope (keep it lean and focused): • Authenticate to my Dhan account via API keys I supply. • Pull live market data for the selected instruments. • Apply my indicator-based strategy built on Moving Averages to generate buy/sell signals. • Place, modify, or cancel orders automatically the moment the signal triggers. • Log every action (signal, order request, API response) to a simple text or CSV file so I can review what the algo did. A basic command-line tool or a minimal desktop GUI is fine—functionality matters more than appearance at this stage. Hard-coding parameters is acceptable as long as they’re clearly documented so I can adjust them later. Deliver the source code, brief setup instructions, and a quick demo showing a trade placed in paper-trading or live mode. No need for sophisticated dashboards or back-tests right now; once the core logic works, we can discuss future enhancements separately.