Hello. I am faced with the problem of getting the current price for options. Crypto, stocks, futures, everything works with them.
I send a request to subscribe "L1 update" like this:
{
"cmd": "subscribe",
"reqID": "183",
"success": "OK",
"resultcode": 200,
"result": {
"sub": "L1",
"subbed": [
"^ ES_220107C4585: GLOBEX"
]
}
}
And I only get the response once, and the response contains old data that was a few days ago:
{
"cmd": "L1Update",
"success": "OK",
"resultcode": 200,
"result": {
"sym": "^ ES_220107C4585: GLOBEX",
"timeStamp": "2021-12-18T00: 00: 00.003",
"price": 89.4,
"size": 0.0,
"volume": 0.0,
"bid": 85.72,
ask: 90.4
}
}
And no more answers come. In the Interactive Broker, the data on the current price is updated, in the MT program itself in the "AccountView" window, the data is updated, but for some reason this data is not transferred further, and this is only with options.