How To Use OpenAI to build a Trading Bot (ChatGPT ai)

preview_player
Показать описание

In this video, I show you how to use OpenAI to build trading bots with ChatGPT-3. I walk you through the process of coding a simple trading strategy that buys Bitcoin when the price is over the 20 SMA and sells when it drops under the 40 SMA. Throughout the tutorial, I demonstrate how to tweak the AI-generated code to make it functional, highlighting both the capabilities and limitations of using AI for coding trading bots.

CHAPTERS
00:00:00 - Introduction to Using OpenAI for Trading Bots
00:01:01 - Overview of Trading Strategies
00:04:01 - Setting Up the Trading Bot Code
00:10:01 - Coding the Trading Strategy with OpenAI's Assistance
00:25:20 - Testing and Tweaking the Bot Code
00:35:28 - Implementing Additional Bot Features
00:45:00 - Final Adjustments and Going Live
00:58:55 - Recap and Conclusion

Disclaimer:

The content presented on this channel is for educational and informational purposes only and does not constitute financial advice. All trading involves risk and may not be suitable for all investors. You should carefully consider your investment objectives, level of experience, and risk appetite before investing.

Past performance is not indicative of future results. There is no guarantee that any trading strategy or algorithm discussed in this channel will result in profits or will not incur losses. The information provided on this channel is based solely on my experiences and knowledge in coding trading algorithms, and I do not promise or guarantee financial success.

CFTC Disclaimer: Commodity Futures Trading Commission (CFTC) regulations require that I inform you of the risks associated with trading commodities and derivatives. There is a substantial risk of loss in trading and investing.

I am not a licensed financial advisor or a registered broker-dealer. My content is based on my personal perspectives and insights and should not be relied upon as a guarantee of success in trading. By accessing and using this channel, you agree that I will not be held liable for any losses or damages arising from any decision you make based on my content.

Always do your own research and consult with a professional financial advisor before making any investment decisions.

Рекомендации по теме
Комментарии
Автор

I'm an engineer and somehow very unhappy in my job. I'm totally exhausted every day. I discovere open AI 3 days ago and my mind is blown. I set every free minute I have infront of it and ideas popping up constantly in my head. My brain is so hungry to be creative. I don't know how I can get out of my current situation. I thought of visiting an online study course and do my master with openAI help.

I feel I need to change something and coding sounds so interesting to me. But I'm a beginner ...

Jorvandr
Автор

The AI also makes assumptions in code that might not be true at all, for example it sometimes assumes classes use an interface and then when I link it the code it tells me I am indeed correct. So yea, it is a great to tool help you find solutions to problems but you have to teach it a bit more about the situation before it can form a correct response.

Although, more responses seem to be spot on at first sight!

Sometimes you also have to ask it to continue from a specific line if it got stopped by the timeout overlords.

sjoervanderploeg
Автор

Asked chatgpt to write code for a very simple strategy and it failed miserably. Cannot read the clock or tell what time of day it is, did not enter or exit as instructed, did not take profits or losses as instructed. In short, it didn't work...at all. Tried to ask it for help and it keeps telling me to analyze the code and such...no coding experience...yeah good luck with that

iamfodder
Автор

This is great... you really have to give it very precise instructions in order for it to guive you what you are looking for...

mykschumacker
Автор

The bot gets weird if it has to continue. Better to ask it to break things into chunks. Like an outline.

andydataguy
Автор

Bro I heard your LG dishwasher finishing it’s cycle in the background. Lol I have one too so the sound was familiar.

GoldStandard
Автор

lol that washing machine sound in the background at 3:37

wattehell
Автор

This is exciting. I have been wanting to do this. I'm glad I found your video. Do you accept mentorship?

nemozo
Автор

Hey MoonDev, would you be open to doing a neural network based trading bot? I’m working on myself and could really use some help. Coding it in Python, I mainly use ChatGPT to help because I suck at coding.
Love your stuff! Keep it up! I really believe these boys can change lives. It’s the future.

salignozzi
Автор

Loooking forward to the coding journey with you professor!!!

TommasoLucaSanna
Автор

i am learning algo tradeing with chat gpt. i can notice i wasa running in same problem you were :D time, api and stuff some api documentasion and stuff like that so its quite hard for new oyou still need to dig . btw you can like ask chat-gpt to use snipits or like edit in parts that way it will edit just parts of code and then doublecheck whole code if you want .

nanasas
Автор

That's crazy man I was literally just looking this up couple days ago

Frankygotdatbag
Автор

Nice content ! It would be great if you build a reinforcement learning Algo that can trade based on a set of AI generated policies.

kadourkadouri
Автор

It might not be perfect but it will come in handy to speed up the writing the trading script. 😅

bennyx
Автор

what extensions are you using in VS Code? Those prompts while you type are cool.

whattowatchrightnow
Автор

Just ask it to give you only the modified code to not get the full code, or ask it to give the rest of the code from where it last stopped. Thanks, I was looking for help like this, because I only know finance and zero coding and I have now created a few basic bots, combining indicators and turning them into strategies using CHAT GPT, but I needed to use existing code from indicators made in trading view to train it on writing in the same manner, although through the whole experience and giving it my compiling errors it tried to fix it sometimes it did, other times I needed to ask it to use different methods for the snippets of code that had errors, or even hard calculate everything or for example only use if statements. I could not fix it myself, cause I have no idea what the code means, but somehow asking it in the right way I actually got some working and now I am slowly actually learning to code pine script through the process. See you in Bootcamp. Cheers.

stefan_koekemoer
Автор

408 time stamp your strategy it OK BUT what happen if you buy and it go's Down . i see NO Stop in place

edwards
Автор

An AI that could crack live trading would be worth trillions, don't think they would make it open to public :D

szilagyimiklos
Автор

Hey Moon,
I‘m writing a scientific paper about ai helping to create daytrading programs at university.
My question is, how you manage to implement those codes into a real broker system and if it is also possible out of switzerland.
I would highly appreciate your help.
(Ofc you will be cited in the paper in case of support)
Kind regards,
Loris H.

lhliddal
Автор

Can you make a video on how we can make a NFT trading bot that will trade mints and on secondary?

clipcasino
visit shbcf.ru