Get all copier events .

GET

The system keeps track of key events that occur on accounts, copiers, commands or trades.

Copier events show when the settings on the copier have affected the creation of a trade command.

For example when a symbol has been disabled on a copier, a trade with that symbol cannot be opened on the copying account. This creates a copier event to advise that the trade has been ignored.

Request
/events/copiers
Response
{
    "result": "success",
    "status": 200,
    "meta": {
        "count": 197,
        "limit": 1000,
        "order": "desc",
        "last_id": 3236
    },
    "data": [
        {
            "id": 123456,
            "created_at": "2021-08-04T11:36:08.000000Z",
            "updated_at": "2021-08-04T11:36:08.000000Z",
            "account_id": 761,
            "group": "trade",
            "event": "position_open",
            "event_id": null,
            "trade_id": 123456,
            "ticket": 123456789,
            "type": "buy",
            "symbol": "USDCHF",
            "lots": 0.01,
            "open_time": "2021-08-04T13:36:08.000000Z",
            "open_price": 0.90435,
            "stop_loss": 0,
            "take_profit": 0,
            "close_time": null,
            "close_price": 0.90424,
            "commission": 0,
            "swap": 0,
            "profit": -0.09,
            "balance": 226.12,
            "credit": 0,
            "equity": 210.27,
            "comment": "",
            "magic": 0,
            "digits": 5,
            "tick_value": 0.79373,
            "tick_size": 1.0e-5
        },
        .....more events.....
    ]
}

Filters

Key Value Description
id single integer Find a copier event
ids comma separated list of integers Find multiple copier events
copier_id single integer Find a copiers events
copier_ids comma separated list of integers Find multiple copiers events
account_id single integer Find an accounts events
account_ids comma separated list of integers Find multiple accounts events
created_at_start datetime (format YYYY-MM-DDTHH:MM:SSZ) Find events that were created after the datetime
created_at_end datetime (format YYYY-MM-DDTHH:MM:SSZ) Find events that were created before the datetime

Stay in the loop.

Sign up to our newsletter to keep up-to-date.