Get command .





    "result": "success",
    "status": 200,
    "code": "SUCCESS",
    "message": "Success",
    "data": {
        "command": [
                "id": 66,
                "created_at": "2020-06-22T12:03:26Z",
                "updated_at": "2020-06-22T12:03:26Z",
                "account_id": 3,
                "group": "trade",
                "event": "position_open",
                "event_id": 483,
                "copier_id": 58813,
                "lead_id": 4,
                "command": "open",
                "status": "abandoned",
                "priority": 1,
                "result": "trade_exists",
                "mt_error": null,
                "lead_symbol": "USDCHF",
                "mapped_symbol": "",
                "open_price": 0.95035,
                "lots": 0.1,
                "type": "buy",
                "risk_type": 0,
                "risk_value": 1,
                "force_min": "no",
                "max_lot": 50,
                "slippage": 5,
                "sl_type": "none",
                "sl_value": 0,
                "tp_type": "none",
                "tp_value": 0,
                "comment": "75 ",
                "magic": 75



Value Description
trade Created by trade event for a copier
user Created by user
copier Created by copier event
account Created by account event


Value Description
complete Command has been completed
working Command has not been completed
paused Command paused
abandoned Command abandoned
paused Command cancelled by user


Value Description
success Completed successfully
mt_error MT4 error code returned from broker
not_found Trade not found by ID
trade_closed Trade already closed
trade_exists Trade already exists
symbol_not_found Could not match symbol
out_of_range Open price beyond slippage setting
trade_not_allowed Trade not allowed by broker
open_volume_less_than_minimum Lot size less than broker minimum
close_volume_less_than_minimum Close lot size less than broker minimum
no_valid_filling_mode MT5 error for no valid filling mode
stop_loss_missing Stop loss required to open trade
invalid_risk_configuration Bad risk configuration on copier


Value Description
open Open trade command
close_full Close trade fully command
close_partial Close trade partially command
modify_stop_loss Modify stop loss command
modify_take_profit Modify take profit command
modify_pending_price Modify pending order price command

Stay in the loop..

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