Code Monkey home page Code Monkey logo

crypto-tracker-plasmoid's Introduction

Website as App Lombok PHP laravel-api-response-builder php-text-table bank-qrcode-formatter Fonty DateTimeTemplate weekday-plasmoid html-clock-plasmoid crypto-tracker-plasmoid

crypto-tracker-plasmoid's People

Contributors

cesasol avatar marcinorlowski 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

Watchers

 avatar  avatar  avatar  avatar

crypto-tracker-plasmoid's Issues

Doesn't update values (fresh install)

I tried installing on my laptop and desktop (both fresh installs) but can not get the widget to update. What i see is this and i've gone through all the diagnosing i can do.

OS: arch linux - KDE

image

Display pairs vertically

For the moment, the different pairs are displayed in horizontal mode, possible to choose between horizontal and vertical?

Error fetching from binance exchange

Binance is one of the leading crypto exchange it would be nice if we could pull data from Binance

I looked through the source code and found the structure of the var exchanges
so I added the following object to it

'binance-com': {
		name: 'Binance',
		url: 'https://api1.binance.com/',
		getRateFromExchangeData: function(data, crypto, fiat) {
            
			return data[0].price
		},
		getUrl: function(crypto, fiat) {
			url= 'https://api1.binance.com/api/v3/trades?symbol=' + crypto + fiat +'&limit=1'
                        console.error(url)
                        return url
		},
		pairs: {
			BTC: [
				'USDT',
				'EUR',
				'GBP',
				'JPY',
			],
			ETH: [
				'USDT',
				'EUR',
				'GBP',
				'JPY',
			],
			ETC: [
				'USDT',
				'EUR',
			],
			LTC: [
				'USDT',
				'EUR',
				'GBP',
				'JPY',
			],
			XRP: [
				'USDT',
				'EUR',
				'GBP',
				'JPY',
			],
		}
	}

This added the binance exchange but it couldn't fetch the data correctly.
I ranjournalctl /usr/bin/plasmashellto see if the console.error() was pushed but I couldn't find it.

Any help would be greatly appreciated

Chart display

Hi,

I'm glad someone finally decided to build a crypto price tracker for KDE.

My main suggestion would be to make it possible to display a neatly stacked, small but high resolution charts for each (or some) selected pairs.

If I could look at a small widget on my desktop and see not only what's going right now with my selected pairs but also how it relates to what's been going on for the past week (for example) I'd be one very happy KDE user.

KDE Plasma 6 support

Since Plasma 6 brings many changes, most of the plasmoids are now incompatible, including this awesome plasmoid.

I am not sure how much work would it be to port it to Plasma/Qt 6, since I have no experience developing for it, but it would be super nice to have this plasmoid even in Plasma 6. It is IMHO by far the best crypto tracker applet out there.

If somebody can point out how to migrate from plasma 5 to 6, I may try to do it, if it is not a complete rewrite. I couldnt find much of a doc, though.

Thanks

On-hover view

Hovering over widget are (when in Panel) could show more verbose information, i.e.- <EXCHANGE LOGO> COIN/PAIR: PRICE for each pair defined etc.

Fiat currency not selectable

What's wrong?
Currency appears to default to the first in the list for a given exchange, the selection opens when clicked but not possible to choose from the options.

Steps to reproduce the behavior:

  1. Add a crypto to track
  2. Choose an exchange
  3. Attempt to change fiat currency representation

Expected behavior
The clicked currency should be selected.

Runtime environment

  • Widget version (see About dialog)
    v.1.1.0
  • Plasma version (output of plasmashell --version)
    plasmashell 5.21.0
  • Name and version of OS: (just paste output of lsb_release -d)
    openSUSE Tumbleweed
  • If you use non-standard dock (i.e. Latte), put its name.
    N/A

Notes
Any additional information that may be helpful diagnosing the problem.

Thanks for making this tracker! Additionally, the crypto value does not update when applying changes, it waits until the next refresh. Not really a bug, but would be cool to see changes reflected immediately via a call to refresh the plasmoid.

New feature: support other indexes like S&P 500

Please describe the problem
BTC movements are usually linked to market movements that are reflected in S&P 500 and other indexes that aren't in crypto exchanges.

Describe the solution you'd like to see
Would be nice to support these indexes, either by adding the resources in the menu, or by letting us add a custom resource to read data from.

Notes
Thx for create crypto tracker!

What about an assets carousel?

Please describe the problem
First, thank you for you work :).

Main issue with crypto/assets price plasmoids is when I use in my panel. They get a lot of space :/.

image

Describe the solution you'd like to see
I was thinking; what if we can have a "carousel like" that change and update every X seconds to next pair in the list? It could open like a menu respecting lines x columns config on click.

BTC no longer working, while other coins work just fine

What's wrong?
Please put a clear and concise description of what the bug is.

BTC is no longer working on any exchange

Steps to reproduce the behavior:

  1. I tried all the exchanges and BTC will no longer display, other coins work fine on other exchanges

Expected behavior
A clear and concise description of what you expected to happen
instead of currently observed behaviour.
BTC to display price

Runtime environment

  • Widget version (see About dialog)

  • Plasma version (output of plasmashell --version)

  • Name and version of OS: (just paste output of lsb_release -d)

  • If you use non-standard dock (i.e. Latte), put its name.

                                                                         OS: Manjaro 22.0.0 Sikaris
    

██████████████████ ████████ Kernel: x86_64 Linux 6.0.11-1-MANJARO
██████████████████ ████████ Uptime: 2h 31m
████████ ████████ Packages: 1759
████████ ████████ ████████ Shell: zsh 5.9
████████ ████████ ████████ Resolution: 2560x1440
████████ ████████ ████████ DE: KDE 5.100.0 / Plasma 5.26.4
████████ ████████ ████████ WM: KWin
████████ ████████ ████████ GTK Theme: Breeze [GTK2/3]
████████ ████████ ████████ Icon Theme: breeze
████████ ████████ ████████ Disk: 11T / 110T (10%)
████████ ████████ ████████ CPU: AMD Ryzen 7 5800X 8-Core @ 16x 3.8GHz
████████ ████████ ████████ GPU: AMD Radeon RX 6700 XT (navi22, LLVM 14.0.6, DRM 3.48, 6.0.11-1-MANJARO)
RAM: 4407MiB / 15917MiB

Notes
Any additional information that may be helpful diagnosing the problem.

Custom grid layout losing setting multiple times a day

What's wrong?
I have the custom grid setting set to display two entries on top of each other. Settings-> Layout -> Use custom grid layout.
Rows: 2
Columns: 1

Several times a day this setting is lost and the display defaults back to no custom layout (Rows: 1 Columns: 1).

Steps to reproduce the behavior:

  1. Settings-> Layout -> Use custom grid layout.
    Rows: 2
    Columns: 1
  2. Wait a few hours, it will revert to 1:1

Expected behavior
Once the setting is set it should retain the layout. The Layout setting is always still checked and displaying the correct settings but those settings are not being displayed properly on the task bar. In order to temporarily fix it, I have to deactivate the setting and activate it again.

Runtime environment

  • Widget version: 2.1.0
  • Plasma version: plasmashell 5.22.1. Plasma has been updated 5 or 6 times and all of the previous verison had the problem as well.
  • Name and version of OS: KDE neon User Edition 5.22

New version doesn't update values

I've upgraded via manual method on Manjaro Stable, restarted plasmashell as mentioned in README.md

However what i see is:
image

One from Kraken, other from BitBay

Something seems wrong with new version or i am missing something (thx for adding XMR btw 👍 )

Custom fonts support

Add custom fonts support. Should be one setting per whole widget with option to set different font for each exchange separately.

Configurable action on ticker click

Add option to select action after ticker is clicked. For now we do ticker update, but we may also add option to open exchange website for given pair, open exchange ticker API endpoint for given pair

Convert custom coin amount

Please describe the problem
I want to see how much fiat worth of money i have and am aware and not concerned with people seeing that amount on my desktop.

Describe the solution you'd like to see
I would like to configure the amount of coin i have (just as an easy to implement solution for longtimehodlers) in the configuration of this plasmoid. Then this amount is multiplied with the current price and displayed instead of the price for one coin.

Notes
You should be able to specify this amount per entry. In the future it might be feasible to fetch the amount from a provided wallet address, to also support faster traders.

add alphanumeric label instead of icon for currency

Please describe the problem
the crypto icons are nice but not always easy to recognise

Describe the solution you'd like to see
I'd like an option in each currency setting to input an alphanumeric ID for the currency and an option to display it instead of the crypto icon.
IE : replace the icon by BTC for bitcoin, ETH for etherum etc...

Notes
thanks for this nice widget :)

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.