Grid Bot vents

Description: Getting a list of events by Grid Bot

Permission: BOTS_READ Security: SIGNED

GET

/ver1/grid_bots/{id}/events

Path Parameter

id integer required Unique 3Commas ID for this Grid Bot entity

Query Parameters

page integer required Page number for pagination Default: 1

per_page integer required Quantity of records on one page Minimum: 1, Maximum: 100 Default: 100

Parameters response

message string The description of the event

created_at string ISO 8601 datetime string indicating when the event was recorded

Example Request

GET /ver1/grid_bots/2338357/events?page=1&per_page=10

Example Response and errors

Status: 201 Created

[
    {
        "message": "Start command received",
        "created_at": "2024-10-03T19:53:38.178Z"
    },
    {
        "message": "Bot is turned on",
        "created_at": "2024-10-03T19:53:38.305Z"
    },
    {
        "message": "Setting leverage: cross 10.0, Success.",
        "created_at": "2024-10-03T19:53:39.569Z"
    },
    {
        "message": "Creating balancing order, Price: 0.021967 BNFCR, Size: 98.741665 BNFCR (4495.0 VETUSDT).",
        "created_at": "2024-10-03T19:53:39.853Z"
    },
    {
        "message": "Balancing order filled, Price: 0.021974 BNFCR, Size: 98.77216807 BNFCR (4495.0 VETUSDT).",
        "created_at": "2024-10-03T19:53:41.750Z"
    },
    ...
    {
        "message": "Creating LIMIT BUY order, Price: 0.02171 BNFCR, Size: 19.99491 BNFCR (921.0 VETUSDT), Current price: 0.021969 BNFCR, Success.",
        "created_at": "2024-10-03T19:53:44.070Z"
    }
]
Status: 400 Bad Request

{
    "error": "record_invalid",
    "error_description": "Invalid parameters",
    "error_attributes": {
        "page": [
            "is missing",
            "does not have a valid value"
        ],
        "per_page": [
            "is missing",
            "does not have a valid value"
        ]
    }
}

Last updated

Was this helpful?