It is currently March 29th, 2024, 2:04 am

Crypto Skins not working

Get help with creating, editing & fixing problems with skins
MrDeepFreeze
Posts: 3
Joined: January 15th, 2023, 1:15 am

Crypto Skins not working

Post by MrDeepFreeze »

I have tried several different skins and INI files that should show various crypto prices but none of them work. I've tried several things to determine why but it's as if you can not obtain current crypto prices via Rainmeter anymore. Does anyone know why or can anyone point me to a working skin? An example of specific skins that do not work are all from https://visualskins.com/skin/cryptocurrency-tracker. Thanks.
User avatar
SilverAzide
Rainmeter Sage
Posts: 2588
Joined: March 23rd, 2015, 5:26 pm

Re: Crypto Skins not working

Post by SilverAzide »

MrDeepFreeze wrote: January 15th, 2023, 1:19 am I have tried several different skins and INI files that should show various crypto prices but none of them work. I've tried several things to determine why but it's as if you can not obtain current crypto prices via Rainmeter anymore. Does anyone know why or can anyone point me to a working skin? An example of specific skins that do not work are all from https://visualskins.com/skin/cryptocurrency-tracker. Thanks.
I don't have an answer for you other than this: all the skins on that website are old and out of date. They were stolen from their original authors and posted there without their permission. So it is no surprise to me that they don't work.

Also, just to clarify your statement "as if you can not obtain current crypto prices via Rainmeter anymore" in case there is any misunderstanding: Rainmeter isn't the problem here and has nothing to do with the issue. The problem is that the websites used by the skin to fetch the data have most likely changed over the years, so the skins have broken and won't be fixed.

Your best bet is to find the current version of the skin, if you can (DeviantArt is one place to search, or here on the Rainmeter forums). Most if not all the skins on that website were stolen from DA in the first place. If you can't find it, or can't find another skin that works the way you want, then your other option is to fix the skin yourself if you know how.
Gadgets Wiki GitHub More Gadgets...
User avatar
tass_co
Posts: 511
Joined: May 4th, 2020, 3:01 pm
Location: Ankara, TURKEY

Re: Crypto Skins not working

Post by tass_co »

MrDeepFreeze wrote: January 15th, 2023, 1:19 am I have tried several different skins and INI files that should show various crypto prices but none of them work. I've tried several things to determine why but it's as if you can not obtain current crypto prices via Rainmeter anymore. Does anyone know why or can anyone point me to a working skin? An example of specific skins that do not work are all from https://visualskins.com/skin/cryptocurrency-tracker. Thanks.
I am sharing a working example from my archive :thumbup:
MiniCrypto_d.rmskin
You do not have the required permissions to view the files attached to this post.
I don't know where i going from here, but i promise it won't be boring... :great:
MrDeepFreeze
Posts: 3
Joined: January 15th, 2023, 1:15 am

Re: Crypto Skins not working

Post by MrDeepFreeze »

Thanks to both of you for that information. I felt like that might be the case as I found it odd that out of about a dozen skins that I tried none of them worked. I am very new to Rainmeter and am learning. Your information is very helpful.
MrDeepFreeze
Posts: 3
Joined: January 15th, 2023, 1:15 am

Re: Crypto Skins not working

Post by MrDeepFreeze »

I'm not sure why but your skin is also not working for me. Could I be missing some required added information in the INI file?
tass_co wrote: January 15th, 2023, 4:46 pm I am sharing a working example from my archive :thumbup:

MiniCrypto_d.rmskin
User avatar
tass_co
Posts: 511
Joined: May 4th, 2020, 3:01 pm
Location: Ankara, TURKEY

Re: Crypto Skins not working

Post by tass_co »

MrDeepFreeze wrote: January 15th, 2023, 8:37 pm I'm not sure why but your skin is also not working for me. Could I be missing some required added information in the INI file?
I forgot to say. This skin receives data through Binance. In order to use the skin, you need to create an APIKEY on Binance.
If you just create an api key the skin will work :thumbup:

BINANCE
16.01.2023 - 01.50.04-Window 3 - Buy_Sell Bitcoin, Ether and Altcoins _ Cryptocurrency Exchange _ Bina.png
You do not have the required permissions to view the files attached to this post.
I don't know where i going from here, but i promise it won't be boring... :great:
Slide_Lock
Posts: 8
Joined: July 23rd, 2023, 10:53 pm

Re: Crypto Skins not working

Post by Slide_Lock »

tass_co wrote: January 15th, 2023, 10:52 pm I forgot to say. This skin receives data through Binance. In order to use the skin, you need to create an APIKEY on Binance.
If you just create an api key the skin will work :thumbup:

BINANCE

16.01.2023 - 01.50.04-Window 3 - Buy_Sell Bitcoin, Ether and Altcoins _ Cryptocurrency Exchange _ Bina.png
How do we deal with the API key once we have created it? I have created an API key on BinanceUS but the skin does not update/show crypto prices.
Thanks.

<edit> nvm, I changed all of the "binance.com" entries to "binance.us" and the prices are now displaying. I just need to figure out how to get rid of the "USDTTRY" ticker and replace it with "XLM"
Last edited by Slide_Lock on July 30th, 2023, 7:47 pm, edited 1 time in total.
User avatar
tass_co
Posts: 511
Joined: May 4th, 2020, 3:01 pm
Location: Ankara, TURKEY

Re: Crypto Skins not working

Post by tass_co »

Slide_Lock wrote: July 30th, 2023, 7:39 pm How do we deal with the API key once we have created it? I have created an API key on BinanceUS but the skin does not update/show crypto prices.
Thanks.
Can you share your code?
I don't know where i going from here, but i promise it won't be boring... :great:
Slide_Lock
Posts: 8
Joined: July 23rd, 2023, 10:53 pm

Re: Crypto Skins not working

Post by Slide_Lock »

tass_co wrote: July 30th, 2023, 7:46 pm Can you share your code?
Sure thing. Here is what I have going now. I removed the 1st meter entries so now all I have is BTCUSDT and ETHUSDT which is actually fine for me. Seeing the realtime BTC price on my desktop is a huge win for me. THANK YOU for this skin.

Here is my (your <edited>) code:

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1

[Variables]
;---------- TRADE SYMBOL ---------- 
;THE TRADE SYMBOL USED ON BINANCE CALLED A TICKER
TradeSymbol2=BTCUSDT 
;NUM OF DECIMALS - DEFAULT VALUE: 2
NumOfDecimalsDisplayedTrade2=2

TradeSymbol3=ETHUSDT
NumOfDecimalsDisplayedTrade3=2


;---------- SCALE ----------
ScaleValue=0.80

;---------- TEXT ----------
TextFace=Product Sans
TextCol=255,255,255
TextSize=24
TextSpacing=15

;---------- BACKGROUND ----------
;0-255: 255 Most visible - 0 Least Visible
BackgroundAlpha=0

BackgroundSizeW=225
BackgroundSizeH=100

;---------- PRICE ----------
;COLOUR USED IF PRICE IS UP FROM LAST PRICE
UpCol=0,255,0           
;COLOUR USED IF PRICE IS DOWN FROM LAST PRICE
DownCol=255,0,0

;---------- ARROW ----------
;0=VISIBLE, 1=HIDDEN
ArrowEnabled=1
;THE SIZE OF THE ARROW
ArrowSize=25
;SPACING BETWEEN THE ARROW AND THE TRADESYMBOL LABEL          
ArrowSpacing=15    

;---------- PERCENTAGE CHANGE ----------
;0=VISIBLE, 1=HIDDEN
PercentageEnabled=0
;THE SIZE OF THE PERCENTAGE TEXT, BY DEFAULT HALF OF TEXT SIZE
PercentageTextSize=(#TextSize# * 0.5)

;---------- BINANCE API TRADESYMBOL 2 ----------
[MeasureBinancePriceData2]
Measure=WebParser
URL=https://api.binance.us/api/v3/ticker/24hr?symbol=#TradeSymbol2#
UpdateRate=62
RegExp=(?siU)"priceChangePercent":"(.*)","weightedAvgPrice":".*","prevClosePrice":".*","lastPrice":"(.*)"
OnConnectErrorAction=[!SetOption MeterPrice2 Text "Error obtaining data from binance!"]

[Measure24hrDifference2]
Measure=WebParser
URL=[MeasureBinancePriceData2]
StringIndex=1

IfMatch=-.*
IfMatchAction=[!SetOption MeterDifference2 FontColor #DownCol#]
IfNotMatchAction=[!SetOption MeterDifference2 FontColor #UpCol#]
OnConnectErrorAction=[!SetOption MeterPrice2 Text "Error obtaining data from binance!"]

;Truncation
RegExpSubstitute=1
Substitute="(.*\.\d{2})\d*":"\1"

[MeasurePrice2]
Measure=WebParser
URL=[MeasureBinancePriceData2]
StringIndex=2
IfAboveValue=#LastPriceTradeSymbol2#
IfAboveAction=[!SetOption MeterPrice2 FontColor #UpCol#][!SetOption MeterArrow2 ImageTint #UpCol#][!SetOption MeterPrice2 Text ""][!SetOption MeterArrow2 ImageRotate 180][!SetVariable LastPriceTradeSymbol2 [MeasurePrice2]]
IfBelowValue=#LastPriceTradeSymbol2#
IfBelowAction=[!SetOption MeterPrice2 FontColor #DownCol#][!SetOption MeterArrow2 ImageTint #DownCol#][!SetOption MeterPrice2 Text ""][!SetOption MeterArrow2 ImageRotate 0][!SetVariable LastPriceTradeSymbol2 [MeasurePrice2]]
DynamicVariables=1
OnConnectErrorAction=[!SetOption MeterPrice2 Text "Error obtaining data from binance!"]

;Truncation
RegExpSubstitute=1
Substitute="(.*\.\d{#NumOfDecimalsDisplayedTrade2#})\d*":"\1"

;---------- BINANCE API TRADESYMBOL 2 ----------
[MeasureBinancePriceData3]
Measure=WebParser
URL=https://api.binance.us/api/v3/ticker/24hr?symbol=#TradeSymbol3#
UpdateRate=62
RegExp=(?siU)"priceChangePercent":"(.*)","weightedAvgPrice":".*","prevClosePrice":".*","lastPrice":"(.*)"
OnConnectErrorAction=[!SetOption MeterPrice3 Text "Error obtaining data from binance!"]

[Measure24hrDifference3]
Measure=WebParser
URL=[MeasureBinancePriceData3]
StringIndex=1

IfMatch=-.*
IfMatchAction=[!SetOption MeterDifference3 FontColor #DownCol#]
IfNotMatchAction=[!SetOption MeterDifference3 FontColor #UpCol#]
OnConnectErrorAction=[!SetOption MeterPrice3 Text "Error obtaining data from binance!"]

;Truncation
RegExpSubstitute=1
Substitute="(.*\.\d{2})\d*":"\1"

[MeasurePrice3]
Measure=WebParser
URL=[MeasureBinancePriceData3]
StringIndex=2
IfAboveValue=#LastPriceTradeSymbol3#
IfAboveAction=[!SetOption MeterPrice3 FontColor #UpCol#][!SetOption MeterArrow3 ImageTint #UpCol#][!SetOption MeterPrice3 Text ""][!SetOption MeterArrow3 ImageRotate 180][!SetVariable LastPriceTradeSymbol3 [MeasurePrice3]]
IfBelowValue=#LastPriceTradeSymbol3#
IfBelowAction=[!SetOption MeterPrice3 FontColor #DownCol#][!SetOption MeterArrow3 ImageTint #DownCol#][!SetOption MeterPrice3 Text ""][!SetOption MeterArrow3 ImageRotate 0][!SetVariable LastPriceTradeSymbol3 [MeasurePrice3]]
DynamicVariables=1
OnConnectErrorAction=[!SetOption MeterPrice3 Text "Error obtaining data from binance!"]

;Truncation
RegExpSubstitute=1
Substitute="(.*\.\d{#NumOfDecimalsDisplayedTrade3#})\d*":"\1"


;---------- METER 2 ----------
[MeterBackground2]
Meter=Shape
Shape=Rectangle ([MeterBackground1:W] + #TextSpacing#),0,(#BackgroundSizeW# * #ScaleValue#),(#BackgroundSizeH# * #ScaleValue#) | Fill Color 0,0,0,(#BackgroundAlpha#) | StrokeWidth 0

[MeterSymbolLabel2]
DynamicVariables=1
Meter=String
Text=#TradeSymbol2#
AntiAlias=1
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#TextSize# * #ScaleValue#)
X=([MeterBackground1:XW] + #TextSpacing#)

[MeterPrice2]
Meter=String
Text=Getting Price...
MeasureName=MeasurePrice2
AntiAlias=1
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#TextSize# * #ScaleValue#)
FontWeight=700
NumOfDecimals=2

DynamicVariables=1
Y=((#TextSize# * #ScaleValue#) + (#TextSpacing# * #ScaleValue#))
X=([MeterSymbolLabel2:X])

ClipString=1
W=(#BackgroundSizeW# * #ScaleValue#)

[MeterArrow2]
Meter=Image
ImageName=#@#Images\arrow.png
GreyScale=1
ImageTint=#TextCol#

DynamicVariables=1 
X=([MeterSymbolLabel2:XW] + (#ArrowSpacing# * #ScaleValue#))
Y=(([MeterSymbolLabel2:H] / 2) - ([MeterArrow2:H] / 2))
W=(#ArrowSize# * #ScaleValue#)
H=(#ArrowSize# * #ScaleValue#)
Hidden=#ArrowEnabled#

[MeterDifferenceLabel2]
Meter=String
DynamicVariables=1
Text=24hr Change: 
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#PercentageTextSize# * #ScaleValue#)
AntiAlias=1
X=([MeterPrice2:X])
Y=(((#TextSize# * #ScaleValue#)*2) + ((#TextSpacing# * #ScaleValue#) * 2))
Hidden=#PercentageEnabled#

[MeterDifference2]
Meter=String
DynamicVariables=1
MeasureName=Measure24hrDifference2
Text=%1%
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#PercentageTextSize# * #ScaleValue#)
AntiAlias=1
X=([MeterDifferenceLabel2:XW] + #TextSpacing#)
Y=([MeterDifferenceLabel2:Y])
Hidden=#PercentageEnabled#

;---------- METER 3 ----------
[MeterBackground3]
Meter=Shape
Shape=Rectangle ([MeterBackground2:XW] + #TextSpacing#),0,(#BackgroundSizeW# * #ScaleValue#),(#BackgroundSizeH# * #ScaleValue#) | Fill Color 0,0,0,(#BackgroundAlpha#) | StrokeWidth 0

[MeterSymbolLabel3]
DynamicVariables=1
Meter=String
Text=#TradeSymbol3#
AntiAlias=1
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#TextSize# * #ScaleValue#)
X=([MeterBackground2:XW] + #TextSpacing#)

[MeterPrice3]
Meter=String
Text=Getting Price...
MeasureName=MeasurePrice3
AntiAlias=1
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#TextSize# * #ScaleValue#)
FontWeight=700
NumOfDecimals=2

DynamicVariables=1
Y=((#TextSize# * #ScaleValue#) + (#TextSpacing# * #ScaleValue#))
X=([MeterSymbolLabel3:X])

ClipString=1
W=(#BackgroundSizeW# * #ScaleValue#)

[MeterArrow3]
Meter=Image
ImageName=#@#Images\arrow.png
GreyScale=1
ImageTint=#TextCol#

DynamicVariables=1 
X=([MeterSymbolLabel3:XW] + (#ArrowSpacing# * #ScaleValue#))
Y=(([MeterSymbolLabel3:H] / 2) - ([MeterArrow3:H] / 2))
W=(#ArrowSize# * #ScaleValue#)
H=(#ArrowSize# * #ScaleValue#)
Hidden=#ArrowEnabled#

[MeterDifferenceLabel3]
Meter=String
DynamicVariables=1
Text=24hr Change: 
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#PercentageTextSize# * #ScaleValue#)
AntiAlias=1
X=([MeterPrice3:X])
Y=(((#TextSize# * #ScaleValue#)*2) + ((#TextSpacing# * #ScaleValue#) * 2))
Hidden=#PercentageEnabled#

[MeterDifference3]
Meter=String
DynamicVariables=1
MeasureName=Measure24hrDifference3
Text=%1%
FontFace=#TextFace#
FontColor=#TextCol#
FontSize=(#PercentageTextSize# * #ScaleValue#)
AntiAlias=1
X=([MeterDifferenceLabel3:XW] + #TextSpacing#)
Y=([MeterDifferenceLabel3:Y])
Hidden=#PercentageEnabled#
User avatar
tass_co
Posts: 511
Joined: May 4th, 2020, 3:01 pm
Location: Ankara, TURKEY

Re: Crypto Skins not working

Post by tass_co »

Slide_Lock wrote: July 30th, 2023, 8:07 pm Sure thing. Here is what I have going now. I removed the 1st meter entries so now all I have is BTCUSDT and ETHUSDT which is actually fine for me. Seeing the realtime BTC price on my desktop is a huge win for me. THANK YOU for this skin.
Your code works fine for me.
31.07.2023 - 00.46.49-Window.png
31.07.2023 - 00.45.22-Window.png
Your problem may be related to UTF encoding.
Move the attached file to the skin folder.
Then start Rainmeter again, load the skin file I sent and try again.
Crypto.ini
You do not have the required permissions to view the files attached to this post.
I don't know where i going from here, but i promise it won't be boring... :great: