🤖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
      last edited by

      Can someone please help me figure out how to display ticker for TIME crypto coin?

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

        Is it possible to have ticker rotate between several crypto coins? Like BTC for 5 seconds, the ETH for 5 seconds, in the loop.

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

          @yashax

          Hi,
          regarding TIME token - I see 4 different tokens with that name but none of it is listed on binance.

          An optional cycling function like you're asking was added in the last version i've released a month ago.
          Scroll up or go to the github source page.
          btw: do you have a core1 unit now?

          Y 1 Reply Last reply Reply Quote 0
          • 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
                                            • First post
                                              Last post