Raspberry pi stock ticker: Raspberry Pi Stock Ticker Brings the Stock Exchange Floor Home

tinyticker · PyPI

A tiny Raspberry Pi powered ePaper ticker.

Project description


tinyticker uses a Raspberry Pi zero W and a small ePaper display to periodically display a stock or crypto chart.

A flask web interface is created to set the ticker options and control the Raspberry Pi.

tinyticker uses the cryptocompare API to query the crypto price information, you’ll need to get yourself a free API key. As well as the yfinance package to get the stock financial data.

🛒 Hardware

Shopping list:

  • Raspberry Pi Zero WH
  • One of these ePaper displays:
    • Waveshare ePaper 2.13in Black & White
    • Waveshare ePaper 2.13in Black, White & Red
    • Waveshare ePaper 2.13in Black, White & Yellow
  • A micro sd card

📦 Installation

Recommended setup

Flash the tinyticker image onto a SD card and you should be good to go.

Manual setup

I highly recommend using comitup to setup the networking on your RPi.

  • Write the comitup image to your sd card
  • Boot up the RPi and setup the networking
  • ssh into your RPi, you’ll probably want to change the password while you’re at it
  • Enable the SPI interface
  • (Optional) rename the hostname of your RPi by editing the /etc/hostname and /etc/hosts file
  • (Optional) rename the Wifi AP name by editing the /etc/comitup.conf file
  • Install the BCM2835 driver:
    curl http://www.airspayce.com/mikem/bcm2835/bcm2835-1.60.tar.gz | tar xzv
    cd bcm2835-1.60/
    ./configure
    make
    make install
    
  • Install pip:
    sudo apt install python3-pip
    
  • Install dependency requirements:
    sudo apt install libatlas-base-dev libopenjp2-7 libtiff5 libxml2-dev libxslt1-dev
    
  • Install tinyticker (the CFLAGS variable is required for RPi. GPIO to install):
    pip install tinyticker
    
  • To setup tinyticker to start on boot, copy over the systemd unit files and enable them.
  • On boot, a qrcode linking to the flask app will be flashed on the display
  • Leave a star, reboot and HODL !

Note: the Raspberry Pi zero isn’t very fast so be patient 🙂

Project details

This version

0.4.3

0.4.2

0. 4.1

0.4.0

0.3.14

0.3.13

0. 3.12

0.3.11

0.3.10

0.3. 9

0.3.8

0.3.7

0.3.6

0. 3.5

0.3.4

0.3.3

0.3. 2

0.3.1

0.3.0

0.2.1

0. 2.0

0.1.9

0.1.8

0.1. 7

0.1.6

0.1.5

0.1.4

0. 1.3

0.1.2

0.1.1

0.1. 0

Download files

Download the file for your platform. If you’re not sure which to choose, learn more about installing packages.

Source Distribution

tinyticker-0.4.3.tar.gz

(137.7 kB
view hashes)

Uploaded source

Built Distribution

tinyticker-0.4.3-py3-none-any.whl

(149.3 kB
view hashes)

Uploaded py3