Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Python and yfinance

Hello everybody,

 

I write a very simple code (python) with yfinance

import yfinance as yf
data = yf.download("ALO.PA", period="1d", interval="1h")
print (data)
 
On BI I use the plugin candlestick but the only problem I have is that the time (each hour) in not taken appart.
I think I use to create a measu

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    Sorry, not very clear.

    Can you provide some detailed screenshots to describe the problem?

    Pay attention to protecting privacy.

    Is your question related to the Power BI Mobile App?

    Is it working properly on Power BI Desktop?

     

     

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hello,

      I think I choose the wrong category on the  support forum.. plus it's more a python problem I think

      But here is my problem :

      When I use my code in the terminal, you can see that there is the date :

      The code shows the stocks of the day and actualised it every hour as you can see. 

      But when I use it in power bi, there is not the date/hour :