pretty sure this used to work, but now it just returns the total account value including cash.
decimal amt = (decimal)alpacaTradingLiveClient.GetAccountAsync().Result.LongMarketValue + (Math.Abs((decimal)alpacaTradingLiveClient.GetAccountAsync().Result.ShortMarketValue));
I would just like the value of my current positions. Is this still possible?
Did something change here. I added to code to subtract out cash and now my equities total is negative?? Is there some kind of changelog I can read for when code changes?