Close Specific Position

There is a v2 API for closing a position by symbol, but it does not allow users to close specific position by symbol AND side. What happens if I am running two separate strategies, one long, one short, for a symbol? What am I missing?

Alpaca, and most US brokers, will not allow you to hold both a long and short position of the same equity. Therefore, there will only be one ‘side’ at any given time.

Thanks Dan. Appreciate your response. I’ll code around this ‘feature’. Years ago, I worked in the airline space. We were converting system software from using 65x20 character ‘green screen’ displays to pixel-based color displays. The agents insisted on maintaining their 65x20 ‘green screen’ look and feel. It would be great if Alpaca can break the traditional Broker mold.

1 Like