Response.cs 363 B

1234567891011121314151617
  1. namespace Application.Features.Api.Crypto.Orderbook.Get;
  2. public sealed record Response(
  3. decimal TotalAskSize,
  4. decimal TotalBidSize,
  5. IReadOnlyList<Response.Unit> Units,
  6. long Timestamp,
  7. decimal Level
  8. )
  9. {
  10. public sealed record Unit(
  11. decimal AskPrice,
  12. decimal BidPrice,
  13. decimal AskSize,
  14. decimal BidSize
  15. );
  16. }