Response.cs 662 B

123456789101112131415161718192021
  1. namespace Application.Features.Api.Stocks.GetHistory;
  2. public sealed class Response
  3. {
  4. public int Total { get; init; }
  5. public required IReadOnlyList<Row> List { get; init; }
  6. public sealed class Row
  7. {
  8. public DateOnly TradingDate { get; init; }
  9. public int Open { get; init; }
  10. public int High { get; init; }
  11. public int Low { get; init; }
  12. public int Close { get; init; }
  13. public long Volume { get; init; }
  14. public long TradingValue { get; init; }
  15. public int ChangeAmount { get; init; }
  16. public decimal ChangeRate { get; init; }
  17. public long? MarketCap { get; init; }
  18. }
  19. }