Skip to content

feat: Remove deprecated properties from IAccount interface and fix JSON property name typo#819

Merged
carlostasada merged 1 commit into
mainfrom
fix/account-removed-properties
Jul 10, 2026
Merged

feat: Remove deprecated properties from IAccount interface and fix JSON property name typo#819
carlostasada merged 1 commit into
mainfrom
fix/account-removed-properties

Conversation

@carlostasada

Copy link
Copy Markdown
Contributor

Description

  • Removed IsDayPatternTrader and DayTradeCount properties from the IAccount interface due to changes in the Alpaca Trading API.
  • Fixed a typo in the JSON property name for NonMarginableBuyingPower to ensure correct population.
  • Updated compatibility suppressions to reflect the removal of the deprecated properties.

Fixes # (issue)

Type of change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

…ON property name typo

- Removed `IsDayPatternTrader` and `DayTradeCount` properties from the `IAccount` interface due to changes in the Alpaca Trading API.
- Fixed a typo in the JSON property name for `NonMarginableBuyingPower` to ensure correct population.
- Updated compatibility suppressions to reflect the removal of the deprecated properties.
Comment thread Alpaca.Markets/PublicAPI.Shipped.txt

@SpenserJ SpenserJ left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving so we can cut a hotfix for the reported crash, and we can handle the other deprecated properties in the v8 branch. The one I flagged defaults to null so it shouldn't break anything

@carlostasada carlostasada merged commit fd72be1 into main Jul 10, 2026
8 checks passed
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.

2 participants