ESP8266 based stock price display (not really a ticker because it doesn't move) that uses an OLED (SH1106), that receives the ticker symbol from self served webpage.
I am currently using Yahoo Finance for price info every 5 seconds but you can change that to the API of your choice along with the update frequency.
The ESP8266 needs the RSA fingerprint method, and it gets updated randomly. You can get the fingerprint here.
I am not a developer or programmer, so my code is not pretty, but I'm working on it.
This code is compatible with Arduino.
U8x8 (it's part of U8G2)
by Olikraus
ESPAsyncWebServer
by Me No Dev
ArduinoJson
Connect your ESP8266 to your i2c OLED. I use the standard D1(SCL) and D2 (SDA).
You must insert your own SSID and password for your Wifi, so it can connect.
Upon getting an IP address it will display it continually on the OLED until it receives its first ticker symbol.
From any browser input the IP address where you will be presented with a ticker input.
The program will automatically check for a new price every 5 seconds.
It also supports crypto, but you must use the Yahoo Finance format, for example BTC-USD for Bitcoin or DOGE-USD for Doge. Other currencies are supported.
Any symbol that works on Yahoo Finance should technically work.
It also calculates the percentage gain or loss from the previous close.
What happens when I put a bad ticker? Like "None"?
An error will display on the OLED.