I am using C# and alpacas nuget package in a console app.
Here is the following test method
[Test]
public void BuyingPower_test_SunnyDay()
{
//Arrange
var client = Environments.Paper.GetAlpacaTradingClient(new SecretKey("MY KEY", "MY VALUE"));
//Act
var buyingPower = client.GetAccountAsync().Result;
//Assert
}
The above throws the following error.
JsonSerializationException: Error converting value "DISABLE_PENDING" to type
'Alpaca.Markets.AccountStatus'. Path 'status', line 1, position 103.
I have no idea what this means, theres nothing in the docs that mention the disable pending error.