alpaca_close_position: Close a position

Description Usage Arguments Value

View source: R/positions.R

Description

Closes (liquidates) the account’s open position for the given symbol. Works for both long and short positions.

Usage

1

Arguments

symbol

Symbol on which to close position.

Value

Information list about closed position as returned by Alpaca's API


mkearney/alpacar documentation built on May 5, 2020, 3:40 a.m.