Fix fetchDaysTraded to use reports API with bearer auth and correct daysTraded counting
- Replace fill/ldeps and fill/list approaches with Tradovate reports API - Add bearer auth to getreport polling (root cause of prior 404s) - Use endDate = tomorrow to ensure current-session fills are included - Count all traded days when minDayPnL is 0, otherwise count days >= minDayPnL - Add PATCH /api/debug endpoint for proxying raw Tradovate API calls Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
95e7433941
commit
570a54fe60
@@ -45,3 +45,6 @@ next-env.d.ts
|
||||
dev.log
|
||||
dev.err
|
||||
nul
|
||||
scripts/lucid-cookies.json
|
||||
scripts/lucid-config.json
|
||||
scripts/*.png
|
||||
|
||||
Reference in New Issue
Block a user