100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Summary To built a trading bot with chat gpt $9.49   Add to cart

Summary

Summary To built a trading bot with chat gpt

 1 view  0 purchase
  • Course
  • Institution

To built a trading bot with chat gpt

Preview 1 out of 1  pages

  • April 9, 2023
  • 1
  • 2022/2023
  • Summary
avatar-seller
I built a trading bot with chat gpt

GPT Trader is a trading bot I built with chat GPT and I want to show you how to use it for live trading. At
the end of this video, I invested two thousand dollars. Will I make money or lose money? Find out at the
end! To improve predictions on popular website Kaggle, we can use XG Boost. Let’s take the code that
Chat GPT gave us and paste it in a code window to see what happens. We have to install Tensorflow but
the data isn’t legit so let’s ask Chat GPT for a better data source. Suraj suggests signing up for Alpaca to
get real-time data from the web today of whatever stock we want. We’ll use the Scikit Learn library with
Keras on top to train a very simple statistical machine learning model on the data, but that’s not going to
be enough. To get better results, we need to go back to our code and modify the stock prediction code.

We recently signed up for Alpaca and got our API key for the paper API, which means we’re not trading
with real money yet. So, we’ve gone back to the code and replaced that. Now we have a Python script
that’s pulling real data from the web. PPO is a way to teach a computer to make decisions like a human.
We’re taking this super Advanced technique, Markov Decision Process, to frame this process in a way
that it’s mathematically possible to define a policy. This means our agent, which is an AI neural network
using Proximal Policy Optimization, will act according to the financial market environment. Once it’s
trained, all the training data will be displayed in a back test.

A crone job Is a scheduled task that runs automatically at specified intervals on Linux or Unix based
systems, perfect for what we wanted. With Python code, this single function can make a trade
programmatically given the secret and public key. I’m going to deploy this with my white labeled
Firebase starter package on my GitHub, called gbt Trader, which comes with Firebase and everything
integrated. We’re going to deploy it to Virtual with terminal right now. I have deposited money into my
Live account but I’m still waiting on that deposit. Once the deposit is complete, I’m going to let the bot
make a trade and come back in 24 hours to see how much money it has made.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller abiramik22bcs065. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $9.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75619 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$9.49
  • (0)
  Add to cart