MARGIN_INFO

Description

Provides critical information for risk management.

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": "MARGIN_INFO","SYMBOL": "EURUSD","VOLUME": 1,"ORDER_TYPE": 0}

Reply

{
"MSG": "MARGIN_INFO",
"SYMBOL": "EURUSD",
"VOLUME": 1,
"REQUIRED_MARGIN": 1082.45,
"FREE_MARGIN": 8500,
"MARGIN_LEVEL": 850.25,
"CAN_TRADE": true
}