Windows using Python with PyCharm
Alpaca SDK Version
alpaca-trade-api = 2.1.0
Other Environment Details
Issue is found in the Accounts->Documents->Account Statement (for the given month)
I currently am allowing a program to buy/sell based on given triggers and its expected to only sell when making a profit. When reviewing the trades for a given month, it appears to only have gains and not losses. Upon reviewing the “Account Statement” provided by Alpaca, it shows that, for instance, realized gains of $150 and realized losses of $130. Does anyone know if this is calculated correctly or has noticed similar issues?
This is my first post so I am not sure if there is support via email/chat that I should be sending this request to.
Paper or Live Tradng?
Not code related.