Coinfest

Rating: 
5
Your rating: None Average: 5 (1 vote)

A cryptocurrency ticker app for Sailfish OS.

Note when upgrading form 0.x to 1.x or higher!: To be more in line with how things are done on Sailfish I've renamed the package and program name to `harbour-coinfest`. Please uninstall Coinfest first and then install the 1.x (or higher) version. Once done you can either configure the app again or use your old config files:

  • when the app is not running:
    • copy `~/.config/coinfest/config.lisp` to `~/.config/harbour-coinfest/config.lisp`
    • copy `~/.local/share/coinfest/tickers.lisp` to `~/.local/share/harbour-coinfest/tickers.lisp`.

---

You will need to have razcampagne's repos enabled for ECL and EQL5, since Coinfest depends on these.

At the moment this app only supports Kraken, which is enough for me.  Feel free to mention your preferred exchange in the comments (I already have code for Binance, Bittrex and Poloniex) and I'll consider it a poll.

The source code is available here: https://git.sr.ht/~aerique/coinfest

Known Issues

  • The format of a config file entry has changed.  This should be migrated automatically, but if you run into issue edit `~/.config/coinfest/config.lisp` and set `*ticker-refresh*` to `0`.
  • I think I forgot to put in the ability to get updated Kraken tickers.
  • Having two remorse actions running at the same time will result in only one being executed (and an error on STDOUT when running from the CLI).
  • When running from the CLI you'll see `[W] unknown:-1 - <Unknown File>: Syntax error` when downloading messages or logging in.  It seems to be connected to spawning threads in ECL and even happens when the `download-messages-thread` or `login-and-register-thread` functions are empty.  When these functions are not called the error does not appear.  However, it does not seems to affect the running of those functions.  I have not investigated this further.
Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-coinfest-1.0-1.armv7hl.rpm988.23 KB04/03/2021 - 00:30
File coinfest-0.11-1.armv7hl.rpm989.86 KB02/03/2021 - 18:31
File coinfest-0.10-1.armv7hl.rpm989.08 KB02/02/2021 - 01:39
File coinfest-0.9-1.armv7hl.rpm988.87 KB29/01/2021 - 00:39
Changelog: 

1.0 (2021-03-03)

Changed

  • Use `harbour-coinfest` instead of `coinfest` as name on the system side of things.

Fixed

  • Re-use requested Kraken asset pairs instead of requesting them again.

Removed

  • Do not compile in Kraken asset pairs.  It leads to more troubles than it is worth.

0.11 (2021-03-02)

Added

  • Reset poll time on manual refresh.
  • Naive migration from old to new poll time format.

Changed

  • Make poll times similar to Jolla apps.
    • But no 5 minute poll time! (too short)
  • Replace BusyLabel with custom widget.

Fixed

  • Use BackgroundJob instead of Timer.

0.10 (2021-02-02)

Changed

  • Increase delay between API calls to 0.1s.

Fixed

  • Better handling of network errors.
  • Show default setting when no config file exists.

0.09 (2021-01-29)

First released version.

Comments

aerique's picture

There's an bug in the handling of network errors and now that Kraken has shit the bed due to the /r/wallstreetbets, Elon Musk, Doge singularity the app hangs and quits if it can't connect to Kraken.

lxmx's picture

Thank you!! Using the app now. Poloniex support would be great but not critical. Graphs would be awesome to have. Also it would be cool to have the overall portfolio calculator.

aerique's picture

Thanks :-)

I'm mostly going to scratch some other itches with regards to apps I'm missing on Sailfish OS, so the portfolio calculator is definitely off the list.

Graphs I also want to have, otherwise I do not consider this app 'finished'.