🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart

    PROJECTS
    24
    88
    319.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yashax @frittna
      last edited by

      @frittna Yes, picked up 2 Core 1’s with stands. ))

      Regarding TIME, so if it’s not listed on Binance, it won’t work?

      Thank you for all your help.

      J

      frittnaF 1 Reply Last reply Reply Quote 0
      • frittnaF
        frittna @yashax
        last edited by frittna

        @yashax
        yes, thats correct since prize data comes from the binance api only, spot markets, no derivates

        1 Reply Last reply Reply Quote 0
        • Y
          yashax
          last edited by

          How can I change clock from 24hr to 12hr?

          Thank you

          frittnaF 1 Reply Last reply Reply Quote 0
          • frittnaF
            frittna @yashax
            last edited by frittna

            @yashax 0_1642890212095_43c2805b-3de5-4119-9f31-627354773fbc-grafik.png

            you can check at line 500 in the code and simply change lines where is says "time(now)" to "timeFormat12(now)"
            this will work and will show time in am/pm mode and not in 24h mode.
            If you want to have a visualisation for am/pm too you would have to find free space first and draw something small with a the isAM() or isPM() function.

            Y 1 Reply Last reply Reply Quote 0
            • Y
              yashax @frittna
              last edited by

              @frittna Thank you so much.

              What’s the while line on the chart?

              frittnaF 1 Reply Last reply Reply Quote 0
              • frittnaF
                frittna @yashax
                last edited by frittna

                @yashax
                the white line is the relative trading volume from the last 24 shown candles

                Y 1 Reply Last reply Reply Quote 0
                • Y
                  yashax @frittna
                  last edited by

                  @frittna Can you please be kind to help me to adapt your code to display the Forex market, the same way.

                  Thank you so very much in advance.

                  1 Reply Last reply Reply Quote 0
                  • D
                    dssguy1
                    last edited by

                    Recently my ticker just went to 0.00e+00 for BTC price and no chart. It says "WS Disconnected" now. Did something in the data source change to break this awesome little ticker?

                    1 Reply Last reply Reply Quote 1
                    • D
                      dssguy1
                      last edited by

                      Forgot to mention, it also says "No JSON in response".

                      1 Reply Last reply Reply Quote 1
                      • B
                        bucket62
                        last edited by

                        I am also getting the W.S disconnected and no JSON message. Is there a way to update the config file so that users can change the API? I think this may be a problem with the binance API

                        1 Reply Last reply Reply Quote 0
                        • frittnaF
                          frittna
                          last edited by

                          maybe it could be geo-blocked because here from the EU for example it still works normally!
                          please test:
                          https://api.binance.com/api/v3/depth?symbol=BTCUSDT&limit=1000
                          and
                          https://api.binance.us/api/v3/depth?symbol=BTCUSDT&limit=1000
                          If only the .us domain works for you i will update the code soon for an .us version.

                          If you compile it yourself with arduino you have to modify the .com to .us - so change these two lines:
                          const char restApiHost = "api.binance.us";
                          and
                          const char wsApiHost = "stream.binance.us";

                          1 Reply Last reply Reply Quote 0
                          • felmueF
                            felmue
                            last edited by

                            Hello @frittna

                            FWIW: here in Switzerland both URLs work for me.

                            Thanks
                            Felix

                            GPIO translation table M5Stack / M5Core2
                            Information about various M5Stack products.
                            Code examples

                            1 Reply Last reply Reply Quote 0
                            • frittnaF
                              frittna
                              last edited by

                              i uploaded a version that uses binance.us.
                              Use the M5Burner in my Zip File on Github

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                bucket62 @frittna
                                last edited by

                                @frittna
                                Thank you frittna! I am in the U.S. and will try that out today. I will report back if it works.

                                1 Reply Last reply Reply Quote 0
                                • B
                                  bucket62
                                  last edited by

                                  Hi Frittna, thank you for your help. The Binance.US api fixed the problem and I am back up and running. Thank you!

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    dssguy1
                                    last edited by

                                    Works perfect! THANKS!!! Now I can watch myself losing money again!

                                    frittnaF 1 Reply Last reply Reply Quote 0
                                    • frittnaF
                                      frittna @dssguy1
                                      last edited by frittna

                                      @dssguy1 said in Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart:

                                      Works perfect! THANKS!!! Now I can watch myself losing money again!

                                      Nice to hear :) Well, Yes, like the frog methapher .. he would jump out instantly if he gets into too hot water to not get burnt but if he is sitting in cold water which rises in temperature slowly until it is cooking he will probably stay until he gets rekt. Who knows, nobody. Zero or moon or -98% - all is possible - have a really good plan (thats very hard to almost impossible if not investing tons of time) or have a position which you are comfortable with and dont do much

                                      1 Reply Last reply Reply Quote 0
                                      • TariqWilliamsT
                                        TariqWilliams
                                        last edited by TariqWilliams

                                        I'm always looking for ways to stay updated on the crypto market and this seems like a great way to do it. I'm especially excited about the three buttons that you've included, as they make it even easier to use. I appreciate you sharing your work with the community, and I'm sure many of us will find it extremely useful. Plus, if you're looking to stay on top of the market, you should check out the list of top ten currencies in the world for 2022. That way, you can make sure that you're investing in the right ones. Thanks for taking the time to make this project and for making it available to the rest of us!

                                        1 Reply Last reply Reply Quote 1
                                        • Y
                                          yashax
                                          last edited by

                                          @frittna Can you please be kind to help me to adapt your code to display the Forex market, the same way.

                                          Thank you so very much in advance.

                                          1 Reply Last reply Reply Quote 0
                                          • Y
                                            yashax
                                            last edited by

                                            Or maybe adapt it for the stock market? Is that at all possible?

                                            frittnaF 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post