Retrieve Quotes from Interactive Broker - API

Job ID: 36289490

Budget: €8 – €30 EUR

I need a few lines of code to download the following ticker from Interactive broker: "VXJ3". I use Python. I would like to download the latest price available (whether the quote is delayed or not).

I usually have this type of code but this time does not work.I would like to have the code written in a similar format please.

VIX_CELL = 'D48'
vix_c = Index('VIX')
ib.qualifyContracts(vix_c)
latest_vix_price = get_latest_price(vix_c, ib)
ws.range(VIX_CELL).value = latest_vix_price
Related categories: Python API