Skip to content

Candle Stick Shop

Your Insight to the Stock Market & Finances

  • Candle Stick Charting
  • S&P 500 Index
  • Nasdaq Index
  • Bitcoin
  • Stockmarket
  • Privacy Policy
  • Toggle search form

Candlestick charts in python from scratch with Plotly

Posted on March 7, 2022March 5, 2022 By Kelly Donner 18 Comments on Candlestick charts in python from scratch with Plotly

We produce an interactive candlestick chart in python from scratch with Plotly. We also add on a technical indicator and show how further additions could be made.

Candle Stick Charting

Post navigation

Previous Post: ICICI Prudential NASDAQ 100 Index Fund 2021 | NASDAQ 100 Index | ICICI Prudential Mutual Fund
Next Post: How much Money a Bitcoin Scammer made off Cathie Wood.

Related Posts

Understanding Candlestick Charts Candle Stick Charting
CANDLESTICK का Maths [PART – 6] – Learn Candlesticks Charting in Hindi Candle Stick Charting
Candlestick Chart Analysis Explained | Share Market for Beginners Candle Stick Charting
Candlestick Math – A New Way Of Using Candlesticks Candle Stick Charting
Charting School: Hollow vs Filled Candlesticks Candle Stick Charting
Candle stick chart in wazirx / Technical Chart in Wazirx / wazirx में Advance chart कैसे देखें Candle Stick Charting

Comments (18) on “Candlestick charts in python from scratch with Plotly”

  1. Kirill Yudkin says:
    January 7, 2021 at 2:27 pm

    What is the second best time range?

  2. motivation Thoughts says:
    March 18, 2021 at 9:59 pm

    Hi, if I want to show 5m data then …? What to do

    1. Chad Thackray says:
      March 19, 2021 at 2:38 am

      If you’ve got access to a data set with 5 minute OHLC data, then it’s pretty much the same thing. If not you’ll have to make it yourself. There’s a nice set of 1 minute candle data on kaggle, so you should be able to figure out a function to convert that to 5 min candles

  3. M S says:
    May 2, 2021 at 9:42 am

    How would you add other indicator panes – for example if you wanted RSI below and MACD above?

    1. Chad Thackray says:
      May 3, 2021 at 3:03 pm

      That’s a topic for a future video! Try this link though if you want to get started now https://matplotlib.org/devdocs/gallery/subplots_axes_and_figures/subplots_demo.html

    2. M S says:
      May 3, 2021 at 3:41 pm

      @Chad Thackray thanks, i was able to figure it out after a bit

  4. Ginanjar Noviawan says:
    May 8, 2021 at 10:55 am

    What if we want real time data from broker, and animate the candlestick as price updating ? Is it possible using plotly ? Thank you, great tutorial and subscribed!

  5. FRANKWHITE1996 says:
    August 10, 2021 at 4:18 am

    another great video! thanks for sharing!

  6. Chilly Willy says:
    October 5, 2021 at 12:57 pm

    It is Supergood !!! Thanks o lot!

  7. ludwig matheus says:
    December 4, 2021 at 7:52 am

    Hello teacher, when I try to import pandas it shows me this error “ModuleNotFoundError: No module named ‘pandas'”. Can you help me?

    1. Chad Thackray says:
      December 4, 2021 at 11:15 am

      You’ll need to install the pandas module. Using pip or through your IDE

  8. ludwig matheus says:
    December 4, 2021 at 1:48 pm

    previous problem solved teacher, thanks

    When I run this comand “df[‘date’]=pd.to_datetime(df[‘date’])”, it shows me this error

    ” Traceback (most recent call last):
    File “c:Userslmathcandlesticks.py”, line 5, in
    df[‘date’]=pd.to_datetime(df[‘date’])
    File “C:UserslmathAppDataLocalProgramsPythonPython39libsite-packagespandascoreframe.py”, line 3458, in __getitem__
    indexer = self.columns.get_loc(key)
    File “C:UserslmathAppDataLocalProgramsPythonPython39libsite-packagespandascoreindexesbase.py”, line 3363, in get_loc
    raise KeyError(key) from err
    KeyError: ‘date’ ”

    I dont know what to do

    1. Endrius Sartor says:
      January 5, 2022 at 11:00 am

      remove the cryptodatadownload address from the csv file and the code should run with no error.

    2. Cinolas Gace says:
      March 1, 2022 at 11:16 am

      @Endrius Sartor can you explain a bit more please? what address? i have the same problem

  9. sumit vishway says:
    January 8, 2022 at 4:40 am

    Awesome !!!!!!!!!!
    can you please share your code or git link.

  10. sumit vishway says:
    January 8, 2022 at 11:53 am

    how your graph is opened in new tab ? I am using google colab and graph is open in same page. pls help

  11. The Blueprint says:
    February 16, 2022 at 5:37 am

    hi, is there a way to get live data through api? I want for a django project.

  12. Marcelo Ribeiro de Oliveira Mello says:
    March 5, 2022 at 1:00 pm

    Very Good. How to add and arrow to indicate an opened position in chart? Thanks!

Comments are closed.

Recent Posts

  • Trading The DOW Jones Index Using A Daily, 4 Hour And 2 Minute Chart
  • TradeTalks: NDXDWA, the Nasdaq-100 Dorsey Wright Momentum Index
  • #TradeTalks: Nasdaq index performance for the month.
  • VIDEO Dow Jones Analysis
  • Peter Lynch’s Tips to Prepare for a Stock Market Crash

Recent Comments

  • Scotty Dog on Michael Burry’s Warning for the 2022 Stock Market Crash
  • Faith Barnes on This is when the stock market will take off again: Expert
  • LowLip McGee on The Tragic Downfall Of The Dogecoin Millionaire
  • john bassett on This is the SAME Set-Up as 2008 | SP500 at the Edge of a WATERFALL
  • Mario Tsaggas on i’m selling everything………..

Categories

  • Bitcoin
  • Candle Stick Charting
  • Dow Index
  • Nasdaq Index
  • S&P 500 Index
  • Stockmarket

Copyright © 2022 Candle Stick Shop.

Powered by PressBook Grid Blogs theme