Response.cs 344 B

12345678910111213141516
  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. )
  8. {
  9. public sealed record Unit(
  10. decimal AskPrice,
  11. decimal BidPrice,
  12. decimal AskSize,
  13. decimal BidSize
  14. );
  15. }