Removing executions that were recorded by accident?

Hey @Brian, the ability to record executions was recently added to QuantRocket, which has been super helpful. However, I've run into an issue where I made some mistakes when recording a few executions.

How can I back those executions out? Delete directly from Executions DB?

Yes.

Perfect.

If anyone else needs to remove executions, the following did the trick.

# Query executions to get execution id
sqlite3 quantrocket.v2.blotter.executions.sqlite 'SELECT * FROM Execution ORDER BY Time DESC LIMIT 5'

# Delete single execution by id
sqlite3 quantrocket.v2.blotter.executions.sqlite 'DELETE FROM Execution WHERE ExecId = "0000e0d5.61154707.01.01"'