QuantRocket logo

Trade inspection

This notebook shows how to inspect individual trades.

First, we can load the transactions and identify a trade to look at. Here we load transactions for a particular month:

Let's pick a single stock, TTWO:

We use the data object to load minutes prices for this sid and date, looking back 390 minutes from the session close to get the entire trading day:

Then we plot the minute prices and add trade markers for our buy and sell transactions:


Next Up

Part 7: Broker-Specific Steps for Live Trading