namespace Application.Features.Api.Crypto.Orderbook.Get;

public sealed record Response(
    decimal TotalAskSize,
    decimal TotalBidSize,
    IReadOnlyList<Response.Unit> Units,
    long Timestamp,
    decimal Level
)
{
    public sealed record Unit(
        decimal AskPrice,
        decimal BidPrice,
        decimal AskSize,
        decimal BidSize
    );
}