Python Tutorial: Stock Trading Bot

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 33

  • @CodingEntrepreneurs
    @CodingEntrepreneurs  Місяць тому +20

    Thanks for watching! Code + Chapter links below
    💻 Code: github.com/codingforentrepreneurs/Stock-Trading-Bot
    🚀 Chapters:
    00:00:00 Welcome
    00:02:59 Demo
    00:09:45 Requirements
    00:14:18 Setup Python Environment
    00:18:31 Picking Data Source and Loading API Keys
    00:23:52 Your First Polygon Rest API Request
    00:32:36 Your First Alpha Vantage Rest API Request
    00:38:47 Transform Polygon Response
    00:45:25 Transform Alpha Vantage Response
    00:58:40 Custom Polygon API Client
    01:13:34 Custom Alpha Vantage API Client
    01:25:41 Integrate Django and Jupyter
    01:33:00 Handling Time Series Data
    01:37:57 Django & Timescale with Docker Compose
    01:49:20 Django & TimescaleDB with Timescale Cloud
    01:55:40 Django Model for Time Series Data
    02:09:16 API Clients as Helper Functions
    02:14:41 Load Stock Quotes into Django
    02:24:34 Batch and Bulk Load Stock Quotes
    02:30:35 Sync Stock Data Functions
    02:43:33 Verify The Stock Sync Functions
    02:53:02 Integrate Celery and Django
    03:04:58 Django Functions as Celery Tasks
    03:14:11 Verify Stock Quotes in the Django Admin
    03:22:10 Scheduled Daily Sync
    03:32:17 Sync Historical Stock Data
    03:41:08 Display Time and Range Filter in Django Admin
    03:54:37 Storing the Raw Timestamp
    04:04:22 Moving Averages Part 1
    04:12:42 Moving Averages Part 2
    04:22:59 Daily Moving Averages
    04:33:04 Volume Trend and Price Target
    04:41:39 Relative Strength Index and Stock Services
    04:50:36 Logic-based Recommendation
    04:55:25 LLM-based Recommendation
    05:02:09 Thank you and next steps

  • @ManishA-gb8tz
    @ManishA-gb8tz Місяць тому +15

    Cfe never fails when it comes to python oriented development

  • @falasefemi3344
    @falasefemi3344 Місяць тому +5

    I found this page at the right time when I'm learning Python

    • @CodingEntrepreneurs
      @CodingEntrepreneurs  Місяць тому +1

      Interesting how that works eh?

    • @falasefemi3344
      @falasefemi3344 Місяць тому +1

      @CodingEntrepreneurs thanks

    • @olegtsybulskyi5129
      @olegtsybulskyi5129 Місяць тому +1

      I also received this information at the moment when I am starting a new journey with Python. It looks like magic. But it's great, and it confirms the correctness of the decisions I make when I start on a new road. Thank you!

  • @laughs_of_ethiopia
    @laughs_of_ethiopia Місяць тому +5

    This channel is an absolute champion when it comes to Python content-top-notch and incredibly insightful!

  • @kumarbanavathu7716
    @kumarbanavathu7716 Місяць тому

    I started my dev career after learning from his tutorials. He gives great content.

  • @רוןנויישעיהו
    @רוןנויישעיהו 18 днів тому

    im stuck at 1:47:38 where you told me i need to remember whats my timescale or my notebook where i need to change it but i dont remember and i dont know where is it. can you help me with it? thanks

  • @AGASTRONICS
    @AGASTRONICS Місяць тому +3

    Wow, Long time. I'm sure this is what you have been packaging ❤

  • @tigransergeev7436
    @tigransergeev7436 25 днів тому

    Dear Justin Mitchel,
    I recently watched your video on creating a trading bot with Python Tutorial: Stock Trading Bot, and I found it incredibly insightful and helpful. However, I noticed that the video seems to cover only the first half of the topic.
    Do you plan to release the next part of this series or a continuation video? Learning more and seeing the entire process in action would be wonderful.
    Thank you for sharing your knowledge, and I look forward to hearing from you!
    Best regards,
    Tigran

  • @motaz1701
    @motaz1701 19 днів тому +1

    Helpful project thank you so much.

  • @ctrl-shift-run8681
    @ctrl-shift-run8681 29 днів тому

    Super cool seeing how the whole pipeline gets built. Not sure about the prediction result accuracy results/validity given how LLMs work but cool nonetheless.

  • @detta-y2c
    @detta-y2c Місяць тому +1

    You're doing a fantastic job! I need some advice: My OKX wallet holds some USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). How should I go about transferring them to Binance?

  • @abbymccollam8922
    @abbymccollam8922 Місяць тому

    I keep getting the issue of "ALPHA_VANTAGE_API_KEY not found. Declare it as envvar or define a default value." when I try and launch my Jupyter notebook. I close the terminal and relaunch it, but the error does not go away. Any advice?

    • @abbymccollam8922
      @abbymccollam8922 Місяць тому

      Also after about 10 minutes or maybe it's because I keep trying to relaunch it, then I finally start getting the API key

  • @subhashkumawat6825
    @subhashkumawat6825 Місяць тому +2

    Long time no see 😊😊😊 Frist view

  • @MohammedAmineBenbakreti
    @MohammedAmineBenbakreti Місяць тому

    Hello Do u think this project is a good start for someone new in AI (knows python and django)

  • @krushnakumargajbhiye2871
    @krushnakumargajbhiye2871 Місяць тому

    Can you show the live trade and strategy implementation on it

    • @CodingEntrepreneurs
      @CodingEntrepreneurs  Місяць тому +1

      Performing real trades with real money?

    • @krushnakumargajbhiye2871
      @krushnakumargajbhiye2871 Місяць тому +1

      ​@@CodingEntrepreneurs yes if possible OR show live paper trade where if the trading account does not have balance then atleast it should show that the signal executed and trade entered. The strategy implementation part where multiple strategy can be defined and based on requirements lets pick a strategy, feed with data and wait for signal to get executed. Thanks for replying 😊

    • @asheemmishra2405
      @asheemmishra2405 Місяць тому +1

      @@CodingEntrepreneurs Yes, please show implementation of atleast 1 strategy (paper trading that generates Buy and Sell signal without actual money involved also works). Also explain how to connect with a broker's API and completely automate trading process (from Data to Decision).

  • @VedBrahmbhattBEE
    @VedBrahmbhattBEE Місяць тому

    Are all the apis and other resources used in this project free to use?

  • @khalidelgazzar
    @khalidelgazzar 21 день тому

    WoW .. this is really hot.thank you😊

  • @kumargupta7149
    @kumargupta7149 Місяць тому

    Thanks for Posting amazing content

  • @Shivansh_singh4539
    @Shivansh_singh4539 Місяць тому +1

    Hii can you make video in website blocker

  • @martinschigoziem3823
    @martinschigoziem3823 Місяць тому

    Please do the agent tutorial

  • @abhaykanwasi881
    @abhaykanwasi881 Місяць тому

    Is all resources are free during building this ?

    • @CodingEntrepreneurs
      @CodingEntrepreneurs  Місяць тому

      They all have free tiers yes. On the stock apis, it's easy to fill up the free tier quotas.

  • @aashayamballi
    @aashayamballi Місяць тому

    Thank you!

  • @abhisheksanjaygawade1479
    @abhisheksanjaygawade1479 Місяць тому +2

    New Music 🎵

  • @fayrodeeb7211
    @fayrodeeb7211 Місяць тому

    I just found the way out of the tutorial hell (your channel)