Properties

NameTypeDescriptionNotes
tradesList[Trade][optional]
cursorstr[optional]

Example

from kalshi_python.models.get_trades_response import GetTradesResponse

# Create an instance with example data
get_trades_response_instance = GetTradesResponse(
    # Add required fields here
)

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

# Create from JSON string
get_trades_response_from_json = GetTradesResponse.from_json(json_str)

# Convert to dict
get_trades_response_dict = get_trades_response_instance.to_dict()

# Create from dict
get_trades_response_from_dict = GetTradesResponse.from_dict(get_trades_response_dict)
[Back to Model list] [Back to API list] [Back to README]