alpacahq / alpacahq/Alpaca-API

[BUG]: Incorrect Order Status and Executed Quantity on Position Closure

Open
#275 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
173
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Hi,
On February 26, we successfully opened a long position on TSLR with a quantity of 5 at 10:28, and the API returned the status as "Completed." However, when closing the position at 16:30, the API returned the order status as "Replaced" and set the executed quantity to 0.
We have already reported this issue via email (support@alpaca.com) and on (https://github.com/alpacahq/alpaca-trade-api-csharp)). This latter suggested that we post it here.
We have encountered similar issues before. Could you kindly investigate this bug and keep me informed of any updates? Many thanks,

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.