I am utilizing the Alpaca API in C#, and since the update on 7/6 regarding the deprecated PDT properties, I am getting the following error when calling the “GetAccountAsync()” function from an instance of the “Alpaca.Markets.AlpacaTradingClient” class:
Newtonsoft.Json.JsonSerializationException: ‘Required property ‘pattern_day_trader’ not found in JSON. Path ‘’, line 1, position 1103.’