Is your algorithm trying to sell more shares than what the position holds? Maybe the fill quantity was slightly smaller than what the algorithm had ordered?
JR
toggle quoted message
Show quoted text
On Thu, Apr 29, 2021 at 09:02 PM, Ace wrote:
Hi,
My algo took a long position on a stock and when target was reached and wanted to exit I got this message:
201 Order rejected - reason:The contract is not available for short sale.
I'm aware of? this message if I want to go short on a stock.
But if I bought and own the shares why does this happen?
The algo runs in paper trading account so is it related?
Can this really happen live?
Thanks
A