Real Time Stock Market Data Analysis with Python – Five Minute Python Scripts




[ad_1]

Robinhood link: https://join.robinhood.com/derrics1642
Sign up with this link so you and I both receive a free stock!

Kite helps fund the channel, thanks for checking them out and supporting me —
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=derricksherrill&utm_content=description-only

In this video we talk about how to pull real time market data, minute by minute, from the stock market using Python and alpha vantage API.

I’m not an expert with the stock market & I’m not encouraging day trading. If you want to know my strategy for the stock market please let me know and I’ll do more content about the stock market.

Alpha vantage website:
https://www.alphavantage.co/

Thank you all for the support – you’re incredible. 2800 + Subs!! Please let me know how I can best keep making content for you all.

*****************************************************************
Full code from the video:

https://github.com/Derrick-Sherrill/DerrickSherrill.com/blob/master/stocks.py

*****************************************************************
Code from this tutorial and all my others can be found on my GitHub:
https://github.com/Derrick-Sherrill/DerrickSherrill.com

Check out my website:
https://www.derricksherrill.com/

If you liked the video – please hit the like button. It means more than you know. Thanks for watching and thank you for all your support!!

— Channel FAQ —

What text editor do you use?
Atom – https://atom.io/

What Equipment do you use to film videos?
Blue Yeti Microphone – https://amzn.to/2PcNj5d
Mic sound shield – https://amzn.to/3bVNkEt
Soundfoam – https://amzn.to/37NV9ci
Camera desk stand – https://amzn.to/3bX8xhm
Box Lights – https://amzn.to/2PanL95
Side Lights – https://amzn.to/37KSNut
Green Screen – https://amzn.to/37SFFnc

What computer do you use/desk setup?
Film on imac (4k screen) – https://amzn.to/37SEu7g
Work on Macbook Pro – https://amzn.to/2HJ5b3G
Video Storage – https://amzn.to/2Pey8sw
Mouse – https://amzn.to/2PhCtv3
Desk – https://amzn.to/37O1Mv1
Chair – https://amzn.to/2uqHE4E

What editing software do you use?
Adobe CC – https://www.adobe.com/creativecloud.html
Premiere Pro for video editing
Photoshop for images
After Effects for animations

Do I have any courses available?
Yes & always working on more!
https://www.udemy.com/user/derrick-sherrill-2/

Where do I get my music?
I get all my music from the copyright free Youtube audio library
https://www.youtube.com/audiolibrary/music?nv=1

Let me know if there’s anything else you want answered!

————————-

Always looking for suggestions on what video to make next — leave me a comment with your project! Happy Coding!

Source


[ad_2]

Comment List

  • Derrick Sherrill
    November 17, 2020

    Nice tutorial Derrick. I was running the script today and the last price that I obtained is from october 27th. Why is happening this?

  • Derrick Sherrill
    November 17, 2020

    Guys how do you find correct ticker?

  • Derrick Sherrill
    November 17, 2020

    Does this API works for INDIAN stocks/index?

  • Derrick Sherrill
    November 17, 2020

    subscribed! awesome job mate.

  • Derrick Sherrill
    November 17, 2020

    Anyone know to open the text editor im kinda new to this

  • Derrick Sherrill
    November 17, 2020

    Derrick thank you for yet another excellent and concise presentation. I replicated the code in a Jupyter notebook (Google colab/ipython). About 02:25:00, I ran into a slight speed_bump ( line 9 ). Upon execution I received what seemed somewhat anomalous results. PreMarket customarily opens @0830; there's one trade that's time_stamped prior to that. And after_hours concludes (supposedly) @1800. Yet it's immediately evident that there are four outliers!!! Are they 'dark pools'? Maybe. Have you seen similar time stamps in your output? My results follow. Thanks again Will in Hampton, VA

    date time 1. open 2. high 3. low 4. close 5. volume
    2020-10-12 1937 19.9700 19.9700 19.970 19.970 750
    2020-10-12 1836 19.9000 19.9000 19.900 19.900 301
    2020-10-12 1802 19.9800 19.9800 19.980 19.980 282
    2020-10-12 1801 19.9500 20.0000 19.950 20.000 3019
    2020-10-12 1724 19.9000 19.9000 19.900 19.900 250
    … … … … … …
    2020-09-29 0934 18.9300 18.9400 18.905 18.915 6599
    2020-09-29 0933 18.9000 18.9450 18.875 18.930 23931
    2020-09-29 0932 18.8500 18.9200 18.850 18.910 159255
    2020-09-29 0832 18.8900 18.9000 18.890 18.900 704
    2020-09-29 0809 18.7681 18.7681 18.760 18.760 400

  • Derrick Sherrill
    November 17, 2020

    Could you show the correct way to install this in Anaconda. I'm a beginner with Python, just learning.

  • Derrick Sherrill
    November 17, 2020

    What editor is this

  • Derrick Sherrill
    November 17, 2020

    We need more videos like this, please its really helpful

  • Derrick Sherrill
    November 17, 2020

    i uses this code
    period = 60

    ti = TechIndicators(key = api_key, output_format= 'pandas')

    data_ti,meta_data_ti = ti.get_rsi(symbol='MSFT', interval = '10min',

    time_period = period, series_type='close')

    and i am getting and error : Error getting data from the api, no return was given.
    Can you explain the reason and provide solution?

  • Derrick Sherrill
    November 17, 2020

    Hi Derrick,

    Is it possible for you to make a similar project from yfinance for a series of stocks.

  • Derrick Sherrill
    November 17, 2020

    It doesn't work at all. It just returns the data for previous days, but zero information about today's quotes. I have copied your algorithm from github and got this result. Can you give an advice about what to do in this situation?

  • Derrick Sherrill
    November 17, 2020

    Thanks! good work

  • Derrick Sherrill
    November 17, 2020

    any cool little gadget that help people make better trades

  • Derrick Sherrill
    November 17, 2020

    excel part is not working

  • Derrick Sherrill
    November 17, 2020

    Will this python prediction model work work with indian stocks ?

  • Derrick Sherrill
    November 17, 2020

    Do you can help about one ema cross alert, cripto in binance?
    tks for all
    good job

  • Derrick Sherrill
    November 17, 2020

    it’s a good channel thank you
    just one question please : when i import data from excel to do a graphic with datetime 64 (hourly)type it’s not work i should modify this column by a series of 1-2 3 and so on please if you have a solution
    thanks

  • Derrick Sherrill
    November 17, 2020

    Can you do similar thing for Option Chain from web in excel for given symbol and expiry date??

  • Derrick Sherrill
    November 17, 2020

    Derrick, you give YouTube a good name…

  • Derrick Sherrill
    November 17, 2020

    hey there! which editor are you using? new to this, so i'd like to correlate with yours

  • Derrick Sherrill
    November 17, 2020

    after watching your video on technical indicators plotting as well, would it be possible to chart this real time data along with the indicators to run all day?

  • Derrick Sherrill
    November 17, 2020

    This was awesome! Helping my build my resume during quarantine!

  • Derrick Sherrill
    November 17, 2020

    Is these projects for beginners?

  • Derrick Sherrill
    November 17, 2020

    Great video man. Keep it up. Can you show a script how to find price vs volume data (not high low open close) so one can better understand how far the stock will go today.

  • Derrick Sherrill
    November 17, 2020

    Perfect fast paced jam packed session. Love it.

  • Derrick Sherrill
    November 17, 2020

    What is meta_data? Thanks!

  • Derrick Sherrill
    November 17, 2020

    don't you have one of those for dummies or for people who is just getting started on pyhon? haha

  • Derrick Sherrill
    November 17, 2020

    hey, have you an edea for Discrete Wavelet Transform stock market price python please ?

  • Derrick Sherrill
    November 17, 2020

    apart from the real nice tutorials:

    this dude just straight up looks like a disney prince and princess at the same time.

  • Derrick Sherrill
    November 17, 2020

    you all need – openpyxl for excel file storage, – you can install by pip3 install openpyxl

  • Derrick Sherrill
    November 17, 2020

    Does this not pull the current days stock trades? its the 14th of august and it stops at 13th.

  • Derrick Sherrill
    November 17, 2020

    Hi Derrick, awesome job. I am not on any Social Media sites. I like to get in touch with you. Can you let me know how we can talk. I need you to write me a quick program.

Write a comment