Jump to content
Medved Trader Forums

L1 update with options does not work


Ilya

Recommended Posts

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.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...