alpacahq / alpaca-trade-api-python

Python client for Alpaca's trade API
https://pypi.org/project/alpaca-trade-api/
Apache License 2.0
1.72k stars 530 forks source link

#573 close_all_positions should take optional cancel_orders argument #735

Open brucewen05 opened 7 months ago

brucewen05 commented 7 months ago

Trying to resolve the issue #573: https://github.com/alpacahq/alpaca-trade-api-python/issues/573

The public API already has this option: https://docs.alpaca.markets/reference/deleteallopenpositions but it seems that it is missing in current implementation