Skip to content

Default missing Firstrade AFS balance currency to USD - #395

Merged
Pigbibi merged 1 commit into
mainfrom
fix/ft-afs-default-usd-currency
Oct 9, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
fix/ft-afs-default-usd-currency

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

After sole-account fallback, /account-facts-sync failed at snapshot build with provider_currency_unavailable. Firstrade balance payloads omit ISO currency; the rest of this platform already treats Firstrade as USD.

  • Default omitted currency to USD in build_firstrade_account_snapshot
  • Keep rejecting invalid currency codes

No trading-mode / strategy change.

After sole-account fallback, snapshot build failed with
provider_currency_unavailable because Firstrade balance payloads omit an
ISO currency field. Match runtime_broker_adapters and treat omitted
currency as USD while still rejecting invalid codes.
@Pigbibi
Pigbibi merged commit abcee60 into main Oct 9, 2026
1 check passed
@Pigbibi
Pigbibi deleted the fix/ft-afs-default-usd-currency branch October 9, 2026 08:09
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