Get trade .

GET

Request

/trade/{trade_id}

Response

{
    "result": "success",
    "status": 200,
    "code": "SUCCESS",
    "message": "Success",
    "data": {
        "trade": {
            "id": 277596775,
            "created_at": "2020-04-14 10:48:58",
            "updated_at": "2020-04-14 12:16:45",
            "state": "open",
            "account_id": 43811,
            "ticket": 4186739,
            "type": "buy",
            "symbol": "XAUUSD",
            "lots": 0.05,
            "open_time": "2020-04-14 15:48:58",
            "open_price": 1721.07,
            "stop_loss": 0,
            "take_profit": 0,
            "close_time": null,
            "close_price": null,
            "commission": -0.5,
            "swap": 0,
            "profit": 22.4,
            "magic": 0
        }
    }
}

Stay in the loop..

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