issues
search
alpacahq
/
alpaca-py
The Official Python SDK for Alpaca API
https://alpaca.markets/sdks/python/getting_started.html
Apache License 2.0
602
stars
147
forks
source link
fix: Change profit_loss_pct to List[Optional[float]] in PortfolioHistory model
#430
Closed
hiohiohio
closed
7 months ago
hiohiohio
commented
8 months ago
Context:
profit_loss_pct could be null values of array in API response of
Get Account Portfolio History
current model raises validation error when receiving null values
this PR fix the model definition
Changes:
change profit_loss_pct to List[Optional[float]] in PortfolioHistory model
Context:
Changes: