QUOTE

Description

Provides Ask and Bid prices of a symbol including broker-based time.

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": "QUOTE","SYMBOL": "EURUSD"}

Reply

{
"MSG": "QUOTE",
"SYMBOL": "EURUSD",
"ASK": 1.17839,
"BID": 1.17832,
"FLAGS": 6,
"TIME": "2025.09.19 06:12:11",
"VOLUME": 150,
"ERROR_ID": 0,
"ERROR_DESCRIPTION": "The operation completed successfully"
}