Current section
Files
Jump to
Current section
Files
lib/schemas/ask.ex
defmodule Polymarket.Schemas.Ask do
@moduledoc """
A single ask price level in an order book. Part of a BookEvent.
"""
use TypedEctoSchema
@primary_key false
@derive Jason.Encoder
typed_embedded_schema do
field(:price, :float)
field(:size, :float)
end
end