How to Plot Streaming Data from ek.StreamingPrices?

I've successfully used created a cache using ek.StreamingPrices and have been able to see a pandas DataFrame update with streaming prices. However this is all i am able to do. I am wondering how you can further utilize this data and work with it. I am looking primarily to visualize streaming prices but have no luck. Any help would be appreciated, Thanks!

Welcome!

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

Best Answer

Answers

  • Hi @r.patel,

    In terms of what the API can do for you, it will maintain an up-to-date cache of the data - which is what you are currently using it for. It also provides the ability to capture realtime updates through lambda expressions. For example, from the Eikon PiPy page:

    image

    With this capability in place, you can visualize streaming data within your applications based on changes in the market.

  • sdittmar
    sdittmar Explorer

    Hi @r.patel. Are you using the `on.update = ` parameter to write to the DataFrame? Do you mind appending some code example to your question for that part?

  • Code that is almost identical to what I was using is in Nick Zinconne's response below

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.