From 1808100fa62930a214eccc13078712e0d78acc85 Mon Sep 17 00:00:00 2001 From: Franklin Moormann Date: Sun, 29 Sep 2024 10:33:19 -0400 Subject: [PATCH] Update AccountActivitiesRequest.cs (#755) Changed request model to match API documentation --- Alpaca.Markets/Parameters/AccountActivitiesRequest.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Alpaca.Markets/Parameters/AccountActivitiesRequest.cs b/Alpaca.Markets/Parameters/AccountActivitiesRequest.cs index 569e5b75..20c3251f 100644 --- a/Alpaca.Markets/Parameters/AccountActivitiesRequest.cs +++ b/Alpaca.Markets/Parameters/AccountActivitiesRequest.cs @@ -87,13 +87,13 @@ internal async ValueTask GetUriBuilderAsync( { Path = "v2/account/activities", Query = await new QueryBuilder() - .AddParameter("activity_types", ActivityTypes) + .AddParameter("activity_type", ActivityTypes) .AddParameter("date", Date) .AddParameter("until", TimeInterval.Into, "O") .AddParameter("after", TimeInterval.From, "O") .AddParameter("direction", Direction) - .AddParameter("pageSize", PageSize) - .AddParameter("pageToken", PageToken) + .AddParameter("page_size", PageSize) + .AddParameter("page_token", PageToken) .AsStringAsync().ConfigureAwait(false) };