Skip to content

About

Widget for displaying the exchange rate of cryptocurrencies on the desktop in real time.

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Latest commit

 

History

80 Commits

Folders and files

Repository files navigation

StockWidget

Widget for displaying the exchange rate of cryptocurrencies on the desktop in real time.

image

List of supported cryptocurrency exchanges (API):

  • Binance Global
  • Binance US (available only from the USA)
  • Bybit
  • Coinbase
  • Kraken
  • OKX
  • Poloniex

Data is refreshed every 60 seconds by default, the interval can be changed in the settings.

Installation

An icon should appear in the tray by clicking on which a menu for interacting with the widget will appear. There you can configure it and add the program to autorun.

Usage

  • Pairs : choose an exchange, search its pairs and add them to the widget. Each pair keeps its own exchange, so the widget can show BTC from Binance next to ETH-EUR from Kraken. Drag the pairs to change their order. Uncheck a pair to hide it from the widget without removing it: add BTC-USDT from Binance and OKX once, then switch between them with the checkboxes.
  • Appearance : screen corner, text color, green / red price changes. The widget can also be dragged anywhere with the mouse (grab it by the text).
  • Other : refresh interval (10 seconds to 10 minutes), always on top, error notifications.

The settings are stored in config.cfg next to the executable: one trading pair per line (BTC-USDT, or kraken_com:ETH-EUR for a pair from another exchange than $data_sources, #off:BTC-USDT for a hidden pair), options start with $. The log is written to qInfo.log in the same folder.

Building

Requires Qt 6.5 or newer (developed with Qt 6.12, MinGW 64-bit, installed with the Qt Online Installer: the MinGW, CMake and Ninja tools are taken from C:\Qt\Tools).

Release package : run deploy.cmd (or .\deploy.ps1 -QtDir C:\Qt\6.12.0\mingw_64 for another Qt kit). It builds the Release version and creates build\StockWidget-<version>-win64.zip with all the required DLLs, plus a .sha256 file for the release notes. The version is taken from project(VERSION) in CMakeLists.txt.

Manual build :

cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=C:/Qt/6.12.0/mingw_64
cmake --build build
windeployqt --release --no-translations build/StockWidget.exe

Or open CMakeLists.txt in Qt Creator.

License

This software is released under the LGPL-3.0 License, see LICENSE.

The Roboto font (resources/fonts) is licensed under the Apache License 2.0, see resources/fonts/LICENSE-Roboto.txt.

About

Widget for displaying the exchange rate of cryptocurrencies on the desktop in real time.

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages