Revolutionize Your Stock Trading Strategy with Automated Trading in Python

  Рет қаралды 14,188

CodeTrading

CodeTrading

Күн бұрын

Пікірлер: 53
@tvstanuj6196
@tvstanuj6196 2 жыл бұрын
Great Video, Loved it . Can you please share any resources related to the long only method, like why you used rsi and adx indicators and how did you fix the values and all.
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
Hi thank you for your comment, at first the indicators were required by the mentioned viewer, but also it was worth a try because we already used RSI combination with ADX and it showed a somehow positive potential. This whole trend trading is also inspired by Rayner Teo BB strategies.
@jameswang6714
@jameswang6714 2 жыл бұрын
@CodeTrading: The video is great. Since the useful status for EMASignal are bull(upt=1, dnt=0), bear(upt=0, dnt=1) and middle between(upt=dnt=1), so the content of addemasignal() function can be simplified into one line of code: df['EMASignal'] = [1 if df.High[i]
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
Hi, thank you for sharing especially the comprehensions part I always like to shrink codes this was once they work, unfortunately for KZbin I tend to leave the mess as is 🙂
@jameswang6714
@jameswang6714 2 жыл бұрын
@@CodeTradingCafe Making the idea work is No.1 issue. Improvement is second. Appreciate all you did🙏👍
@ACN28
@ACN28 8 ай бұрын
how can i download the code?
@CodeTradingCafe
@CodeTradingCafe 8 ай бұрын
Hi, there is a link in the description usually for all the videos. check the description and the link.
@Munetaka
@Munetaka 2 жыл бұрын
Does the Backtest compares the strategy with some control profit? By control profit I mean something like the percentage profit you will have just holding from the begining until the end. So in case the controm profit is 150%, you know the strategy overcomes by 51%.
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
Good point in fact you can see in the results that the buy and hold return ratio is used as a reference and performs probably better but you are right it would be good to have more reference strategies.
@denizhan1010
@denizhan1010 2 жыл бұрын
@@CodeTradingCafe vectorbt module avesome but I couldn't run. you can backtest only one module with all strategy. Im backtesting with pine script is fake. I dont bleave to indicators, for backtest idea barback[x] now[y] avarage = x + y / 2 loop for x,y ,tp1,tp2,stoploss prameters long = ta.crossover(price,avarage) short = ta.crossunder(price,avarage) tp1 = [] tp2 = [] stoploss = and strat to trend trading.
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
@@denizhan1010 Hi, yes I tried with vectorbt but I found the documentation a bit scarce so it's time consuming to try and achieve a backtest. I personally found backtesting.py more user-friendly. Maybe in the future I will experiment on other tools.
@sunnyw7109
@sunnyw7109 2 жыл бұрын
Have any python code that can auto copy Teragram‘s Binary option Signal then trade?😮
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
Hey Sunny, unfortunately not, there's a lot to do and so little time 🙂
@nageshreddy5368
@nageshreddy5368 2 жыл бұрын
Hi, i like all your videos, very educational and impressive. i was wondering if you could make a video with backtest on PSAR indicator in Python. Long if PSAR prints buy signal and Price above 200 EMA and vice versa for short. One more optional condition can be take the trade only if the candle closes above the last previous (Sell or Buy) dot of PSAR. Thanks
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
Hi thank you! Will check these indicators out, hopefully we learn something.
@leandropenaloza9208
@leandropenaloza9208 2 жыл бұрын
Hey grate videos! I'm just found you channel. I'm wondering where I can start to learn about finance to understand even more what you are doing. I know python language but not that much of finance. Thanks in advance and keep going!
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
Hi thank you for your support, you can start using free resources like babypips and similar websites. Never pay for any thing basically all is available for free, KZbin is good but as a second phase. Also nothing replaces experience so you can open a demo account and trade with virtual money to practice and see how it works, Never trade with real money it took me 2 years to become profitable... Good luck!
@Kay-qg1vn
@Kay-qg1vn 2 жыл бұрын
Where can one find reliable symbol data? Where do you get your data? Is yfinance data reliable?
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
For daily timeframe I think yfinance is good enough, for lower timeframes I download data from dukascopy. There might be other sources but not for free.
@Kay-qg1vn
@Kay-qg1vn 2 жыл бұрын
@@CodeTradingCafe Okay thanks buddy, looking forward to your videos.
@robnotaro8584
@robnotaro8584 2 жыл бұрын
Any chance you can do a video on an options debit spread bot?
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
I am not very familiar with related strategies, I will have to inquire how it can be put in algorithms, if you have nice reading source it would be great.
@harshadkashyap4195
@harshadkashyap4195 2 жыл бұрын
Can you please explain what you mean by margin here?
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
Hi, margin is the leverage for example margin 1/50 is leverage 1-->50
@harshadkashyap4195
@harshadkashyap4195 2 жыл бұрын
@@CodeTradingCafe okay in India there's leverage available only on shorting
@harshadkashyap4195
@harshadkashyap4195 2 жыл бұрын
@@CodeTradingCafe can you pls tell me where I can find the backtesting package that you use in the code?
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
@@harshadkashyap4195 you can install it using pip, pip install backtesting or from the notebook use !pip install backtesting
@suzzanemathis7472
@suzzanemathis7472 2 жыл бұрын
When it comes to currency market, most traders would probably just want to know how to hurry up and make money. but there more to been a successful trader. The more traders understand the past and current markets, the better prepared they are to face the future. Many traders fail because their strategies fail to adapt to changing market conditions. Traders know how to make money in specific markets but likely to fail in the long run because their strategies don't adapt to inevitable changes in market conditions. Erik Ming strategies perform well while the market experiences both bull and bear impulses. Classic rules from pro traders can help keep a sharp focus on profitability. He's been a proficient trader, this is a more reason it preferable to remain under the guild and umbrella of a pro trader.
@Annbobby
@Annbobby 2 жыл бұрын
How can i reach Erik for crypto trading signal?
@suzzanemathis7472
@suzzanemathis7472 2 жыл бұрын
You can communicate with him on telegram with the user name below
@suzzanemathis7472
@suzzanemathis7472 2 жыл бұрын
@ ERIKMING
@dawnbrenda6527
@dawnbrenda6527 2 жыл бұрын
*As it stands the market seems unfavorable. But what assurance do i get from trading with Mr Ming ? because the market looks scary to enter right now.*
@tanyachuaswee5596
@tanyachuaswee5596 2 жыл бұрын
@@dawnbrenda6527 I recently started trading with Erik's signal and it is very welcoming, educative and profitable 💯
@anaslahlou6095
@anaslahlou6095 2 жыл бұрын
First of all, big up for the great work you are doing I joined lately a chanel on telegram of pump and dump, and it's like they are exploiting the users since they do buy before hand, and they have what they call "a VIP group" who gets the coin name before. The idea is to buy the coin which will get the price pumped, and then dump it. I would like to know if you can create algorithm that detects a pump, not necessarily pump and dump, any pump. I think that the volume is a good indicator (a jump in % to optimize compared to a N candle mean), same thing for the price, it should have an up trend. Now for selling I'm having some difficulties, I guess a drop in price or volume or a combination of both would do the trick, but some deep learning can give far good results.
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
Thank you for your support. It's possible to detect volume change and it's considered a good indicator (check previous videos using ADX I also use volume for confirmation). The only problem is to get reliable volume data, I am not sure the volume column that we normally download is entirely accurate, it might be broker dependant. There is a paid service for large companies they get the real data I am not sure it's available for individuals.
@anaslahlou6095
@anaslahlou6095 2 жыл бұрын
@@CodeTradingCafe I see, thank you for your response. I will be looking into this, I guess I can use some web browser extension to parse data from exchanges, it's not very practical as getting data directly from the source, but it will be accurate enough.
@Kay-qg1vn
@Kay-qg1vn 2 жыл бұрын
Great🤝
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
Thank you
@avinasbr
@avinasbr 2 жыл бұрын
Hi @codeTrading Thanks for awesome content. Can you please make a video on paper trading bot to test on live market feed and store in a database. Thanks in advance.
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
Hi thank you, I did bots in the past, problem is testing live takes time so not very practical for a KZbin video, but yes ideally I could put our best indicators into a bot and let it run.
@rupertpupkin6456
@rupertpupkin6456 2 жыл бұрын
@@CodeTradingCafe love your ideea. I read almoust all mesages to see when you're starting a bot. love your videos
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
waiting for the perfect strategy 🙂
@rupertpupkin6456
@rupertpupkin6456 2 жыл бұрын
@@CodeTradingCafe I sent you an email. thanks
@Dr.jayfrancis
@Dr.jayfrancis 2 жыл бұрын
👑👑👑👑
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
Thank you for your support 😊
@jama4002
@jama4002 2 жыл бұрын
hi very good video, thanks, i develop a IA model, its is not linked to Indicators I am using more than 47 Xs variables, and I reached this result, Accuracy train: 97.20% Accuracy test: 97.56% 1.0 50.1196 0.0 49.8804 Name: Res, dtype: float64 Accuracy Gambler: 33.51% and f1 is 95% when I use the strategy 100 / 50 target it is the double than the stop loss, my accuracy must be multiply by 50 % and the model accuraccy reach just d¡the 48%, I am right?
@jama4002
@jama4002 2 жыл бұрын
and another question, I do not how to perform a good backtesting, because i just found the CLOSE, HIGH, OPEN and LOW, but the price moves in this certaint period of time, so i do not wich I reched firts the target or the stopp loss if the price touch both in a certain candle (50/50) maybe for each fake order during my backtesting?
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
Hi, you have good numbers it seems, yes for the first question your accuracy should be around 50 percent.
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
For the second question you need different data, so called tick data, these can be downloaded but are huge in size so you can download only one week or so at a time if you have the space, technically it's challenging to handle.
@jama4002
@jama4002 2 жыл бұрын
@@CodeTradingCafe thanks a lot for your response, I going go searching about thick data, I am using a control data for each prediction to identify if my predicción are good there are some technique to improve my model overol New data prediction and new tag. Right now I am controlling the bid when I am trading. I just enter if the last 10 prediction have a 90% accuracy.
@CodeTradingCafe
@CodeTradingCafe 2 жыл бұрын
@@jama4002 sounds good the 90 percent accuracy, smart move!
LSTM Top Mistake In Price Movement Predictions For Trading
9:48
CodeTrading
Рет қаралды 104 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
How To Backtest A Trading Strategy in Python
21:00
CodeTrading
Рет қаралды 62 М.
Price Trend Channels Automated In Python
27:56
CodeTrading
Рет қаралды 35 М.
MAXIMUM TRADING GAINS - Using Price, Time & Volume.
22:37
Financial Wisdom
Рет қаралды 155 М.
Rayner Teo Bollinger Bands Strategy Backtest In Python High Return
23:29
Convert TradingView Indicators into Strategies with AI (IT FINALLY WORKS)
21:49
Automated Price Action Trading Strategy In Python
32:48
CodeTrading
Рет қаралды 50 М.
Proven to Work VWAP Trading Strategy to MAGNIFY Your PROFITS
17:11
Bybit Learn Official
Рет қаралды 224 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН