Тёмный

How to Trade Simple Moving Averages - Python Automation Tutorial 

Derrick Sherrill
Подписаться 84 тыс.
Просмотров 50 тыс.
50% 1

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 77   
@kingscreed1511
@kingscreed1511 3 года назад
Derrick. Thank you for these videos. Ive been working for the past 2 weeks on an algo, and greatly appreciate being able to rely on these vids
@outlaw4016
@outlaw4016 4 года назад
The SMA and the intraday series were inversed on my end, I removed df2.index = df1.index and that fixed the issue if anyone else runs into that issue.
@samsun01
@samsun01 4 года назад
Cool
@paullassa219
@paullassa219 3 года назад
needed this today thanks man
@outlaw4016
@outlaw4016 3 года назад
@@paullassa219 Sure thing. However, I HIGHLY recommend using plotly over this. Much, much simpler.
@William_sJazzLoft
@William_sJazzLoft 4 года назад
This is motivating me to look at your videos on numpy and pandas ☺😊😎
@DeViceCrimsin_
@DeViceCrimsin_ 4 года назад
I was expecting a MA cross but he's trying to do Bollinger Bands without the Bands. Odd strat but useful information.
@MrJYII
@MrJYII 3 года назад
Thanks for this video. Got me up and running in no time!
@ilyakazakov6351
@ilyakazakov6351 4 года назад
It's a very valuable information, Thank you so mach!!! Just I'm noob at Python
@William_sJazzLoft
@William_sJazzLoft 4 года назад
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.
@cliffkwok
@cliffkwok 5 лет назад
I love this, can you do more trading video!
@andrzejandrzejos6674
@andrzejandrzejos6674 5 лет назад
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 :)
@amirmoezi8316
@amirmoezi8316 3 года назад
Thanks a million for you invaluable content... it's just wonderful
@wkowalski
@wkowalski 3 года назад
Thanks dude... You are a national treasure!
@mattwarrensocal
@mattwarrensocal 3 года назад
You are uniquely qualified to provide exceptional content on youtube. Congrats and I hope wherever you are you are paid top in field.
@JosueLopezXIX
@JosueLopezXIX Год назад
Nice video. Where can I get the background for my video camera?
@nathanduchesne66
@nathanduchesne66 4 года назад
Great video! Thanks a lot for this :)
@artificial_square
@artificial_square 3 года назад
Great video! thanks for sharing us!
@valueray
@valueray Год назад
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?
@CptSuperiors
@CptSuperiors 4 года назад
Hey can you show us how you managed to ignore flat lines during closing hours? If so that would be great!
@stijn4332
@stijn4332 4 года назад
Hey, did you, or anyone, by any chance found this out in the meantime? :-)
@CptSuperiors
@CptSuperiors 4 года назад
@@stijn4332 use the time function to limit to only show x of min time and x of max time
@stijn4332
@stijn4332 4 года назад
@@CptSuperiors Thanks!
@hugooliva5845
@hugooliva5845 3 года назад
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)
@brianwake100
@brianwake100 3 года назад
Great video Derrick, I'm trying to get intraday_extended hours but failing. Any tips?
@ryankrueger8538
@ryankrueger8538 3 года назад
I keep getting yesterday's data. Is there a way where I can get the current stock data?
@ravichosun1
@ravichosun1 4 года назад
Can you explain why their is a meta_data variable set to the data frame. If I remove that unused variable, the code doesn't work. Thanks
@Ninja-xl6ld
@Ninja-xl6ld 4 года назад
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.
@outlaw4016
@outlaw4016 4 года назад
Try zooming in, also, i removed df2.index = df1.index and it looks right now.
@rodfather7825
@rodfather7825 3 года назад
GOOD JOB
@NareshKumar-rl9ny
@NareshKumar-rl9ny 4 года назад
Thanks sir , please make more vedio regarding stock market chart
@outlaw4016
@outlaw4016 4 года назад
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
@outlaw4016
@outlaw4016 4 года назад
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
@CptSuperiors 4 года назад
@@outlaw4016 What do you mean zoom in? When I press run I got an image that is 480p xD
@outlaw4016
@outlaw4016 4 года назад
​@@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!
@janiksextl4686
@janiksextl4686 4 года назад
Could you fix this? I have the same issue...
@jordankorach4876
@jordankorach4876 4 года назад
have you coded any algos for Forex? im looking to learn to do so and not quite sure where to start
@VSPuzzler
@VSPuzzler 4 года назад
how to do i do it with crypto currencies?
@ricardofuentes2080
@ricardofuentes2080 5 лет назад
hi! can you teach us how to program other indicators (RSI, etc) to have them all in the same plot?
@CodeWithDerrick
@CodeWithDerrick 5 лет назад
You got it!
@ricardofuentes2080
@ricardofuentes2080 5 лет назад
@@CodeWithDerrick Will wait for it!!
@nrnjn8547
@nrnjn8547 4 года назад
so what if i want for an entire month how wud that change the interval(syntaxwise)
@santhosh6700
@santhosh6700 3 года назад
Inspired....
@cocoon757
@cocoon757 4 года назад
Can you demonstrate how to calculate EMA? thanks!
@tufailabbasmaknojia6944
@tufailabbasmaknojia6944 3 года назад
you just need a nice camera placement and some better graphics and tada u will be having a noice dashing channel nice content
@cryptolife-sinhala1300
@cryptolife-sinhala1300 2 года назад
IS THIS CODE FOR 1HOUR SMA....?
@Derffie353
@Derffie353 4 года назад
Great stuff man and very down to earth !
@orayan11
@orayan11 4 года назад
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
@dhanpreetsingh
@dhanpreetsingh 4 года назад
Use that file in python n plot
@suniltekane6583
@suniltekane6583 4 года назад
how to mark HH and LL on chart
@Maciejo007
@Maciejo007 4 года назад
It looks great! Now try do that without libraries ;)
@manuelxmm
@manuelxmm 4 года назад
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
@mikesiakavellas3957
@mikesiakavellas3957 4 года назад
Type 4. close # space after 4.#
@avinandanbanerjee9568
@avinandanbanerjee9568 4 года назад
# is not a multiline comment XD
@benlipp7831
@benlipp7831 4 года назад
where can i find a library of the uses of alpha vantage?
@CodeWithDerrick
@CodeWithDerrick 4 года назад
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!
@IbrahimzaAbbas
@IbrahimzaAbbas 5 лет назад
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
@blion3d
@blion3d 4 года назад
Can you make a video about build simple trading bots for robinhood in python?
@CodeWithDerrick
@CodeWithDerrick 4 года назад
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!
@blion3d
@blion3d 4 года назад
@@CodeWithDerrick fantastic dude! I hope so
@luyanda7367
@luyanda7367 5 лет назад
Can you please do a video on how to rename drone images and extract specific exif data on all images and add that data to an excel sheet
@theguiller8455
@theguiller8455 4 года назад
nicee
@michaelscarn7375
@michaelscarn7375 4 года назад
Ground Control to major Dong....
@KendallAldapa
@KendallAldapa Год назад
With that binary options I can quit a job and start making easy money
@prod_djack00
@prod_djack00 3 года назад
Hi, how i turn my api key to some ticker symbol?
@quangkhainguyenhung9179
@quangkhainguyenhung9179 4 года назад
thanks for your video, can I ask where can I take the API key. I wanna to connect MT4 with Python, is your way works for it
@William_sJazzLoft
@William_sJazzLoft 4 года назад
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
@VSPuzzler
@VSPuzzler 3 года назад
How do i get crypto curency data
@christianwooldridge406
@christianwooldridge406 4 года назад
what text editor is this?
@Clipppur
@Clipppur 4 года назад
atom.io
Далее
Resources to Start Coding Trading Algorithms
8:55
Просмотров 332 тыс.
Data Cleaning 101 in Python
13:01
Просмотров 878
How to Code a Stock Trading Bot Class 1 of 5
24:26
Просмотров 120 тыс.
Python For Finance Portfolio Optimization
39:17
Просмотров 143 тыс.
What is Algorithmic Trading & How to Get Started
15:56
Просмотров 546 тыс.
Algorithmic Trading with Python and Quantopian p. 1
15:45
Build A Stock Prediction Program
39:05
Просмотров 311 тыс.