Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart
-
well.. i don't have a Core2 unit to test, only Core. I have read a few lines and that there is not much difference for old Core apps to run .. something changed at the power-state chip and its command for example.
One good thing is that you can select Core2 in Arduino and compile it right away without any errors :)
from compiler:
Sketch uses 1225886 bytes (18%) of program storage space. Maximum is 6553600 bytes.
Global variables use 55364 bytes (1%) of dynamic memory, leaving 4466620 bytes for local variables. Maximum is 4521984 bytes.BUT when you want to have Core2 board in your Arduino you need to load ESP32 Boardmanager version 1.0.6 and my code locks up with a stack overflow error for unknown reason when i use 1.0.5 or 1.0.6... not at compiling but when it connects to wifi. This was an issue a year ago and never solved it because i don't know what changings at the board library causes the conflict.
I think a real M5-Stack freak could find the cause easy (or knows it already) because there must be many other apps i guess after 1.0.5 came out whith same problem. But since i don't know where to start i have no fix for you Core2 users atm -
@yashax said in Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart:
The new M5Burner does not allow to select the zip file to burn.
what do you mean?.. try downloading new from source and follow readme
-
This post is deleted! -
@yashax said in Bitcoin / Multi Crypto Coin Ticker with 24 candlesticks chart:
Thank you. What is the location of the M5Burner source?
you find the link is in the first post
download project: https://github.com/frittna/Crypto_Coin_Ticker
-
@frittna
Hi there,I have a Core 2 and I want to install this. I tried doing this on windows with the installer, however the SD card library isn't compatible with the Core 2, according to this post: https://github.com/frittna/Crypto_Coin_Ticker/issues/3
Can you compile a version with a SD card library that works? This looks so cool and i really want to try this out!
-
@frankchau93
i started from zero too so maybe give it a try and search/test if there are other compatible libraries. Since i have no core2 device and beside the (stupid) fact that i cannot use the latest boardmanager (higher than 1.0.4) on a core1 I am kind of stuck. But i guess not forever.. atm i am not really plessed with free time but we would need to know what is causing the problems with boardmanager 1.0.5 and higher first. I suspect the WIFI, the SDCard or the Websockets library. Then only minor changings in code are needed to support core2 i guess. -
Can someone please help me figure out how to display ticker for TIME crypto coin?
-
Is it possible to have ticker rotate between several crypto coins? Like BTC for 5 seconds, the ETH for 5 seconds, in the loop.
-
-
@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
-
@yashax
yes, thats correct since prize data comes from the binance api only, spot markets, no derivates -
How can I change clock from 24hr to 12hr?
Thank you
-
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. -
@frittna Thank you so much.
What’s the while line on the chart?
-
@yashax
the white line is the relative trading volume from the last 24 shown candles -
@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.
-
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?
-
Forgot to mention, it also says "No JSON in response".
-
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
-
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";