Backtesting Stock Trading Strategies in Python

  Рет қаралды 37,352

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 24
@ViralKiller
@ViralKiller 2 жыл бұрын
I have the best strategy..when your random friends start calling you "bro, should I buy Bitcoin now?"....that is the time to sell.....bloodbath like right now...you buy....don't need to see a single chart
@onzah3515
@onzah3515 7 ай бұрын
you nailed it. and now its time to sell
@leander79416
@leander79416 6 ай бұрын
worked well again in 2024
@icode7334
@icode7334 2 жыл бұрын
I feel like he is making money from both applying this to his portfolio and KZbin, great videos keep it up
@Jxmiecole
@Jxmiecole 2 жыл бұрын
Awesome, been looking for something like this in python for a while. Thanks!🎉
@PandorasBox2
@PandorasBox2 9 ай бұрын
i wrote few ones before, loved yours got few insights tnX man
@lellel3767
@lellel3767 Ай бұрын
Hey super helpful vid, about the commissions part you set 0.002 per trade but aren’t most brokers today commision free? Do you have to pay for each trade?
@danielngandu8656
@danielngandu8656 9 ай бұрын
Great video very insightful!
@ccmichaelson
@ccmichaelson Жыл бұрын
When I run your second example (towards end of video), I get the following: TypeError: Can't instantiate abstract class MyMACDStrategy with abstract method next
@Flamefire77
@Flamefire77 Жыл бұрын
Got any solutions??
@raphaelarguello5020
@raphaelarguello5020 6 ай бұрын
Great content, thanks for your work! I am struggling with the size of the position for the backtesting. I am trying to risk 1% of the available cash per position so I enter the sl and size = 0.01. However, the risk is completely off and it only risk 0.014% And in your code, you don't enter any size, do you know how much is risked per trade? Would you maybe have a solution please? Thanks for your help!
@vuvu7005
@vuvu7005 Жыл бұрын
since i dev trading software, thx for this easy and good tool !
@hourglass9
@hourglass9 Жыл бұрын
Great Video! Can you simultaneously do a backtesting on all 4 symbols like for example EURUSD and SPUSD so if I buy on SP500 on 2011-01-07 and sell on 2011-01- 10 then in the next buy this program will recheck the opportunity in EURUSD and SPUSD and automatically matches the buying signal and then buy that stock after 2011-01-10 in this way we can have a full return on investment based on different stocks 😀
@shubhampatel6908
@shubhampatel6908 Жыл бұрын
I am actually getting different return values for same date range and stocks. Any particular reason you think ? I am using data from yfinance as pd-datareader is not working for me. I don't think this is the issue as returns when holding are already same. I am confused and worried as this is finance related. Seems like dataset issue, I used stooq data and it took 2 less trades, these 2 trades changed the return amount by a lot.
@A_R_X
@A_R_X 7 ай бұрын
How can we load custom OHLC data in CSV file in backtesting.py , I'm failing to create a CSV file in a required format . Can somebody help . Thank You
@animal9470
@animal9470 5 ай бұрын
What about multi time frames
@neuvocastezero1838
@neuvocastezero1838 20 күн бұрын
Is anyone else getting "'infer_datetime_format' is deprecated" warnings?
@PivotPatTrades
@PivotPatTrades Жыл бұрын
Wow thanks!
@codingworld-programmerslif430
@codingworld-programmerslif430 2 жыл бұрын
I cant find that talib library. How to resolve it?
@daniel_bohbot
@daniel_bohbot Жыл бұрын
try this: conda install -c conda-forge ta-lib
@Satyam1010-N
@Satyam1010-N 2 жыл бұрын
A series for Quants (newbies ).
@tcgvsocg1458
@tcgvsocg1458 2 жыл бұрын
too muchh import! dislike
@vuvu7005
@vuvu7005 Жыл бұрын
this is python lul, go do it yourself in C ...
@shubhampatel6908
@shubhampatel6908 Жыл бұрын
write all from scratch lol
Predicting Stock Prices with FBProphet in Python
21:26
NeuralNine
Рет қаралды 31 М.
Algorithmic Trading Strategy in Python
20:54
NeuralNine
Рет қаралды 63 М.
НАШЛА ДЕНЬГИ🙀@VERONIKAborsch
00:38
МишАня
Рет қаралды 3,4 МЛН
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 222 МЛН
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 2,4 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 275 #shorts
00:29
How to Code a AI Trading bot (so you can make $$$)
35:09
Nicholas Renotte
Рет қаралды 667 М.
Backtesting.py - Full course in python
1:09:34
Chad Thackray
Рет қаралды 193 М.
Forex Trading Bot in Python - Strategy and Backtesting
19:22
NeuralNine
Рет қаралды 6 М.
ChatGPT created a trading strategy from scratch with backtest results!!?
12:45
Prateek Singh - LearnApp
Рет қаралды 78 М.
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 812 М.
How To Backtest A Trading Strategy in Python
21:00
CodeTrading
Рет қаралды 60 М.
Margin Crypto Trading Bots with Trality
26:19
NeuralNine
Рет қаралды 7 М.
GPT-Engineer: Your Own Personal Coding Assistant
18:14
NeuralNine
Рет қаралды 1,6 М.
НАШЛА ДЕНЬГИ🙀@VERONIKAborsch
00:38
МишАня
Рет қаралды 3,4 МЛН