Request for the Crowd Mood indicator
Request format
{
"CollectSuffixes": true,
"Book" : "BBook",
"Symbols" : ["EURUSD", "GBPUSD"],
"RequestId": "c1549b18-3ccb-4500-a928-7ff27e8d1fe9",
"Nodes": [
Node1
],
"RequestName": "RequestSentiments"
}
Request parameters:
| Name | Description |
|---|---|
| RequestId | Unique GUID request identifier |
| CollectSuffixes | true – aggregate all suffix symbols into a single symbol; otherwise, display separate statistics for each, including their contracts |
| Book | Enumeration: AllBooks, ABook, BBook |
| Symbols | Filter – list of calculated symbols |
| Nodes | List of nodes included in the request. If empty, all available nodes are used. |
| RequestName | Type of request |
Response ResponseSentiments
{
"Result": {
"Timestamp": "2019-04-27 10:53:53:765",
"Symbols": [
{
"Symbol": "GBPUSD",
"Buyers": 707,
"Sellers": 563,
"VolumeBuyInUsd": 850630087.33,
"VolumeSellInUsd": -1547908308.46
},
{
"Symbol": "USDCAD",
"Buyers": 198,
"Sellers": 319,
"VolumeBuyInUsd": 50606000,
"VolumeSellInUsd": -33249000
},
{
"Symbol": "EURUSD",
"Buyers": 1362,
"Sellers": 847,
"VolumeBuyInUsd": 1500653322.47,
"VolumeSellInUsd": -1695579826.06
},
]
},
"Errors": [
{
"Node": "Node3",
"Platform": "Mt4",
"Result": "Error message",
"ResponseNode": "ResponseNodeError"
}
],
"RequestId": "63cf9541-8a01-4c75-8d1b-97137cace952",
"ResponseMaster": "ResponseSentiments"
}
Errors or an empty list or a list of responses of the ResponseNodeError nodes