I'm trying to build a tool that gives me a complete breakdown of each of my current holdings — specifically: When each stock was purchased How much quantity was bought per transaction The price at which each buy happened Cumulative average buy price over time I'm using the Kite Connect API and can successfully fetch current holdings using getHoldings(). However, getOrders() and getTrades() only return today's or recent orders, not full historical trades.
The historical tradebook is not a part of Kite Connect APIs. It is a part of the Kite Connect APIs. You may find it on console, our backoffice platform.