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: Add validation to ReplaceOrderRequest
#445
Closed
hiohiohio
closed
2 months ago
hiohiohio
commented
2 months ago
Context:
ReplaceOrderRequest ignores qty/limit_price/stop_price/trail if value is zero
this may cause confusion
this PR will add validation to ReplaceOrderRequest to let users know that those values should be greater than zero
Change:
add validation to ReplaceOrderRequest
apply
poetry run isort --profile black <file>
Context:
Change:
poetry run isort --profile black <file>