Response.cs 390 B

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