Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. frittna
    • Continue chat with frittna
    • Start new chat with frittna
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    frittna

    @frittna

    5
    Reputation
    33
    Posts
    3199
    Profile views
    2
    Followers
    0
    Following
    Joined Last Online

    frittna Follow

    Posts made by frittna

    • RE: Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart

      the files SHTX3.ccp and SHTX3.h are normally in the root directory where you have the .ino file of the program (the sketch folder - ctrl+k loads it)
      you see the structure on root directory on github aswell

      because of the "#include" in the code it will show like this
      0_1682009936170_2.JPG

      0_1682009922035_1.JPG

      .

      regarding the compiler messages i quote myself:

      btw: the one warning from "timezone" concerning a possible wrong architecture type while compiling the code is ok.. does not matter<

      other messages in red about the SHT3X are ok too but not like your error, they will look like this picture and do not disturb compiling
      0_1682012283246_4.JPG

      i hope you have noticed that there is a very simple and short way to load the code without compiling in arduino at all .. right..? (M5Burner - "the simple way..") but i guess you know and want to modify something for your purpose

      posted in PROJECTS
      frittna
    • RE: Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart

      you have to follow the guide in the readme.txt if you want to compile it in arduino to modify something in the code.

      download them all with Arduino -> library-manager - and watch for correct spelling and correct version numbers like in the readme given.

      or if you dont want to change the code then take the easy way without any coding and load it into the m5-stack core1(!) not 2 - i think no one runs it on a core version 2 m5-stack units because there would be some changings needed with library versions and code (resets all time and won't start correct atm)

      posted in PROJECTS
      frittna
    • RE: Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart

      @yashax
      is't not easy to adapt because i use a data stream direct from the binace exchange api with binace pairs only. Don't know if there is a similiar data stream for forex etc. candles that can be used in the same way (json format every 2 seconds with open, high, low, close and volume)

      posted in PROJECTS
      frittna
    • RE: Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart

      @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

      posted in PROJECTS
      frittna
    • RE: Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart

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

      posted in PROJECTS
      frittna
    • RE: Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart

      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";

      posted in PROJECTS
      frittna
    • RE: Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart

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

      posted in PROJECTS
      frittna
    • RE: Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart

      @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.

      posted in PROJECTS
      frittna
    • RE: Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart

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

      posted in PROJECTS
      frittna
    • RE: Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart

      @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?

      posted in PROJECTS
      frittna