Closes (liquidates) all of the account’s open long and short positions. A response will be provided for each order that is attempted to be cancelled. If an order is no longer cancelable, the server will respond with status 500 and reject the request.
1 |
Information list about closed positions as returned by Alpaca's API
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.