Get data using phyton

Hello there:



I want to refer to this video : Course Name: Momentum trading Strategies , Section No: 4, Unit No: 1,  This video actually shows a part of a code written in Phyton that actually downloads TSLA data.

The code downloads data from 2020-13-19 to 2020-02-10, but I wonder…



Is it possible to obtain data from a shorter period (minutes for example) instead of daily data (using yfinance)??  If it is possible, how is it done??



Thanks a lot

Hi Ghery,

Some websites like Yahoo! Finance may provide historical data for intraday frequency, but the data may only be limited to a certain number of past entries as intraday data is offered as a demo/trial feature.



To get access to high-quality historical data in intraday frequency for a larger time window, you will need to subscribe to paid sources such as Bloomberg, Refinitiv, Algoseek, Tick Data or Alpha Vantage. You can refer to this blog for your free and paid sources of market data. You can also check out the free Quantra course on getting market data.



Hope that helps!

Thanks,

Gaurav