Skip to main content

Properties

NameTypeDescriptionNotes
pricefloat[optional]
countint[optional]

Example

from kalshi_python.models.orderbook_level import OrderbookLevel

# Create an instance with example data
orderbook_level_instance = OrderbookLevel(
    # Add required fields here
)

# Convert to JSON string
json_str = orderbook_level_instance.to_json()
print(json_str)

# Create from JSON string
orderbook_level_from_json = OrderbookLevel.from_json(json_str)

# Convert to dict
orderbook_level_dict = orderbook_level_instance.to_dict()

# Create from dict
orderbook_level_from_dict = OrderbookLevel.from_dict(orderbook_level_dict)
[Back to Model list] [Back to API list] [Back to README]