Giter Site home page Giter Site logo

donbing / bitbot Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 1.0 13.31 MB

Simple python app to drive Pimoroni e-ink displays with finance candle charts

License: GNU General Public License v3.0

Python 62.57% JavaScript 4.64% HTML 9.79% Dockerfile 1.74% Jupyter Notebook 21.25%
charts cryptocurrency python python3 stocks

bitbot's People

Contributors

acdawg avatar donbing avatar github-actions[bot] avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

acdawg

bitbot's Issues

๐Ÿ“ˆ plot charts using the newer MPF API

The newer API has:

  • Nicer looking candles (square rather than rounded)
  • Offers more candle styling options (the white inside candles look esp nice for BW screens)
  • Easy addition of moving averages
  • Supports pandas data frame
  • Simple volume chart
  • Is actively maintained and accumulating new features

moving to this API would reduce the amount of customisation Bitbot needs in order to display a nice looking chart, and open up more options for future styling.

support for waveshare eink displays

I really like your frame with the 5.7 inch setup at etsy... if it weren't for customs.

Is there any chance the bitbot would also work with a Waveshare 5.65inch 7color e-Paper Module or a 2.7inch e-Paper HAT (with red/black/white) in connection with a pi zero?

test output is not consistent

needs to use consistent start date to create the same charts each time. creates extra commits and makes it harder to spot changes to plots in PRs

KiloBitBot function of buttons

I got my 5.7 inky color eink and attached it to my pi zero which was running the waveshare test as installation from the image but that sadly didn't work. So I went to install it from fresh via CLI and that had no problems whatsoever. It started running and I was amazed! I absolutely love it. Thank you.
Now all I need is one of those nice aluminium stands (as an enhancement here it could maybe be an option if it could have a slight angle so it's not a 90 degrees stand but a 70 or 80 degrees angle for better viewing when standing on the desk - something like this one: https://www.thingiverse.com/thing:4664346 ).

It would be nice to be able to add functions to the buttons of the 5.7 inky display (the 2.7inch waveshare also has these buttons and maybe the same functions could be added here too):

  • Button 1 press will start or stop the cycling between different currencies / assets of interest given in the config.
  • Button 2 would start or stop the cycling between different timeframes (monthly, weekly, daily, 8h, 4h, 1h, 15m) so you can freeze a certain timeframe your interested in.
  • Button 3 could on click change the style of the display (volume, volume overlay, ...)
  • Button 4 would switch between the ticker mode and an only-picture-mode (loading the last set image) as a screensaver during the night or when away for vacation =)

The only issue I have is that I cannot get into the config webserver using a browser. Maybe I'll try configuring via CLI.

Unable to get it running using optionB.

  • I used Raspberry Pi Imager to install Raspberry Pi OS Lite (32bit).

  • I added ssh and wifi config files to the microSD card.

  • I put the microSD card into a Pi Zero W and booted it up.

  • I followed the steps in section B on: https://github.com/donbing/bitbot/blob/main/docs/app_install.md

  • During step 2 I got errors suggesting I add the /home/pi/.local/bin folder to the PATH

    I ran step 4 and got the following errors:

    Traceback (most recent call last):
      File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
       return _run_code(code, main_globals, None,
      File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
        exec(code, run_globals)
     File "/home/pi/bitbot/run.py", line 13, in <module>
        from src.bitbot import BitBot
      File "/home/pi/bitbot/src/bitbot.py", line 1, in <module>
        from PIL import Image
      File "/home/pi/.local/lib/python3.9/site-packages/PIL/Image.py", line 69, in <module>
        from . import _imaging as core
    ImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory

I added the above folder to PATH and I got the same errors.

I was able to use Setup Option A successfully.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.