Closed mihaiprecupetu closed 10 months ago
@mihaiprecupetu Please check crypto fees in the doc
Buy ETH/USD, you receive ETH, the fee is denominated in ETH
The example in the doc is ETH though, the 0.00025 BTC seems the fee of the trade. 0.25% == 0.0025 0.1 BTC * 0.0025 = 0.00025 BTC 0.1 BTC - 0.00025 BTC = 0.09975
Is there an existing issue for this?
Current Behavior
When I open an order, the filled quantity is slightly less then the one requested. This issue also happens when performing a HTTP rest call directly.
For example, opening BUY 0.1 BTCUSD will result in 0.09975 quantity.
Expected Behavior
After opening order, quantity on position should be exact as requested. After opening BUY 0.1 BTCUSD, the position should have exactly 0.1 quantity.
SDK Version I encountered this issue in
alpaca-py==0.13.1
Steps To Reproduce
Filled out the Steps to Reproduce section?
Anything else?