I'm using GET_DATA etc. and getting back delayed quotes/prices/... What do I need to do to get re...

I'm using GET_DATA etc. and getting back delayed quotes/prices/... What do I need to do to get real time data? Do I have to use Websocket API ?

Welcome!

It looks like you're new here. Sign in or register to get started.

Best Answer

  • nick.zincone
    nick.zincone admin
    Answer ✓

    Hi @vlad.dimanshteyn

    You can use the following statement to get your constituents:

    option_chain,err = ek.get_data('0#SPX*.U', ['CF_NAME'])

    ahs.png

    And to get your real-time data, try something like this: (Note: The Pricing interface / WebSocket service has a limitation when making a single request - so you will have to break up the request into buckets - in the example below, I'm using a value of 100).

    ahs.png

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.