Firestore Indexes for Execution Logs
This document describes the Firestore indexes needed for theexecution_logs collection.
Required Indexes
1. Query by User and Timestamp
Collection:execution_logsFields:
userId(Ascending)executedAt(Descending)
2. Query by Market and Timestamp
Collection:execution_logsFields:
marketId(Ascending)executedAt(Descending)
3. Query by Order Type and Success Status
Collection:execution_logsFields:
orderType(Ascending)success(Ascending)executedAt(Descending)
Auto-Generated Index Configuration
Add tofirestore.indexes.json: