Bitcoin Forum
April 27, 2024, 04:59:23 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 »  All
  Print  
Author Topic: Bitcoin Windows gadget which displays BTC and currency amounts  (Read 69135 times)
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 516
Merit: 268


View Profile
October 13, 2020, 12:42:33 PM
 #261

Thanks this sorted the problem of the text not fitting and the cutting off problem, so it is now readable but the scale just too small.  I applied your "pt" settings for 175%

Yeah, I'm sorry mate, I see no easy solution for that. Basically the issue is in IE scaling, that is broken when used with larger DPI in some but not all situations, and to fix that on the gadget side would require working around IE CSS bugs with IE CSS itself, which I'm not up to.

You can perhaps try updating Windows (especially IE/Edge part) and 8GadgetPack, that might help. I'm don't know what's the difference between your and my setup, because on my Win10 this works and scales the gadget up correctly, making it larger without breaking design.
1714237163
Hero Member
*
Offline Offline

Posts: 1714237163

View Profile Personal Message (Offline)

Ignore
1714237163
Reply with quote  #2

1714237163
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714237163
Hero Member
*
Offline Offline

Posts: 1714237163

View Profile Personal Message (Offline)

Ignore
1714237163
Reply with quote  #2

1714237163
Report to moderator
1714237163
Hero Member
*
Offline Offline

Posts: 1714237163

View Profile Personal Message (Offline)

Ignore
1714237163
Reply with quote  #2

1714237163
Report to moderator
w.a.y.n.e
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
October 03, 2023, 08:17:13 AM
 #262

sorry to resurrect this, I didn't want to start a new thread when anyone still using this may have this thread on watch and might be able to help.


I have a problem with the mybitcoins gadget

I use it to display my bitcoin balance and convert value to GBP, it's set to display balance and value in 2 lines/boxes.
the conversion is working fine, as if i set the pool adjustment to 1 it shows the value of 1 bitcoin in GBP, but, it's as if it can't get the wallet balance, because with the adjustment set to 0, both the balance and value show N/A

Has something changed/no longer available? or is the problem on my machine, i have tried deleting and re-installing it

I'm still using windows 7 btw, and version 4.4 of the gadget, i also use mycoins (v3.3) to just show the value of 1 bitcoin in GBP with the same conversion api key from currencyconverterapi.com which is working fine.


thank you for your any help that might be available.
NotATether
Legendary
*
Online Online

Activity: 1582
Merit: 6688


bitcoincleanup.com / bitmixlist.org


View Profile WWW
October 03, 2023, 12:34:13 PM
 #263

sorry to resurrect this, I didn't want to start a new thread when anyone still using this may have this thread on watch and might be able to help.


I have a problem with the mybitcoins gadget

I use it to display my bitcoin balance and convert value to GBP, it's set to display balance and value in 2 lines/boxes.
the conversion is working fine, as if i set the pool adjustment to 1 it shows the value of 1 bitcoin in GBP, but, it's as if it can't get the wallet balance, because with the adjustment set to 0, both the balance and value show N/A

Has something changed/no longer available? or is the problem on my machine, i have tried deleting and re-installing it

I'm still using windows 7 btw, and version 4.4 of the gadget, i also use mycoins (v3.3) to just show the value of 1 bitcoin in GBP with the same conversion api key from currencyconverterapi.com which is working fine.


thank you for your any help that might be available.

I'm not sure if the developer is even able to push a new version of the gadget... The gadget store has been dead for 10 years and I'm not aware of any method to download and install them manually.

But anyway, the other reason why it can stop working is if the server hosting the backend is brought down. In such a situation, nobody would be able to use the gadget anymore.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
logfiles
Copper Member
Legendary
*
Online Online

Activity: 1960
Merit: 1639


Top Crypto Casino


View Profile WWW
October 03, 2023, 12:57:21 PM
 #264

<...>
The OP was online a few months back (around July) so there is a still a chance that you can get in touch with you. The easiest way would be to send him a PM in case he monitors his emails.

Have you considered looking at other alternatives like Bittab.io. I don't know if they have the exact features you want, but they might be worth exploring in case you fail to get a solution here.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
w.a.y.n.e
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
October 03, 2023, 03:17:09 PM
 #265

Thanks for the replies  Smiley

I did wonder if something like the server suggestion, but the rest of the gadget works just fine (as does mycoins gadget) it seems to be just the section related to wallet balance that isn't working.

I tried pm'ing Domchi as i saw he was still active not long ago, but because i'm a newbie, when i tried to send him a pm, it said that the recipient had block pm's from newbies, i suspect this was because he would get lots of messages from newbies instead of them posting in the thread instead.

His website is still active and the download link works fine, and it's easy enough to install standalone and is not affected by the gadget store non-existence.


will wait and see if he sees these new posts, if anyone with higher status wants to drop him a pm to let him know of the new posts that'd be great and appreciated.
i'll have a look at the Bittab.io thing, thank you for the suggestion.
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 516
Merit: 268


View Profile
October 03, 2023, 04:19:08 PM
 #266

I use it to display my bitcoin balance and convert value to GBP, it's set to display balance and value in 2 lines/boxes.
the conversion is working fine, as if i set the pool adjustment to 1 it shows the value of 1 bitcoin in GBP, but, it's as if it can't get the wallet balance, because with the adjustment set to 0, both the balance and value show N/A

Has something changed/no longer available? or is the problem on my machine, i have tried deleting and re-installing it

I'm still using windows 7 btw, and version 4.4 of the gadget, i also use mycoins (v3.3) to just show the value of 1 bitcoin in GBP with the same conversion api key from currencyconverterapi.com which is working fine.

I'm still here. Smiley

I'm not aware that something specific has changed, but since both Windows gadgets as a technology and Win7 as an OS are deprecated, yeah, I'd definitely suggest that you try to upgrade. Smiley

If the gadget is showing N/A, that means the value you're getting is 0. APIs that are used are still working, at least on a first glance. Maybe the balance on the wallet address you're monitoring is 0? You can also send me your settings, here or in PM, provided they don't include any private API keys, and I can try to figure it out. Sorry about not being able to PM me, that setting obviously appeared at one point and was off by default - now I've allowed it.
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 516
Merit: 268


View Profile
October 03, 2023, 04:27:54 PM
Merited by logfiles (1)
 #267

I'm not sure if the developer is even able to push a new version of the gadget... The gadget store has been dead for 10 years and I'm not aware of any method to download and install them manually.

But anyway, the other reason why it can stop working is if the server hosting the backend is brought down. In such a situation, nobody would be able to use the gadget anymore.

They can still be installed by downloading the .gadget file and running it even without the gadget store.

There is no gadget-specific backend for this gadget, but it does rely on a few other public APIs, like Bistamp API for exchange rate, blockchain.info API for wallet balance, and currencyconverterapi for fiat exchange rate, all of which miraculously still work.

I must admit that I'm a bit proud that someone is still running this and finding it useful even after the technology it was written in was deprecated decade ago, and the OS it was running on is EOLed and no longer supported by Microsoft. Smiley
w.a.y.n.e
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
October 03, 2023, 04:30:54 PM
 #268

hi,

thanks for the reply, just heading out to work so will pm you tomorrow if i dont get time tonight. I hope the balance is not zero  Shocked  (it does appear to be showing in Electrum)

hopefully this isnt an issue with my machine/os install, it is as you said getting on a bit now, might have to try a roll back on a restore point see if somethings gone wibble at some point.


EDIT:
and yes, i'm still using them, they are small, simple and do exactly what i need and are lightweight and effective, you hit the nail on the head without overloading them with features (i don't use half their features!) i also didn't believe or pay any attention to the bs microsoft put out as to why they closed the gadget store
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 516
Merit: 268


View Profile
October 03, 2023, 04:41:17 PM
 #269

Sure. I doubt it's related to OS, as long as the gadget is running. It's one of the APIs or values.

Glad you're sill finding it useful! Although today having Win7 connected to Internet is a bit risky simply from security standpoint. Smiley
digaran
Copper Member
Hero Member
*****
Offline Offline

Activity: 1330
Merit: 899

🖤😏


View Profile
October 04, 2023, 10:48:22 AM
 #270

Hello dear dev, I haven't seen such a dedicated developer like you to be present when topic is bumped after 3 years.😉, I was wondering since you know stuff like that, is it possible to add something like an alarm, when a certain address is activated on the blockchain, we'd have an alarm going off, we could set a siren sound with max volume.

Because there are online services sending sms when there is any incoming/ outgoing transaction, but that requires registration.

🖤😏
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 516
Merit: 268


View Profile
October 05, 2023, 04:05:55 AM
 #271

Hello dear dev, I haven't seen such a dedicated developer like you to be present when topic is bumped after 3 years.😉, I was wondering since you know stuff like that, is it possible to add something like an alarm, when a certain address is activated on the blockchain, we'd have an alarm going off, we could set a siren sound with max volume.

Because there are online services sending sms when there is any incoming/ outgoing transaction, but that requires registration.

Thanks for your kind words.

I did think about adding sound alerts at one point, but then I decided against it as I couldn't think of a simple way to specify when it would trigger. However I'm not really looking to add this when gadget is basically obsolete; maybe if you asked ten years ago. Smiley
logfiles
Copper Member
Legendary
*
Online Online

Activity: 1960
Merit: 1639


Top Crypto Casino


View Profile WWW
October 05, 2023, 11:15:24 PM
 #272

Hello dear dev, I haven't seen such a dedicated developer like you to be present when topic is bumped after 3 years.😉, I was wondering since you know stuff like that, is it possible to add something like an alarm, when a certain address is activated on the blockchain, we'd have an alarm going off, we could set a siren sound with max volume.

Because there are online services sending sms when there is any incoming/ outgoing transaction, but that requires registration.
You could actually get a wallet software with such a service. I don't know if it was jaxx liberty or exodus, but one of those wallet software programs would send me a sound notification when there was an incoming transaction. The only issue is you had to keep it open and completely synced.

Most of those service require registration because they at times charge a fee for the service or need an email to send the notifications.

Blocknomics can also send browser push notifications, but still requires one to sign up.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
examplens
Legendary
*
Offline Offline

Activity: 3262
Merit: 3150


Crypto Swap Exchange


View Profile WWW
October 05, 2023, 11:46:25 PM
 #273

Hello dear dev, I haven't seen such a dedicated developer like you to be present when topic is bumped after 3 years.😉, I was wondering since you know stuff like that, is it possible to add something like an alarm, when a certain address is activated on the blockchain, we'd have an alarm going off, we could set a siren sound with max volume.

Because there are online services sending sms when there is any incoming/ outgoing transaction, but that requires registration.
You could actually get a wallet software with such a service. I don't know if it was jaxx liberty or exodus, but one of those wallet software programs would send me a sound notification when there was an incoming transaction. The only issue is you had to keep it open and completely synced.

Most of those service require registration because they at times charge a fee for the service or need an email to send the notifications.

Blocknomics can also send browser push notifications, but still requires one to sign up.

If you use Telegram, there is a bot https://t.me/tracktxbot just enable notification.
Although it shows me some errors with ETH addresses lately

Quote
TrackTX bot helps you to track your ETH / BTC / BNB / XRP / USDT transactions.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 516
Merit: 268


View Profile
October 13, 2023, 08:48:31 AM
 #274

If anyone else is having problems retrieving wallet balance, since blockchain.info started refusing requests from old IE versions, here's the solution. In settings, don't use "Addresses" field. Retrieve your address balance through "Pool #1":
Poll #1 URL: https://chain.api.btc.com/v3/address/YOUR_BTC_ADDRESS
Paid amount JSON key: json.data.balance/100000000

Also, if by any chance Bitstamp which is the default doesn't work for retrieving exchange rate, you can use Binance as primary exchange:
Primary exchange: https://api.binance.com/api/v3/ticker?symbol=BTCUSDT
Exchange rate JSON key: lastPrice
dishwara
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
January 13, 2024, 07:22:30 AM
 #275

If anyone else is having problems retrieving wallet balance, since blockchain.info started refusing requests from old IE versions, here's the solution. In settings, don't use "Addresses" field. Retrieve your address balance through "Pool #1":
Poll #1 URL: https://chain.api.btc.com/v3/address/YOUR_BTC_ADDRESS
Paid amount JSON key: json.data.balance/100000000

Also, if by any chance Bitstamp which is the default doesn't work for retrieving exchange rate, you can use Binance as primary exchange:
Primary exchange: https://api.binance.com/api/v3/ticker?symbol=BTCUSDT
Exchange rate JSON key: lastPrice

Hi, Thanks for the nice gadget which i am using for many years.
It stopped working.
I tried to change the primary exchange, which gives N/A

I checked in browser  https://api.binance.com/api/v3/ticker?symbol=BTCUSDT

It gives error

{
  "code": 0,
  "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error."
}
What to do?

Also your site to download mycoin gadget  gives 404 error.
https://domchi.cc/gadgets/MyBitcoins.gadget
w.a.y.n.e
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 08, 2024, 09:33:34 AM
Last edit: April 11, 2024, 04:12:36 AM by Mr. Big
 #276

Also, if by any chance Bitstamp which is the default doesn't work for retrieving exchange rate, you can use Binance as primary exchange:
Primary exchange: https://api.binance.com/api/v3/ticker?symbol=BTCUSDT
Exchange rate JSON key: lastPrice


So, sure enough Bitstamp went over the weekend, exactly the same issue as before for grabbing wallet balance, this fix worked nicely though, thank you Smiley

I do have another oddity, which MyCoins has always done, will post it later when i've managed to compile a post that makes sense with pictures, it relates to displaying Primary currency last/bid price in top field and currency exchanged last/bid price in the lower field



So. lets see if i can explain this, first, settings and desired result...

So as you can see from this image, i use both gadgets, Mycoins to show current value of 1 bitcoin (last/bid price) currently showing GBP via the inbuilt conversion API, My Bitcoins then shows by wallet ballance in BTC and the converted value in GBP

https://i.postimg.cc/g20sDYKv/pair-condensed.png

Now, that is how i've ran them for a while, but i'd actually like the USD price per bitcoin above the GBP one, however, there's an odd issue when i do that.

So this image shows how i currently have the expanded view configured, as you can see i'm using the Secondary exchange section to display low, high and the USD bid/last price.

https://i.postimg.cc/jSkX3G8B/full.png

Currently, you're probably asking why does he have the top field hidden and showing the USD price field 3 if he wan't it shown in non-expanded mode..... well therein lies the problem, currently i have the correction in the currency set to 1 to force GBP value to be for one bitcoin, all is ok with that option. (that can be 0 is showing the custom top field, but if not then it has to be one)

But, when i change the settings of the custom top field to display primary exchange rate, it does this

https://i.postimg.cc/sDmK7B5j/issue.png


Now it's always done this, and i can't remember if we'd spoken about this before (if we have, accept my apologies) to be honest, i'm still not convinced it's not me messing something up

Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 516
Merit: 268


View Profile
April 09, 2024, 01:11:51 AM
Last edit: April 11, 2024, 04:14:53 AM by Mr. Big
 #277

Hi, Thanks for the nice gadget which i am using for many years.
It stopped working.
I tried to change the primary exchange, which gives N/A

I checked in browser  https://api.binance.com/api/v3/ticker?symbol=BTCUSDT

It gives error

{
  "code": 0,
  "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error."
}
What to do?

Hi dishwara - terribly sorry, it seems I completely missed your message and I'm seeing it only now. Do you still have this issue?

It's definitely on the Binance side, probably related to location you're connecting from. Maybe try VPN or another exchange?

Also your site to download mycoin gadget  gives 404 error.
https://domchi.cc/gadgets/MyBitcoins.gadget

This is incorrect URL. Please try download button here: https://domchi.cc/mybitcoins/index.htm



Currently, you're probably asking why does he have the top field hidden and showing the USD price field 3 if he wan't it shown in non-expanded mode..... well therein lies the problem, currently i have the correction in the currency set to 1 to force GBP value to be for one bitcoin, all is ok with that option. (that can be 0 is showing the custom top field, but if not then it has to be one)

But, when i change the settings of the custom top field to display primary exchange rate, it does this



Now it's always done this, and i can't remember if we'd spoken about this before (if we have, accept my apologies) to be honest, i'm still not convinced it's not me messing something up

Hey w.a.y.n.e., nice to hear from you again!

Not sure if I have understood the issue correctly, but let's see if I we can untangle this. Your bottom field seems to be multiplying primary and secondary exchange rate.

Can you try setting your top field to display secondary exchange rate (and be sure to set secondary exchange URL as well), and using primary exchange rate (and correction 1) in your bottom field? Bottom field is calculated so you need to make sure USD and GBP rates are fetched separately, one from primary, and other from secondary exhange URL.
w.a.y.n.e
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 09, 2024, 07:26:16 AM
 #278

Morning,

I think i've tried every combination of that, including dropping the ticker URL into source one and selecting pools + correction.

Same thing every time, as soon as the top field is not hidden, the exchange rate calculation goes wrong, hide it, and it works properly.

here's a run down of all of my settings, after your suggestion above:

Quote
PRESETS:
Trading selected

GENERAL:
Custom Top Field: Secondary exchange rate (field 3)
Hide bottom field:  unticked
Main currency/top field label: USD
Correction in currency (will be added to the total amount, can be negative) 1
Note (write anything you want here, for your use, shows on mouseover):                               Value of 1 Bitcoin

ALERT:
not changed anything in this section, all settings default and values 0

UPDATES:
Source data update interval (in minutes): 10
Exchange data update interval (in seconds):  600

PRIMARY EXCHANGE:
Exchange URL: https://api.binance.com/api/v3/ticker?symbol=BTCUSDT
Exchange rate JSON Key: lastPrice
Ticker Currency (not main currency):  USD

Target curerency:  GBP
Target currency API Key:  my API key

SECONDARY EXCHANGE:
Exchange URL: https://api.binance.com/api/v3/ticker?symbol=BTCUSDT

Field 1 Label: Low
JSON KEy: lowPrice

Field 2 Label: High
JSON KEy: highPrice

Field 3 Label: USD
JSON Key: lastPrice

Everything below that point relating to SOURCES is blank



that setup results in the strange calculation in the bottom field, just as if i only use a primary exchange rate, yet as soon as the top field is hidden, the GBP calculation field works as expected, Field 3 of Secondary Exchange rate remains as expected at the lastPrice, this exact scenario also happens if I move the secondary exchange URL and JSON key to Source #1 section and point the top field there instead, and also the same if i simply remove the second exchange URL completely and just run with the one.

If i point the top field to a blank thing, such as pools + correction when that is empty, "1" is displayed and the GBP calculation appears correct, perhaps with "1" added or not, not sure on that as i never checked
w.a.y.n.e
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 09, 2024, 04:50:24 PM
 #279

been playing around with different things, it seems the top and bottom field are tied together regardless of alternative ticker URLs used, be that in the secondary, or source/pool fields, to the point that if i remove all of the info regarding currency conversion (the API key and GBP selection) it defaults to USD in the bottom field and will show a similar weird value, until you hide the top field, then it corrects, so it looks like you can't have top and bottom field visible at the same time

In this test i put an alternative ticker url in the secondary and source#1 with the appropriate JSON key in the first fields and then also in the hashrate one for the source#1, and then changed the top field to look to the secondary exchange, with the same results as before, and then to correction+pool and then to the cumulative hashrates, all resulted in that same incorrect value in the bottom field. so it's like the currency conversion is being done off the value in the top field, not from the primary exchange (which for this test was still the binance one
Domchi (OP)
Sr. Member
****
Offline Offline

Activity: 516
Merit: 268


View Profile
April 13, 2024, 03:45:40 AM
 #280

Same thing every time, as soon as the top field is not hidden, the exchange rate calculation goes wrong, hide it, and it works properly.

I'm sorry for the slow response... life happened.

The thing you're trying to do can't be done that way - if you're showing both top and bottom fields, bottom field will always be calculated from the top field. You can't show two unrelated values - bottom field will always be top field multiplied with exchange rate.

What you can do is the following. Hide top field. Use correction 1 and make sure you use currency API (as you already do). That will show GBP exchange rate in bottom field.

Then, under secondary exchange clear exchange URL (as you don't need it). Under "Field 1" (or 2 or 3, whicever you prefer) enter label USD and JSON key "lastPrice".

Then expand your gadget. Bottom field should show GBP exchange rate, and Field 1 should show USD exchange rate. There are two more fields, and you can't hide them unfortunately.

Or simply use two gadgets, one for GBP and one for USD, and show only bottom field on both.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!