The ReplaceOrderRequest Class in the alpaca-py library has a variable ‘qty’ that is an int, when it should be a float.
I can see this when I am trading crypto and send an order update for a fractional value such as 1.1 or 0.7. It converts the value to an int when it should not.
In the code:
Attributes: qty (Optional[int]): Number of shares to trade