Тёмный

ChatGPT Trading strategy 20097% returns? 

QuantProgram
Подписаться 85 тыс.
Просмотров 1,3 млн
50% 1

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

 

17 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 557   
@quantprogram
@quantprogram Год назад
Visit our channel for more free Pinescript Strategies. Timecodes 0:00 - Intro 1:45 - Create algorithmic trading strategy chatgpt 2:35 - Backtesting moving average strategy 3:30 - Generating Code for backtesting in chatgpt 4:27 - Download stock data code in python 5:25 - Python code for yfinance chatgpt 5:13 - Forward Testing 7:00 - Optimization 9:10 - Course Strategy results via Optimization 11:24 - Machine Learning Optimization Code in Python in Chatgpt 12:35 - Parameter Optimization 13:45 - Moving Average parameter Optimization 15:35 - API for brokers python 16:45 - Trading strategy in cloud chatgpt 17:30 - Pinescript code for moving average 18:40 - Trying the trading strategy generated by Chatgpt 21:00 - Asking chatgpt to create a 3000% strategy 22:00 - Creating a momentum long only strategy 23:00 - Backtesting th estrategy generated by chatgpt 23:40 - Tweaking strategy to get 20097% returns 28:15 - Finding intrinsic value of company using chatgpt Dont take the strategy as financial advice. The whole video is just about how to get information and codes regarding financial trading and algorithmic trading from chatgpt. Further research has to be done before going live in any strategy. Thanks much. Let me know if you guy shave any doubts or clarification. Happy to help
@isisisis123
@isisisis123 Год назад
@@scenefilm4230 He used Python. I do not get what you intent
@just_another_smoker8687
@just_another_smoker8687 Год назад
But what you showcased means enterning on day 1 of history right? thats why it has such profit or am i wrong?
@quantprogram
@quantprogram Год назад
@@just_another_smoker8687 Not really. The strategy is backtested from inception of the stock. But multiple trades are done. However the results doesn't mean anything like i said in the video. We need to do other quant analysis like portfolio backtest, optimization, forward testing and monte carlo before we even think of going live. The whole idea of this video is to help traders use chatgpt to get information and codes to backtest efficient strategies.
@thatguy7085
@thatguy7085 Год назад
I’ve tested it with law cases… it gives general information and it isn’t quite right. It is OK… this is knowledge, not intelligence
@1ndraNugraha
@1ndraNugraha Год назад
where is the sript?
@vinosamari
@vinosamari Год назад
1. You should look into prompt engineering to help you modify the responses you get from the AI based on how you word your prompts. It helped me immensely and i believe it will increase the quality of the results you get. 2. Try to fact check some of the information because the model can sound factual about non-factual subjects sometimes(OpenAI indicates this in their documentation). Great content.
@quantprogram
@quantprogram Год назад
I did not know this. Thats quality information mate. Thanks much. Will look into it
@Qban220
@Qban220 Год назад
@@quantprogram Yeah, you can ask to explain CGPT's answers in detail, and you don't need to refrain your question every time. It'll follow and "remember" the conversation down to 1st question.
@quantprogram
@quantprogram Год назад
@@Qban220Thanks Jack. Will attempt it that way as well. I did notice this sometimes i ask the same question but its in a different chat, the wordings are quite different. I wont be surprised if chatgpt is improving on its information as more people asks questions
@doremind1
@doremind1 Год назад
I tried making a simple trend indicator and telling cgpt all the errors i was getting, he kept modifying the script till it worked. This thing is amazing. 🤖 edit: i used "he" instead of "it" lol 😁
@Corteum
@Corteum Год назад
Vino, where's a good resource to learn about prompt engineeirng? what's the best you'vve come to so far
@elliothimmelfarb4248
@elliothimmelfarb4248 Год назад
Something to keep in mind when using CGPT is it's most effective when you converse and collaborate with it. Within the thread, it remembers everything you and it have already said, so you can refer back to those things to ask for refinements and set expectations for future answers. What most people don't get is that everything you might say to another person, or in the case of the video audience, you can say to CGPT to help it provide better answers. Instead of saying to the audience, "it didn't say why it used something," or "it didn't use the right thing," say that to CGPT: "Why did you use that?" or "rewrite this using x strategy or technology." An example of the expectations for future answers, you can tell it: "for all future code that uses pinescript in this thread, include the version comment at the top, set to version 4, and use 4 spaces for each indentation." What's revolutionary about this technology is that if it gives you something that isn't what you are looking for, you can describe to it what is wrong with it or what would be more right about it, and it will understand that with natural language. The more you converse and refine the results, the better they will be. Great content and thanks for the video! Hope this comment is helpful to whoever reads it.
@haydensteinweg8986
@haydensteinweg8986 Год назад
Wow this was really insightful! I think a major misconception with this tech is that it is like a Q & A forum with the AI, not an open dialogue with the AI
@quantprogram
@quantprogram Год назад
Thats correct mate. Thanks for the comment. Appreciate it
@surfingsub5854
@surfingsub5854 Год назад
I don't use it for Trading, but I do use it for coding and absolutely conversing with the AI is amazing. Initially it often provides wrong or bad code but with a bit of back and forth dialog it can produce some fantastic results.
@surfingsub5854
@surfingsub5854 Год назад
@@jadebreed3333 Yes, true that once you disconnect it forgets. That sucks, but during a coding session it does pay off to converse ideas as it will alter it's outcome better.
@jadebreed3333
@jadebreed3333 Год назад
@@surfingsub5854 couldn't agree more. It's incredible.
@apathyreview3964
@apathyreview3964 Год назад
I don't think people realise in how many areas this is being used and how game changing it will be.
@asj4085
@asj4085 Год назад
Alot of companies going to be taking hits! Also you need to consider that majority of the population are not smart enough to use to ChatGPT to its full capabilities. But, for those who do know how to use ChatGPT, it's going to total domination in their field
@carmindaAntunes
@carmindaAntunes Год назад
Investing in the stock--market and crypto is the best option to make a passive income. Virtually all the markets are crazy, most people pay more attention to the shiniest position on the graph, I'm keeping a diversified portfolio. !!!
@mohammeddumadi8323
@mohammeddumadi8323 Год назад
Investing in stock is a good idea, a good trading system would put you through many days of success.
@Brendavonrohr4
@Brendavonrohr4 Год назад
@@Stephenfanos37 That's impressive!!! I could use the expertise of this advisor, my portfolio has been stagnant..... How can I get started with PATRICIA DRITA JOSEFINA ??
@yasinnabi
@yasinnabi Год назад
The easiest way to succeed in any field is to work on it consistantly, and consistancy is the key to success. I experienced my self. By the way, thanks for the uploads , a fellow creator.
@quantprogram
@quantprogram Год назад
Well said! Thanks much for watching
@beefybitcoin8085
@beefybitcoin8085 Год назад
Yes I trade one stock and have the chart up all day everyday. Ii think my subconsious has picked things up because I see pattern recognition am making money almost everyday.
@topaciot
@topaciot Год назад
@@beefybitcoin8085 this is right. The subconscious mind is very powerful.
@gleb_budnic
@gleb_budnic Год назад
I am blown away by the versatility of AI . It's amazing to see how this technology can analyze market trends and make informed decisions in real-time. I can't wait to see what other innovative ways AI will be used in the future. Great job on the video!
@VEILSIDEFTO01
@VEILSIDEFTO01 Год назад
Including your existence??
@LXLIFE8
@LXLIFE8 Год назад
@@VEILSIDEFTO01 😂😂😂😂😂😂bold statement
@femiairboy94
@femiairboy94 Год назад
@@VEILSIDEFTO01that’s not going to happen. The worst that’ll happen is that we’ll merge with AI.
@fabijo2
@fabijo2 Год назад
It's kind of an unusual strategy that it used for generating 20000% profit. If the current price is higher than the price 50 days ago, it's a buy. This algo could be modified to track momentum over the past few time periods to see if momentum is increasing. The takeaway I have from this is that ChatGPT can help someone start learning something new and as they apply the knowledge, they can learn further on their own and still use ChatGPT to further their learning as they refine their requests and start new conversations.
@thekingofallblogs
@thekingofallblogs Год назад
I tried using chatgpt for simple web dev. If you ask for something straightforward it works, but the more you ask for modifications and adding different technologies, it creates bugs because I don't think it really knows how to combine them. So you can use as a template but still need to review code and verify it makes sense.
@quantprogram
@quantprogram Год назад
Exactly. I think its more beneficial for newbies but still an individual should have good coding background to fix all this erros
@FalkoJoseph
@FalkoJoseph Год назад
It’s best to generate code in chunks and not let it generate an entire app or file. The bigger the prompt gets, the faster it’ll forget context due to the restriction of tokens (8000 I think)
@atommindproject9060
@atommindproject9060 Год назад
3:08 - you could communicate with it almost as a human, so you can refer the previous parts of the conversation and ask it to give it in code. Example: " Now show/give it in code." or "Show me [insert a small portion of a previous prompt, as a reference] in code", etc. The second example can be used and its variations for prompts and answers that are earlier in the conversation and are not the immediate last one. Hope this helps. P.S. You can also pre-define and tell it to give you way more detail information and even long lists of things, but you should add clarification that "you are limited in the length of your answers so after each answer I will say "Then what?" and you will continue from where you stopped until you answer completely" or something in along these lines, letting it know you know it is limited in its answers and that you will use a specific command to let it know to continue.
@quantprogram
@quantprogram Год назад
Good comment mate. Appreciate it
@jerichointacto
@jerichointacto Год назад
@N Gthis is what i dob
@edrodven
@edrodven Год назад
Excellent material although as someone reminded me back testing does not indicate the strategy would work today as the observable data does not factor inputs of real time trading which would change the outcome on the system.
@tomaslanza8564
@tomaslanza8564 Год назад
The problem with optimization is that you are overfitting the strategy. Marcos del Prado makes a good insight in this toppic
@itsokaytobenormal3695
@itsokaytobenormal3695 Год назад
This thing has walked me through learning python and Keras, it also walked me through changing an engine manifold with specific information about the vehicle. Don't expect it to do brain surgery and understanding how it works helps you to engineer the prompts better.
@femiairboy94
@femiairboy94 Год назад
In the future it will help with brain surgery and much more. It’s still in its infancy, think of it like a 2 month old baby that can teach you quantum physics.
@itsokaytobenormal3695
@itsokaytobenormal3695 Год назад
@@femiairboy94 I was referring to this particular model, newer models with more perimeters I'm sure will have more functionality.
@hoptradingiym3212
@hoptradingiym3212 Год назад
One major oversight was made that changed everything. With ChatGPT you’re having an active conversation. Once you ran a test based on the 50 day sma everything else was based upon that…. You need to clear the chat to try a new strategy, otherwise you’re still talking about the same thing, ie the 50 day ma. Without clearing the chat you’re always working off of the beginning of the conversation. There are various other ways to improve upon the output as well, but I think that’s enough free Alpha for today. 🤙🏼
@quantprogram
@quantprogram Год назад
Thanks for the information mate. I didn't know that. I also realized giving more specific details can also change the results
@hoptradingiym3212
@hoptradingiym3212 Год назад
@@quantprogram By now I’m guessing you’re a lot more impressed with the program, it’s crazy. The next model will be much easier to teach new things to 🤯
@quantprogram
@quantprogram Год назад
Absolutely mate. I understand the learning and development advantage the user has. But I'm quite wondering how its going to be in the personal space. Maybe we will reach a point that we don't know if the person we are talking to is AI or human. It also amuses me that its free. As if they are trying to collect as much as data from us as possible so maybe in future they can mimic us? Reminds me of movies like Ex machina or Her
@hoptradingiym3212
@hoptradingiym3212 Год назад
Part of my fund is creating ways for investors to have a personal connections and opportunities to make choices on their own. Nobody is ready for a black box / chat bot investment world. So, I agree with the personal experience for people.
@RandomUser25122
@RandomUser25122 Год назад
@QuantProgram I guess it’s free because it’s still learning and now learning very rapidly as more than 1m users are taking it for a spin. Win-win because it gets better the more it learns.
@carmindaAntunes
@carmindaAntunes Год назад
I appreciate your approach to teaching.. To my understanding this just proves how much we need an edge as investors because playing the market like everyone else just isn’t good enough, we just need to hold onto our hopes and wait to see how things turn out because market movements are almost always unpredictable. In my portfolio, I'm noticing more red than green.
@aleksandreliott5440
@aleksandreliott5440 Год назад
This is really cool. Idk where to start learning this stuff though the financial stuff alone is going over my head.
@anproindia
@anproindia Год назад
Oh boy! I tweaked it further and saw a return of 5,623,187.13% !!!! for the same AMZN daily chart and time period (Sept'1997 to Jan'2023!! thank for being the torch bearer. I am still pinching myself and can't stop playing with it, even tried the short side as well. I know it is difficult to believe, but if 20,000% plus result was unheard of, I know what folks will talk about this number.... itching to implement it live with $1000 only to start!! ....will come back in few years from today. Never ever commented before, but this result was to much to ignore and not share. Thanks a ton!!!!!!!!!!!!!
@obelarcapital
@obelarcapital Год назад
Please keep in mind that's amazon during a massive bull market. Everyone's a genius in a bull market. Even bear markets can make a lot of money, what about when markets range? If something is very simple and "too good to be true" it more often than not is
@heeroyuy298
@heeroyuy298 Год назад
Sorry, but it's trivial to find a strategy that works during backtesting. And do you really think making a trading bot is this easy?
@Snkrapter
@Snkrapter Год назад
Please send me a download for the script please.
@anproindia
@anproindia Год назад
@@heeroyuy298 Yes, after 40yrs of playing with data/databases and 23yrs of trading, I finally found the holy grail. I am not using any of the indicators in this or any other tutorials/youtube/chatGPT etc., but created my own indicator which gives even more astonishing results live on ThinkOrSwim (TdAmeritrade platform) with real money. The moment I make couple of millions with it, I will launch a trading portal for public use with a server farm in the cloud to take care of any load. At the current rate of returns, expect to launch it around July'2023 !! It could be a gamechanger for many, as it is turning out for.
@anproindia
@anproindia Год назад
@@obelarcapital I get astonishing results with BTCUSD, COIN, TSLA etc. In fact any symbol with ATR(average True Range)>5
@rishisolanki9135
@rishisolanki9135 Год назад
I was thinking of asking chat gpt to write me an algo a couple of days ago and today I find this video !!!
@trapOrdoom
@trapOrdoom Год назад
So glad I found this channel. Finance focused programming has immediate use-case but is so perplexing to me.
@lapatria100
@lapatria100 Год назад
Do you have a background in finance?
@trapOrdoom
@trapOrdoom Год назад
@@lapatria100 hi Rob, sorry I’m late, I do not! Zero background in finance unfortunately
@FullFinnoy
@FullFinnoy Год назад
I tell you how to do it and save your time. ADX moves up above 40 level (14:5 settings) and stochastic (9/5/5 setting) goes up above 50-level (buy) goes down below 50-level (sell). Works on any time frame. Thank me later. No bots needed.
@jaybee6347
@jaybee6347 Год назад
Do you mind sharing your entry and exit rules please?
@FullFinnoy
@FullFinnoy Год назад
@@jaybee6347 Like said BUY when ADX indicator slopes up above 40 level + MACD slopes up above the zero level + Stochastic slopes up over its 50 mid-line level. Just cannot go wrong with this and the opposite applies for SHORT when the ADX slopes strongly upwards but all other indicators slope downward. Take profit 1:5 to 2 and SL goes below the previous price closing low/high. Trading is a lot about waiting for the correct set-up and when it happens you go in heavy. Avoid mediocre set-ups and just buy/sell the premium ones. I only trade intraday with 30-minute time frame, this way when I go in on a trade it runs longer that what it would be do a 1M or 5M time frame.
@jaybee6347
@jaybee6347 Год назад
@@FullFinnoy as simple as that? Brilliant, thanks for the response, I'll back test!
@FullFinnoy
@FullFinnoy Год назад
@@jaybee6347 Cool, let me know how you find it. As per writing this mornign here in Europe, the US30, US100 and US500 were dipping with these exact values and ADX was up-sloping, Again I was able to hold short on all the indecies for good 45-minutes before a short correctiong is been seeing and I am out of the positions until I see the indicators aligning again to a mutual direction. Let me know how your back test goes with intraday values and time frames ether its from 1 minute, 5, 15 or higher. Happy to hear the results.
@jaybee6347
@jaybee6347 Год назад
@@FullFinnoy just one more thing, sorry! What MACD settings are you using? Thanks
@Greg-oy1vf
@Greg-oy1vf Год назад
Very good video. It’s interesting to see the variety of things you can use AI for. Keep up the good work!
@quantprogram
@quantprogram Год назад
Thanks, will do!
@luisdetomaso867
@luisdetomaso867 Год назад
I don't see any edge being provided. Writing Pine script is very easy for anyone who knows how to program. ChatGPT just saves you the time and money of hiring a developer or learning to code? I have 2 years of Pine experience could easily code anything you did in this video in half an hour or less
@roboldx9171
@roboldx9171 Год назад
Great content. Subbed. More, please. I'm interested in learning a language for trader station and want to work out the best coding to learn in order to notice when chatGPT gets it wrong or has missed something. Looking forward to seeing how a newbie can spot and handle the bugs in the chat code.
@КонстантинВекленко
TOTALY SHOCKED!!! ty for content, now i'm forever your sub.
@ciuciur
@ciuciur Год назад
Sweet baby jesus, its the indentation.. Bro. I've been trying to get chatGPT to write me some scripts but not knowing pinescript all that well, it errored out for no apparent reason so in the end I just abandoned the whole 'write me a script' idea. I have some sick ideas. Thank you!!
@quantprogram
@quantprogram Год назад
Happy it was helpful. Watch the "Tradingview Pinescript version 5 Full tutorial" video on our channel if you wish to master the coding bit in pinescript. Thanks for watching and for the comment mate. Appreciate it
@mocacoca
@mocacoca Год назад
I think you should have asked for BOS and Choch code. Because that's the thing which gives more profit rather than any other strategy.
@micarranco
@micarranco Год назад
Try with SMART MONEY CONCEPTS BY (LUXALGO) SCRIPT on Trading view
@mocacoca
@mocacoca Год назад
@@micarranco yes i did
@hivepink619
@hivepink619 Год назад
I believe that this recession has taught individuals the value of having several sources of income. Unfortunately, having a job does not guarantee security; rather, the real security comes from diversifying your investments. When it comes to speculating in the financial market, understanding institutional investment is essential. Whether it's real estate or cryptocurrency, investing in knowledge will yield the highest returns. Since I started trading with Mr. Thierry Veilleux, whose skill sets are extraordinary, I have seen enormous profits on my investment. Working hard is good, but working wisely is preferable. Trade with a professional! It really is simple.
@SkylineMuzik
@SkylineMuzik Год назад
Oh my days! I'm stunned. Thrilling to meet other students of Veilleux Thierry, what a great mentor
@sebastianholthaus479
@sebastianholthaus479 Год назад
I count myself as a successful trader because of the amazing trading strategy of Mr. Thierry
@scheys3201
@scheys3201 Год назад
Now I understand what it takes to win in trading, Thierry is good >
@hermitcrypto2787
@hermitcrypto2787 Год назад
It’s remarkable how you are misspelling words and it knows anyways what you intended.
@mattdelongofficial
@mattdelongofficial Год назад
I retyped the code and wasn't able to reproduce your results -- nowhere near 20097% return. more like 1.2% return
@JustinMichaelBell
@JustinMichaelBell Год назад
Same here. I got 3.6%.
@immanueljenkins5036
@immanueljenkins5036 Год назад
See the more you have basic conversation and ask for you you want it's works straight forward
@mikeriley559
@mikeriley559 Год назад
Those of us in the trading world know you could build such devices with a super computer and still lose your shirt. Unfortunately some people are too lazy to "THINK", and look for every conceivable machinery to make trading easier.
@obelarcapital
@obelarcapital Год назад
You got that right brother. Unfortunately people new to the space think it's like printing money. They'll learn.
@vaislaj
@vaislaj Год назад
i tried chatgpt the same day it was available for metatrader code :) you need to specify of what you want exactly, lets say after a code created , you can tell him add to this code moving average and it does what you tell him, sometimes the code is too long, and you have to reenter last 2 rows of code or full script he wrote to continue
@johnM-Jr
@johnM-Jr Год назад
Really reminds me of the computer on star trek. Shatner just passed on.
@aaronmatos5581
@aaronmatos5581 Год назад
ChatGPT is the best tool so far for research, do homework, create stuff by order and to provide any info that is needed. AI is the best thing after Blockchain technology in my opinion.
@jean-marcducommun8185
@jean-marcducommun8185 Год назад
Blockchain is still looking for a problem to solve whereas ChatGPT3 is a serious step towards KI and will definitely be very useful. The technology behind blockchain is essentially cryptography and dates back to the 70ties, so really old stuff.
@alexmartinez2835
@alexmartinez2835 Год назад
This has so much potential it's crazy. I feel if this is perfected and becomes wide spread stock exchanges would ban the use of automated bot trading. How'd they go about is hard to say but personally I feel it is a possibility. Amazing video btw!
@quantprogram
@quantprogram Год назад
Thanks for watching mate. I'm more worried about how this can affect our life personally. Its free that makes me super suspicious. Is it collecting our data so much to use it against us?
@cellc6191
@cellc6191 Год назад
@@quantprogramow can it be used against us when we're just using it for basic knowledge
@quantprogram
@quantprogram Год назад
@@cellc6191 Well my theory is by us seeking basic knowledge, they get to know what we want to know. If they get to know what we want to know they can control or limit that information or manipulate the information. Manipulation can go deep, just like people find beauty standards these days in social media. It can also destroy jobs. As in the video i tried to get some codes, even though its error prone and not perfect it leads to less people being hired in certain departments of coding industry. Or marketing industry for creating good images. I mean this i just what i think. but i dunno what the future holds. Could be worse or could be not that bad
@cellc6191
@cellc6191 Год назад
@@quantprogram well said
@quantprogram
@quantprogram Год назад
@@cellc6191 Thanks mate
@Steasylife
@Steasylife Год назад
iv been using chat gpt to build an online business from scratch. shocking how much of the work it can acrually do for you
@eraneran5681
@eraneran5681 Год назад
What we really need is a system that accepts ideas, then does backtesting (multiple periods) and Monte Carlo simulations in bulk volume, without all the manual work. This would "solve the market." Later, a system to generate testable ideas... and then what is left to automate?
@drkastenbrot
@drkastenbrot Год назад
assuming you can simulate the market is the first mistake
@StereotypicalShea
@StereotypicalShea Год назад
This already exists tbh, I found it not too long ago made by a solo developer haha. Just trying to figure out my Python code now for applications but I can steer you to it as well bro
@xkkx377
@xkkx377 Год назад
@@StereotypicalShea what’s it called?
@michaelholmes2846
@michaelholmes2846 Год назад
@@StereotypicalShea steer please?
@StereotypicalShea
@StereotypicalShea Год назад
@@michaelholmes2846 BuildAlpha, just remember me if you find anything nutty lol
@superdupertyson
@superdupertyson Год назад
it might be supersticious but i think if you say please and thankyou the AI feels appreciated and loved and gives you a better answer
@13579Josiah
@13579Josiah Год назад
Interesting but you can get nearly infinite returns on past data. The rest test is applying this strategy for a few weeks to see what the results are. I wish you would have included the results of that in the video!
@quantprogram
@quantprogram Год назад
Absolutely and i wont recommend at all to use this strategy, i didn't recommend it in the video either . I assume you dint watch the video fully. I have discussed in the video about optimization and forward testing. No strategy is bullet proof until you go through portfolio backtest with position sizing, optimization, forward testing and Monte Carlo Simulation. This strategy has not been through that. The whole idea of the video is how we can use chatgpt to help us with finding information and codes for creating strategies. Nothing else. We have to do our bit by doing more research into the strategy by using these quant methods.
@benjiebarker
@benjiebarker Год назад
I noticed that my backtesting of a week back is more reliable than backtesting all time Coukd this mean we should regularly backtest strategy settings weekly?
@leonardo7179
@leonardo7179 Год назад
Thank you for the video. It's very interesting. However, referring to the actual Trading strategy that produced 20 thousand % need to be backtested with what would happen if you just buy at the begining of the period and just sit and look how your investment growth. I tried it in TV and got pretty similar results, a profit of 19.620. However in my list of transactions, the first one is a buy at 0,12 cents. Taking into account that the current price in your example is around 86 per share you've got 72k% return just watching TV (television not Trading View) . So the massive return is for the Amazon stock.
@rahulkumargupta8372
@rahulkumargupta8372 Год назад
i was a very good algo trader, but left this field bcoz i was not able to make enough profit. now looks like i need to revisit my skills. and start again...
@ЕвгенийПоволоцкий-д7ц
Very easy strategy, need more conditions
@ETrimKetvirtas
@ETrimKetvirtas Год назад
i copy your code and its not showing up and i dont have any foult code
@IfYouLikeTrading_ClickOnMe
@IfYouLikeTrading_ClickOnMe Год назад
Need answers? Read my tag
@anoxuscompany4015
@anoxuscompany4015 Год назад
Thanks
@christerjohanzzon
@christerjohanzzon Год назад
Here's an interesting idea, try to teach it a few times before actually asking for a strategy. Like priming it before shooting it. Feed it data to base off of
@quantprogram
@quantprogram Год назад
Hi Christer, yes you are correct, it works much better that way. I created the video when chatgpt just came out and wasn't aware of the different approaches in prompts to get better results. There was very few info available online when it got released either. But now since chatgpt is taken off there are better info about ideal prompts including the advice you gave to get better results. Thanks for the comment,
@RicoMoneybags
@RicoMoneybags Год назад
would love to have you on are Podcast...
@ondrazposukie
@ondrazposukie Год назад
I think AI trading is going to be big. And AI companies therefore insanely rich if they use their AI for trading. Not sure the advancements will come from llms though.
@katynovotna6980
@katynovotna6980 Год назад
It won't IMO, maybe for a short period. If everyone is going to use AI for trading, no one will succeed. It will just make market behave even weirder. To succeed in trading (as opposed to long-term investing) you have to do something differently, have an edge (or have insider info) to screw your fellow traders up. There is no magic method in trading and no concrete rules for success. AI generated text content will spam already spammy internet to further reduce the amount of quality content to learn from. Similarly, AI based trading will make markets unstable and always changing, making it difficult to train a new generation from. I am not very happy from all of these aI developments... but we'll see
@olenraks
@olenraks Год назад
Isnt that what aladdin is for?
@InternetProgrammer
@InternetProgrammer Год назад
Mahatma Gandhi said: “A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history.” It seems like the scale for being literate just got tipped, so now using AI is going to be the norm, just like using google once tipped the scale and now most literate people know how to use it, let see how much we have to pay for it. (soon) lol
@Pewshh
@Pewshh Год назад
I was wondering how they gon charge us, eventually…
@edglue6138
@edglue6138 Год назад
Subbed Thanks for taking the time
@quantprogram
@quantprogram Год назад
Thanks much mate
@priceindicatorbr
@priceindicatorbr Год назад
awesomeeee
@HowToGoSupernova
@HowToGoSupernova Год назад
This is the beginning of the end of trading.
@itsbadlols
@itsbadlols Год назад
Only problem is chatgpt is only as smart as 2021...
@therealjackfisher
@therealjackfisher Год назад
New subscriber here. This looks interesting. I will dive in to it right now.
@thatguy7085
@thatguy7085 Год назад
It can not reason. It can only provide knowledge. It is not active AI. So it can not be used to trade, unless you are trading in the past.
@quantprogram
@quantprogram Год назад
Thats exactly what i said in the video. I assume you didnt watch it fully. The whole idea of chat gpt is to get knowledge and information especially coding knowledge, not to predict anything
@thatguy7085
@thatguy7085 Год назад
@@quantprogram also… people think they can sell or use the data produced for commercial purposes… This is Napster only for data. I see many people spending the next 5 years in court losing everything.
@quantprogram
@quantprogram Год назад
@@thatguy7085 Thats an interesting point
@thatguy7085
@thatguy7085 Год назад
@@quantprogram even worse… now that I’ve tested it and seen what other people think they can do with it… this is a lawsuit waiting to happen. This gathers copy written material and presents it in its own chat form, without reference to the originating author. Then people are suing this data as if it was their own. Which is not only a federal criminal fraud, but also a civil liability action. Weird thing… chatGPT doesn’t understand this.
@aurelienn.9789
@aurelienn.9789 Год назад
Thanks for this great content! I just subscribed as I'm new to quantitative trading field. I'd like to ask : to which extent an average quantitative trader can make profit ? I mean, I'm not new to trading, I know the 90% of traders lose money rule etc. But I'm asking myself, is a decent return (for example 15% a year) reachable to anyone willing to put the efforts in ? Also, I was asking myself, is there any other languages useful to learn apart from python and pine script, the latter being similar to the former ? + Last question but not least : Have you been able to trade with your own quantitative trading strategy ? If so, what were your results if you're willing to share them ?
@quantprogram
@quantprogram Год назад
I think personally from my experience, I always look to beat the market in the long run. By market i mean SPY buy and hold CAGR returns. That roughly comes around 10%. So my goal is to beat that, not year on year but on average on the long term. My portfolio of trading strategy is not purely quantitative strategies alone. It has got value based investing and also a few day trading strategies. This year since the market has been down I was able to purchase lots of good companies at bargain prices. From the quant side, the mean reverting strategies has also performed well. However from a day trading perspective it has been a huge struggle. The advantage of quantitative trading is that you know what your'e gonna get. The forward testing and Monte Carlo Simulation helps you prepare for the worst case scenario regardless and from my experience it has gone accordingly to the expected results. The cons of quantitative strategy is that you need at-least 5 strategies at the same time and also the belief to stick to it. I remember earlier this year the strategy that i have explained in 09:10 didn't work that well, there was a few consecutive losses and you feel like you want to shut it down. The temptation exist but this results was expected and eventually it started making spectacular returns after couple of months. I also dont use leverage in neither my quant based or value based strategies which think have benefited me a lot unlike the other traders. The other con of quant based trading is there is lots of room for improvements. Like now I'm learning lots of machine learning models to predict volatility contraction and expansion so i can apply in option prices to benefit the theta decay in far OTM options. So there is a constant need and urge to learn.
@aurelienn.9789
@aurelienn.9789 Год назад
@@quantprogram Thanks a lot for your time writing this very helpful answer. Looking forward to learn a lot thanks to your videos !
@quantprogram
@quantprogram Год назад
@@aurelienn.9789 Thanks mate
@nickoleo7817
@nickoleo7817 Год назад
@@aurelienn.9789 you can achieve 15 solely on S and P 500
@VinnyViral
@VinnyViral Год назад
@@nickoleo7817 how is your S&P 500 trade going this year? 🙃
@VaibhavShewale
@VaibhavShewale Год назад
i wanna try this first in local market instead of directly going for the international market
@KolTregaskes
@KolTregaskes Год назад
You can ask it to write it in pinescript v5 and you can ask it about the errors you get.
@Idontdohandles
@Idontdohandles Год назад
This is quite interesting thank you for sharing!! I was trying emulate your process described but keep running into errors in Pinescript for "undeclared identifier" on the lookback, the momentum, and the entry terms. I'm not a coder --- can you do a vid on how to declare these identifiers? Or what you did not to have to further enhance the code you input to make it work? I have all other items set same from what I can see.
@quantprogram
@quantprogram Год назад
Hi mate, Please go through our video in ou channel "Trading view pinescript version5 full tutorial". Video is designed for absolute beginners with no experience in coding. Should get you up tp speed
@Idontdohandles
@Idontdohandles Год назад
@@quantprogram hey so I got it to work but the strategy is really only not that great considered how much 🤔 AMAZON went up during the time of your chart --- years and years no? Ie I'd you didn't pick Amazon which went up alot in prior years, or July used this strategy the last 5yrs... it really would have sucked performance-wise.
@quantprogram
@quantprogram Год назад
@@Idontdohandles Absolutely and i wont recommend at all to use this strategy, i didn't recommend it in in the video either . I assume you dint watch the video fully. I have discussed in the video about optimization and forward testing. No strategy is bullet proof until you go through portfolio backtest with position sizing, optimization, forward testing and Monte Carlo Simulation. This strategy has not been through that. The whole idea of the video is how we can use chatgpt to help us with finding information and codes for creating strategies. Nothing else. We have to do our bit by doing more research into the strategy by using these quant methods.
@Idontdohandles
@Idontdohandles Год назад
@@quantprogram sure thing I think you did reasonably well categorize what you were seeking to accomplish with the vid. The words I would have been looking for was something like "while it looks like this performed pretty well 20000% its also a good possibility you might have beat that return just buying and holding AMAZON over the same time period". Clear, concise, also would have outlined the time period tested. Just my .02.. . I greatly appreciate 🙏your efforts and knowledge here!!! Thank you!!!!
@quantprogram
@quantprogram Год назад
@@Idontdohandles Thanks much for the comment mate. Appreciate it. But with regards to buy and hold , there ar lots of preconceived notions. What most people don't understand is that buy and hold of a specific stock is not a good measure of comparison for performance of a strategy. The reasons are few things 1. 1000s of stocks listed around the world each year in each exchange. nobody can buy and hold each one of them. 2. Nobody can analyze all these stocks. Nobody knows what the next apple or amazon is. 3. Majority of these stocks maybe even more than 90% go bust or get delisted or get taken over. 100s each year in each exchange. 4. Because most of them were penny stocks including apple and amazon, their buy and hold returns since inception are substantially large. 5. Just because buy and hold returns of the stock since inception is 70000% for the past x years doesn't mean it will do the same next x years. We can start buying and holding now but don't expect that returns, maybe it can even go bust. Its easy to say "i could have bought amazon or apple back then" but at that point when it got listed most of people were not even aware of those companies(apple was listed in 1980). just like we aren't aware of the many penny stocks listed last month. This is why buy and hold comparison of specific stock to any quant strategy or any strategy is not ideal. Even warren buffet performance don't beat buy and hold of the stocks he owns neither does Li Lu or Peter lynch. The ideal measure is our portfolio performance relative to buy and hold of market, ie SPY over the specific time frame. This is the same goal that hedge funds and institutional investors all have, to beat the spy average annual cagr of 10%
@bora_yazilim
@bora_yazilim Год назад
After watchin 21:20 I laughed hard because if it was going to work, this video was never shared with us.
@quantprogram
@quantprogram Год назад
Lol
@dancegalop
@dancegalop Год назад
@@quantprogram HANG ON, so, it does NOT work? I am skimming the comments to find out if it's worth studying the video (as a nontechie)...
@quantprogram
@quantprogram Год назад
@@dancegalop If you are a non techie with no coding knowledge chagtgpt will help you a lot and this video should guide you. However if you are full time coder, i doubt chatgpt can help further except in understanding information or developments that coder is not aware off
@dancegalop
@dancegalop Год назад
​ @QuantProgram OK! nice to find your channel; I have wasted much time and money this year by following the major crypto influencers who are always pushed to the top of search results, while serious people like you are hard to find. Also, refreshing to see NO spam comments :)
@hasanx8317
@hasanx8317 Год назад
You're not talking to the bot ......... you're trying to "query" stuff the same way you do with Google. That's not the way this is designed to work. It's called "Chat" ... it's a language model you need to "talk" with it in human language not just through keywords at it like we do with Google
@shashibhushanvishwakarma
@shashibhushanvishwakarma Год назад
Big question, where does it get information. I don't think even Google AI could have been smart without support and consent of original content creators. You can't self learn by yourself. Literally it has many flaws especially regarding copyright laws.
@sergiosv793
@sergiosv793 Год назад
Hey thank you very much for your videos, it’s great content. One fast question, should I invest time in learning python or with Pinescript I can arrange a strategy and then make it work in Metatrader? Thank you
@quantprogram
@quantprogram Год назад
I think if you're series about your quant goal focussing on python or amibroker would be the best way to go. If you're just backtesting and not performing any additional quant resarch tools(which is absolutely necessary) then pinescript would be the way to go
@Kneedeepinstock
@Kneedeepinstock Год назад
Great vid! Can GPT do any sort of basic stock analysis for value investing to determine entry points on certain stocks for long term? Will it make u an excel for these etc? Or do you have to ask it to write code for tradeview in order to find this info. I am not particularly interested in daily quant trading but it is important regardless. And easing my workflow for stock picking would be awesome
@mom0g1
@mom0g1 Год назад
yessss yess....
@snn9019
@snn9019 Год назад
At around 3:00 I tried the exact statement, but instead of Python, I put in PHP. It ended up giving me the code in PHP. I have my own web host, so I can try it out on my web server.
@CarMaintenanceGuy
@CarMaintenanceGuy Год назад
@LivingAndroid You can re-do the statement like he said, but use PHP instead of Python the way the guy in the video said.
@jeronimo196
@jeronimo196 Год назад
Great idea. Why shouldn't I use an open source tool to try and compete with google and the wallstreet quants? What could possibly go wrong?
@Net_Observer
@Net_Observer Год назад
This was awesome! Wow!
@jazzyj2899
@jazzyj2899 Год назад
Do you have videos that show how to incorporate human input into the tradingview bot? For example, you want the bot to follow a certain protocol according to trendlines or levels you draw on the chart, or other manually inserted variables.
@I_am_ka
@I_am_ka Год назад
Exactly! Specific protocol tailoered. For me, I want it to hedge from the get-go but not like most of those trash-bots ppl make. More like a real trader w/ slower solid action for bigger returns. Maybe if A.I could watch tons of the traders style for each specific strategy so it could machine-learn (mimic) it to a T
@jasonroman988
@jasonroman988 Год назад
Id like to see this in the live market.
@quantprogram
@quantprogram Год назад
I dont think Ill proceed with this strategy for live as it has only been tested in one product. We need to test this in multiple products and do further research. We can also improve this strategy by optimization and forward testing. And then go through monte carlo simulation before giving it a green light for live trading.
@skyfe5430
@skyfe5430 Год назад
20.000% revenue pretty decent? Am I missing something? Which period did it backtest on? Seems quite unbelievable especially considering it's such simple strategy.
@xiolong11
@xiolong11 Год назад
Daily candles maybe the who the chart history of amazon
@ferdi991
@ferdi991 Год назад
very interesting man! in the parameters of the strategy settings the trading commissions should also be added, it was enough for me to add a 1% commission to go totally negative. how can it be solved? Thanks in advance
@MarcelloMarchese
@MarcelloMarchese Год назад
Great video. How can you automate these strategies on the stock market? Is there something like 3commas but for stocks?
@shahabnisar2817
@shahabnisar2817 Год назад
search pine connector i did it
@brandonsballing826
@brandonsballing826 Год назад
@@shahabnisar2817 How were you able to automate this? Ive seen pine connector, but all I see is sites saying you cannot automate tradingview pine code. What did you use?
@rileyxbell
@rileyxbell Год назад
I'm definitely gonna try using this to make python code for some of my plex media server ideas
@tripives1858
@tripives1858 Год назад
Yeah, I think you missed that entire part about curve fitting and how it renders any strategy worthless. Additionally, once you use the word "Fit", you no longer have anything to do with AI, except that it uses the language model to write non-AI code for you (which, if you knew the language well enough, you could probably write as quickly yourself).
@quantprogram
@quantprogram Год назад
Its pretty clear you didn't watch the video fully, i definitely did not miss that, talked about curvefiiting at 06:00 and 07:00 and also how to solve the issue of curvefiiting. Next time before you comment put an effort in watching the whole thing or else the comment will look super silly
@GG-vn9qf
@GG-vn9qf Год назад
Fantastic video! I get that you have a huge channel and are likely a busy individual but figure I should shoot my shot. Any chance you would be open to helping out with getting an active trading bot up and running using the LunaAlgo indicator?
@mustafasoeminabdullah3613
@mustafasoeminabdullah3613 9 месяцев назад
Thank you and appreciate for video.
@StigFerrari
@StigFerrari Год назад
It only does what you ask it, Not what you want. Like code Because it is code
@hereweare9011
@hereweare9011 Год назад
Where is chat gpt pulling its information from to even have these conversations?
@Tear-news
@Tear-news Год назад
Amazing return with chat gpt
@millerzhong3864
@millerzhong3864 Год назад
// Define the strategy strategy("Long-Only Momentum Strategy") // Set the lookback period lookback = 50 // Calculate the momentum momentum = close - close[lookback] // Set the entry rule entry = momentum > 0 // Enter a long position when the entry rule is triggered if entry strategy.entry("Long",strategy.long) // Exit the long position when the exit rule is triggered if close
@piotrrodzen772
@piotrrodzen772 Год назад
Do you think you could release this strategy as a indicatior on tradingview that gives you alarms what you should do
@bakugan9000
@bakugan9000 Год назад
i want to see how AI will act once we are limit Down all assets ahaha, that will be a fun watch .AT least this is one career i know won't be disrupted any time soon by AI
@presley492
@presley492 Год назад
The most important thing that should be on everyone mind currently should be to invest in different sources of income that doesn't depend on the government. Especially with the current economic crisis around the word. This is still a good time to invest in various stocks, Gold, silver and digital currencies.
@susannabruemmer3683
@susannabruemmer3683 Год назад
That's so true. but if i may ask, do you trade all by yourself?
@presley492
@presley492 Год назад
I have been investing in stocks for over 10 years now and I have made a lot of money. My portfolio has grown exponentially and I can't thank stocks & TERESA JENSEN WHITE enough for such an amazing way to make money!
@susannabruemmer3683
@susannabruemmer3683 Год назад
How can this person, TERESA JENSEN WHITE be reached please...
@presley492
@presley492 Год назад
*TERESA JENSEN WHITE,* that's her official page name you can do a web search to get in touch with her
@susannabruemmer3683
@susannabruemmer3683 Год назад
Wow! I just looked up this person out of curiosity and I'm super impressed with her qualifications. Thanks for sharing.
@fastdirectpaydayloans3342
@fastdirectpaydayloans3342 Год назад
Wow… This is so funny. I was just thinking about making an indicator for trading forex with this
@fitybux4664
@fitybux4664 Год назад
Another flaw I noticed in your conversation, is that it's not a conversation. You aren't building on things. You point out a flaw, but you don't talk to ChatGPT about it. It can actually remember what it was talking about... It feels like you're using it like DALLE2/Stable Diffusion. "I know, let's throw python at the end of the sentence!"
@fortspro
@fortspro Год назад
Oh my god, this is the grail!
@jiolopmiokop7820
@jiolopmiokop7820 Год назад
Appreciate the effort on this, i also try chatgpt however i could not fix the source code errors, any chance you could share your tweaked source?
@quantprogram
@quantprogram Год назад
I have explained the common errors in 23:20
@Majikmurky108
@Majikmurky108 Год назад
You can feed the errors back to chatgpt and it will fix the errors for you. If you do it enough times, it will fix itself enough to work properly. I start my prompt with "I'm getting the error ..." Probably not necessary, but it makes me feel like I'm doing something lol Edit: The biggest problem I have is with chatgpt ending its response early. I have to repeatedly ask it to finish code 3-5 times before it gives me a complete response. I'm sure it'll be fixed in the future and I look forward to everything this tech has to offer
@jiolopmiokop7820
@jiolopmiokop7820 Год назад
@@quantprogram Thanks i managed to get your strat working after copying it - and refining those sections, still dont know what im doing tho lol
@jiolopmiokop7820
@jiolopmiokop7820 Год назад
@@Majikmurky108 yes correct ive told it to fix errors before also, bit hit and miss still maybe the copy paste is the issue here?
@quantprogram
@quantprogram Год назад
@@jiolopmiokop7820 Its ok mate. I assume you might be new to coding or quantitative trading. i suggest you watch our video on the channel "Tradingview pinescript 5 FULL Tutorial". This should get to you upto speed in coding and then after that you can go through many of our free strategies on our channel on how we come up with good strategies. If youre serious in becoming a full time quant trader you can check out our course as well
@smallssmith
@smallssmith Год назад
What are you trading on? Like what are we looking at when you pull up your bots and charts
@hardikjain8571
@hardikjain8571 Год назад
Great content , good work , can you make video on intraday strategy
@immanueljenkins5036
@immanueljenkins5036 Год назад
Bro don't just type in words. Ask how to do what your looking for or what is this used for. A another thing once it's answers you, you can ask a follow up question about the initial question and it will elaborate more
@quantprogram
@quantprogram Год назад
i assume you didn't watch the whole video. i did all the things you said
@immanueljenkins5036
@immanueljenkins5036 Год назад
@@quantprogram great. I actually did see that. But see me, I move fast and in the beginning it....... No worries bro were all here tryna help each other. Thanks for your input and view on the subject. This is really a good way to go about it. I'm working on some things using this chat system as well 👍
@quantprogram
@quantprogram Год назад
@@immanueljenkins5036 Thanks much mate
@immanueljenkins5036
@immanueljenkins5036 Год назад
@@quantprogram no thank you 👍 maybe we can collaborate on things in the near future with what we discovered
@ADIGOD
@ADIGOD Год назад
I’m stuck at nose -v it keeps saying it’s not recognized, but I’ve already downloaded it and updated tools.
@ADIGOD
@ADIGOD Год назад
Update I’m past that and I can’t get the images to show up on. Like the sending arrow and chat columns. Even though I completed that part without error and the browser loaded.
@roger5968
@roger5968 Год назад
can you share basic video which show how to take actual trade. i thing you are using tradingview but how to earn actual money
@zenmetsux
@zenmetsux Год назад
hey, sir! Can you make a tutorial on how to connect this or any other strategy to an exchange to automatically execute trades ?
@apathyreview3964
@apathyreview3964 Год назад
I've done the same thing in mql5. Be very specific and give multiple conditions. Equity etc.
@hvfx5739
@hvfx5739 Год назад
Have you any success with it? I would give a try too.
@apathyreview3964
@apathyreview3964 Год назад
@@hvfx5739 I asked it this. Write me an example of a momentum based trading strategy in mt5, optimised for scalping on small long positions and based on the 20 ema or sma whichever is more profitable. Before placing any trade the strategy needs to have confirmation from the rsi showing overselling or overbuying It also needs to place stop loss and take profits at a 1 to three ratio. There should also be an input for risk tolerance so that it can be adjusted. Lol it more or less delivered BUT the code was all for mt4 while it claimed it was for mt5. Try to get it to comment it for you. So I'm still fixing syntax errors. I didn't know the language before today but I'm a c# coder and it seems to be c based. I'll let you know. Just remind me in a day or two. It's not perfect but it really does give a good template. I'd say 8 out of ten. Remember it's getting this from the public domain. It's nothing new. But if you don't have the coding skills it can help providing you can sort out a few errors. There is a conversion document and most of the errors can be fixed by looking up the new names of the functions. Doesn't work 100 percent in mt4 either. So I may as well convert it to mt5.
@Tory8er
@Tory8er Год назад
Do you have the copy of the code?
@darkeagle1162
@darkeagle1162 Год назад
Sorry to burst your bubble this has been going on for a while know it’s been used left right inside in out
@gus42
@gus42 Год назад
Personnal note : 28:12
@fullydoxxed6869
@fullydoxxed6869 Год назад
Is it possible to create a bot that will actually execute this automatically? Because even if you have a great strategy here, it won't work unless there is some ready every time that trades need to be executed at exactly the right moment. I'd like to have a bot to help me overcome this. Thanks for any suggestions!
@quantprogram
@quantprogram Год назад
Yes you can. You need to find to find first if your broker is capabale of executing algotithm for execution and then find from the broker which platform they use to do it. Some people have built in algo engine in their own platform, dome use 3rd party. Once you know these two then you just have to code for execution
@fullydoxxed6869
@fullydoxxed6869 Год назад
@@quantprogram Thank you :]
@humorme5874
@humorme5874 Год назад
Good video, but yeah work on your prompt engineering 👍 You are treating it more like a search engine than a conversing with a "person" that knows everything. Think of it that way
@Tabbaagroup
@Tabbaagroup Год назад
can i have a copy of that code please?
@aakardev4699
@aakardev4699 Год назад
I subscribed to your channel. I do trading in India stocks market. Just curious to know does it really works?
Далее
I Built a Trading Bot with ChatGPT
18:33
Просмотров 1,9 млн
How to Code a AI Trading bot (so you can make $$$)
35:09
Holding Bigger And Bigger Dogs
00:18
Просмотров 22 млн
Jim Simons Trading Secrets 1.1 MARKOV Process
20:13
Просмотров 440 тыс.
ChatGPT inside your Pine Script EDITOR!
13:23
Просмотров 25 тыс.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Просмотров 298 тыс.
Coding Was HARD Until I Learned These 5 Things...
8:34
Can You Build a Working iPhone From AliExpress...?
19:06
How I'd Learn AI in 2024 (if I could start over)
17:55
Просмотров 980 тыс.
Holding Bigger And Bigger Dogs
00:18
Просмотров 22 млн