When I download the Real-Time Level 2 Data (DOM Data) the response comes in the following order.
{
"doms": [
{
"contractId": 1066001,
"timestamp": "2022-07-26T07:45:29.173Z",
"bids": [
{
"price": 1.2066,
"size": 34
},
{
"price": 1.2065,
"size": 63
},
{
"price": 1.2064,
"size": 58
},
{
"price": 1.2063,
"size": 58
},
{
"price": 1.2062,
"size": 74
},
{
"price": 1.2061,
"size": 65
},
{
"price": 1.206,
"size": 96
},
{
"price": 1.2059,
"size": 68
},
{
"price": 1.2058,
"size": 62
},
{
"price": 1.2057,
"size": 62
}
],
"offers": [
{
"price": 1.2068,
"size": 42
},
{
"price": 1.2069,
"size": 67
},
{
"price": 1.207,
"size": 70
},
{
"price": 1.2071,
"size": 68
},
{
"price": 1.2072,
"size": 83
},
{
"price": 1.2073,
"size": 66
},
{
"price": 1.2074,
"size": 65
},
{
"price": 1.2075,
"size": 80
},
{
"price": 1.2076,
"size": 87
},
{
"price": 1.2077,
"size": 68
}
]
}
]
}
Now the question is, how do I get the Market Position data in the DOM Chart, For Example, the Yellow Tick in the attached Image?
Please Help