issues
search
alpacahq
/
alpaca-py
The Official Python SDK for Alpaca API
https://alpaca.markets/sdks/python/getting_started.html
Apache License 2.0
491
stars
122
forks
source link
fix: Fix update_trade_configuration_for_account()
#449
Closed
hiohiohio
closed
2 months ago
hiohiohio
commented
2 months ago
Context:
we have got
request body format is invalid
error when updating trade configuration for an account
We should pass dict to json parameter instead of json_str
Changes:
use model_dump() instead of model_dump_json() to pass dict instead of json string
Context:
request body format is invalid
error when updating trade configuration for an accountChanges: