Description Usage Arguments Value See Also
Retrieves a list of orders for the account, filtered by the supplied query parameters.
1 2 3 4 5 6 7 8 | alpaca_list_orders(
status = "open",
limit = 50,
after = NULL,
until = NULL,
direction = "desc",
nested = TRUE
)
|
status |
string Order status to be queried. open, closed or all. Defaults to open. |
limit |
int The maximum number of orders in response. Defaults to 50 and max is 500. |
after |
timestamp The response will include only ones submitted after this timestamp (exclusive.) |
until |
timestamp The response will include only ones submitted until this timestamp (exclusive.) |
direction |
string The chronological order of response based on the submission time. asc or desc. Defaults to desc. |
nested |
boolean If true, the result will roll up multi-leg orders under the legs field of primary order. |
a list returned by alpaca
https://alpaca.markets/docs/trading-on-alpaca/orders/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.