Add start and enddate when fetching the position history

This commit is contained in:
2025-10-24 18:00:23 +07:00
parent 554cac7d89
commit fc4369a008
10 changed files with 352 additions and 32 deletions

View File

@@ -24,6 +24,12 @@ namespace Managing.Application.Abstractions.Services
Task<GasFeeData> GetGasFeeDataAsync();
Task<List<Position>> GetGmxPositionHistoryAsync(string account, int pageIndex = 0, int pageSize = 20, string? ticker = null);
Task<List<Position>> GetGmxPositionHistoryAsync(
string account,
int pageIndex = 0,
int pageSize = 20,
string? ticker = null,
DateTime? fromDate = null,
DateTime? toDate = null);
}
}