00:04:56 To see all the data in the Time Series print total_df ( which is line 23 in the code ). If the Jupyter Notebook crashes ( as it sometimes notoriously does ) you may have to reinstall as follows: !pip install alpha_vantage.
Yes trading videos are awesome ! I'd love to see video about backtesting strategy with Python :) P.S To strategy that you talking about in that video (mean reversion) you can also use Bollinger Bands :)
any idea how to code in python: how "respected" is as example the sma50? how much does it act as support/resistance with a measured and reliable number?
didn´t even work the first two lines, gives me these errors: ts=TimeSeries(key=API_VANTAGE_KEY,output_format='pandas') data_ts=ts.get_intraday(symbol='MSFT',interval='1min',outputsize='full') JSONDecodeError: Expecting value: line 1 column 1 (char 0)
No matter which symbol I type, it always looks the same and not like your graph. Mine has many straight lines. Does somebody knows whats wrong? I typed exactly the same code.
Hey man, On your graph yours doesn't show the hours when the market is closed, but mine indicate it with a long straight line during hours when the market is not operating, and it makes my graph look bad. Any way around this? I copied your code from your github exactly the same
In case anyone is wondering, the issue I was having is I was not zooming in on my graph. If you zoom in on the graph, it will look normal. I am not aware of a way to stop the long straight line between days. But it shouldn't matter.
@@CptSuperiors There should be a magnifying glass somewhere on the graph, click that will allow you to zoom in on the graphic, giving you a better image!
Hi Derrick pls help, I have single cell in excel which is updating market price every 5 minutes now I want to plot chart in excel which gets updated every 5 minutes
Why do I get an error on "df2" when I define it exactly as you did trying to use '4. close' to index it? I can't seem to be able to isolate the close values into df2 from the entire time-series :-/ . I also tried df2 = data_ts[4] but no luck. Could anyone help? I followed exactly the steps described in the video....thanks df2 = data_ts['4. close'].iloc[period-1::] TypeError: tuple indices must be integers or slices, not str
Hey Ben Lipp, their documentation has everything you can do with AlphaVantage: www.alphavantage.co/documentation/ I've been putting everything I do working with alpha vantage in this repo on github if you want to see some code in action: github.com/Derrick-Sherrill/alpha-vantage-examples Happy Coding!
how can write a customized function different periods.. as per your video u have calculate periods=60, i want to know without specify the period how can write the program different periods with user give input period
Yes! I've been working on making a trading bot using Alpaca since Robinhood doesn't have programmatic trading functionality. With all the market volatility right now I'm struggling in creating a worthwhile algorithm, but hopefully soon!
Hey Quang. He does allow you to use the one he specifies. But you can also go to www.alphavantage.com where you can easily obtain an API key for yourself