Skip to content

Commit

Permalink
Added missing: used_derivative_buying_power data field (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
JBlohm authored Feb 3, 2025
1 parent 0091777 commit bcbb811
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tastytrade/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class AccountBalance(TastytradeJsonDataclass):
equity_offering_margin_requirement: Decimal
long_bond_value: Decimal
bond_margin_requirement: Decimal
used_derivative_buying_power: Decimal
snapshot_date: date
reg_t_margin_requirement: Decimal
futures_overnight_margin_requirement: Decimal
Expand Down Expand Up @@ -142,6 +143,7 @@ class AccountBalanceSnapshot(TastytradeJsonDataclass):
equity_offering_margin_requirement: Optional[Decimal] = None
long_bond_value: Optional[Decimal] = None
bond_margin_requirement: Optional[Decimal] = None
used_derivative_buying_power: Optional[Decimal] = None

@model_validator(mode="before")
@classmethod
Expand Down

0 comments on commit bcbb811

Please sign in to comment.