Skip to main content

Properties

NameTypeDescriptionNotes
tickerstr[optional]
resultstr[optional]
yes_countint[optional]
no_countint[optional]
revenueint[optional]
settled_timedatetime[optional]

Example

from kalshi_python.models.settlement import Settlement

# Create an instance with example data
settlement_instance = Settlement(
    # Add required fields here
)

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

# Create from JSON string
settlement_from_json = Settlement.from_json(json_str)

# Convert to dict
settlement_dict = settlement_instance.to_dict()

# Create from dict
settlement_from_dict = Settlement.from_dict(settlement_dict)
[Back to Model list] [Back to API list] [Back to README]