filmov
tv
How to Trade Simple Moving Averages - Python Automation Tutorial
Показать описание
Learn How to trade stocks using simple moving averages and Python programming! #Python #AlphaVantage #Tutorial
Kite helps fund the channel, thanks for checking them out and supporting me --
The end result will be a Python script we can use to get real time simple moving averages and closing prices. Then we can take this data and create a plot that helps us identify trends and times to purchase and sell.
AlphaVantage API key request:
More AlphaVantage Examples:
Install Pandas:
Install AlphaVantage:
Thanks so much for the continued support! 4500+ Subscribers at the time of writing! How awesome. The channel is really picking up and some really cool things are in the works. It wouldn't be possible without each of you. Thank so much for letting me make content and supporting me.
Join The Socials --
Picking Shoutouts Across YouTube, Insta, FB, and Twitter!
*****************************************************************
Full code from the video:
import pandas as pd
api_key = 'RNZPXZ6Q9FEFMEHM'
ts = TimeSeries(key=api_key, output_format='pandas')
period = 60
ti = TechIndicators(key=api_key, output_format='pandas')
time_period=period, series_type='close')
df1 = data_ti
df2 = data_ts['4. close'].iloc[period-1::]
print(total_df)
Packages (& Versions) used in this video:
Pandas == 0.25.0
alpha_vantage
matplotlib
*****************************************************************
Code from this tutorial and all my others can be found on my GitHub:
Check out my website:
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!!
Always looking for suggestions on what video to make next -- leave me a comment with your project! Happy Coding!
Kite helps fund the channel, thanks for checking them out and supporting me --
The end result will be a Python script we can use to get real time simple moving averages and closing prices. Then we can take this data and create a plot that helps us identify trends and times to purchase and sell.
AlphaVantage API key request:
More AlphaVantage Examples:
Install Pandas:
Install AlphaVantage:
Thanks so much for the continued support! 4500+ Subscribers at the time of writing! How awesome. The channel is really picking up and some really cool things are in the works. It wouldn't be possible without each of you. Thank so much for letting me make content and supporting me.
Join The Socials --
Picking Shoutouts Across YouTube, Insta, FB, and Twitter!
*****************************************************************
Full code from the video:
import pandas as pd
api_key = 'RNZPXZ6Q9FEFMEHM'
ts = TimeSeries(key=api_key, output_format='pandas')
period = 60
ti = TechIndicators(key=api_key, output_format='pandas')
time_period=period, series_type='close')
df1 = data_ti
df2 = data_ts['4. close'].iloc[period-1::]
print(total_df)
Packages (& Versions) used in this video:
Pandas == 0.25.0
alpha_vantage
matplotlib
*****************************************************************
Code from this tutorial and all my others can be found on my GitHub:
Check out my website:
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!!
Always looking for suggestions on what video to make next -- leave me a comment with your project! Happy Coding!
Комментарии