Skip to content

Commit

Permalink
Update AccountActivitiesRequest.cs
Browse files Browse the repository at this point in the history
Changed request model to match api documentation
  • Loading branch information
ooples authored Sep 28, 2024
1 parent 9d10fc7 commit 9f7cffb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Alpaca.Markets/Parameters/AccountActivitiesRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ internal async ValueTask<UriBuilder> 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)
};

Expand Down

0 comments on commit 9f7cffb

Please sign in to comment.