Logo

    CONNECTION_STATUS

    Description

    Provides important status information to check system reliability.

    Important

    All JSON commands you send to MetaSocket should be in a single line format similar to the examples below. Additionally, example replies in this page are presented in a "beautified" format for presentation purposes. Actual replies are always returned in a single line.

    Example

    {"MSG": "CONNECTION_STATUS"}

    Reply

    {
    "MSG": "CONNECTION_STATUS",
    "CONNECTED": true,
    "PING": 45,
    "COMPANY": "My Broker",
    "SERVER": "MyBroker-Demo",
    "TRADE_ALLOWED": true,
    "EXPERT_ENABLED": true
    }