I am using both Zerodha and started using Dhan for the past 2-3 months. Dhan Trading API and Margin Facility looks good. I can automate Portfolio easily..