Response.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. namespace Application.Features.Api.Stocks.GetLendingHistory;
  2. public sealed class Response
  3. {
  4. public required string Isin { get; init; }
  5. public int Total { get; init; }
  6. public required IReadOnlyList<Row> List { get; init; }
  7. public sealed class Row
  8. {
  9. /// <summary>기준일 (STD_DT)</summary>
  10. public DateOnly StdDt { get; init; }
  11. /// <summary>대차잔고주수 (SLB_TR_REM_QTY)</summary>
  12. public long? LendingBalanceQty { get; init; }
  13. /// <summary>대차체결량 (MATC_QTY)</summary>
  14. public long? MatchedQty { get; init; }
  15. /// <summary>대차상환량 (RED_QTY)</summary>
  16. public long? RedeemedQty { get; init; }
  17. /// <summary>일일거래량 (TR_QTY)</summary>
  18. public long? TradeQty { get; init; }
  19. /// <summary>외국인 대여잔고비율 % (FRINER_LEND_REM_RATIO)</summary>
  20. public decimal? ForeignLendRatio { get; init; }
  21. /// <summary>내국인 대여잔고비율 % (NATIVE_LEND_REM_RATIO)</summary>
  22. public decimal? NativeLendRatio { get; init; }
  23. /// <summary>외국인 차입잔고비율 % (FRINER_BRW_REM_RATIO)</summary>
  24. public decimal? ForeignBorrowRatio { get; init; }
  25. /// <summary>내국인 차입잔고비율 % (NATIVE_BRW_REM_RATIO)</summary>
  26. public decimal? NativeBorrowRatio { get; init; }
  27. }
  28. }