alpacahq / alpaca-ts

A TypeScript Node.js library for the https://alpaca.markets REST API and WebSocket streams.
ISC License
154 stars 42 forks source link

Add Close Positions Parameter cancel_orders #96

Closed tclare closed 2 years ago

tclare commented 2 years ago

In the recently updated documentation for close positions, Alpaca allows the option to cancel all open orders before liquidating positions. This PR updates this.

117 commented 2 years ago

Will build and publish tmrw. Thank you for the contribution 🥳!