Skip to content

Accept Firstrade total_value as AFS provider equity - #396

Merged
Pigbibi merged 1 commit into
mainfrom
fix/ft-afs-equity-field-aliases
Oct 9, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
fix/ft-afs-equity-field-aliases

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

/account-facts-sync progressed past currency defaulting but failed with provider_equity_unavailable. Collect only accepted total_equity; Firstrade payloads commonly use total_value, and the client mirrors account-list totals as account_list_total_value.

  • Exact-key aliases for provider equity
  • Regression test for those fields

No trading-mode / strategy change.

Snapshot build failed with provider_equity_unavailable because collect
only read total_equity, while Firstrade balances and account-list mirrors
expose total_value / account_list_total_value. Keep exact-key matching.
@Pigbibi
Pigbibi merged commit 2a95bfe into main Oct 9, 2026
1 check passed
@Pigbibi
Pigbibi deleted the fix/ft-afs-equity-field-aliases branch October 9, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant