Pages:
Author

Topic: [ANN][PREECS] CoolStorage.org real time conversion app like PREEV.COM but COOL! (Read 695 times)

hero member
Activity: 864
Merit: 648
Hey guys been a while, I have a new API function to spit out the weights used for the weighted BTCTC price. These are the raw prices from coinbase, bitstamp, and kraken.

The values are separated by a colon. The values are ordered: Coinbase:Bitstamp:Kraken

If you want to integrate it into anything, please limit your requests to one per minute as it only updates every minute anyways, thanks!

https://preecs.coolstorage.org?weights

hero member
Activity: 864
Merit: 648
Hey buddy Cheesy thank you for the kind words. The way I have it setup to show 2 decimal places and the formatting used for displaying the sats side and rounded prices unfortunately do not work together. Javascript won't spit out the formatted number without rounding it, thus losing the actual "cents" value. That is why I opted to keep it plain digit with decimal only. Also I rarely find myself adding anything to the BTC side over 1  Huh, maybe I need to start hanging out where you hang out on the forums here man LOL j/k Grin

I'm sure writing a custom function would solve it, but for now as far as built in commands go, there is nothing I've discovered that allows me to "easily" present the whole number like $22,338.65, it's either $22,389 or 22388.65.

Lol about the big numbers! I usually don't need them either, but lately, especially with the Hodlonaut trial, I've been "counting his pennies" hoping they'll suffice. And yes, the 70+ BTC there returns a number rather hard to read.

About implementation, just an (another idea) : if the number is bigger than 100k (or even 10k, up to you), then you can safely lose the numbers after the decimal point, since they no longer matter.
So the custom function would have to only "decide" whether the user works with big numbers or small ones.

However, if it's difficult, leave it as it is. It's already very good, well done!

Right on man  Cheesy You gave me an idea with implementation comment. I decided to create a dedicated "pretty" price dislpay, this way no need for me to mess with the inputs code. Cool

Also I have added dark / light mode toggle switches on either side of pretty ##'s Grin



And I'd like to announce here that I have an auction with a one of one piece up for grabs, all proceeds going to HODLONAUT

[AUCTION] for HODLONAUT - The Times Traveler #001 Proof + ONE of ONE BONUS!

Thanks guys, hope you enjoy!  Cheesy


legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
Hey buddy Cheesy thank you for the kind words. The way I have it setup to show 2 decimal places and the formatting used for displaying the sats side and rounded prices unfortunately do not work together. Javascript won't spit out the formatted number without rounding it, thus losing the actual "cents" value. That is why I opted to keep it plain digit with decimal only. Also I rarely find myself adding anything to the BTC side over 1  Huh, maybe I need to start hanging out where you hang out on the forums here man LOL j/k Grin

I'm sure writing a custom function would solve it, but for now as far as built in commands go, there is nothing I've discovered that allows me to "easily" present the whole number like $22,338.65, it's either $22,389 or 22388.65.

Lol about the big numbers! I usually don't need them either, but lately, especially with the Hodlonaut trial, I've been "counting his pennies" hoping they'll suffice. And yes, the 70+ BTC there returns a number rather hard to read.

About implementation, just an (another idea) : if the number is bigger than 100k (or even 10k, up to you), then you can safely lose the numbers after the decimal point, since they no longer matter.
So the custom function would have to only "decide" whether the user works with big numbers or small ones.

However, if it's difficult, leave it as it is. It's already very good, well done!
hero member
Activity: 864
Merit: 648
This is the preev replacement that seems to work closest to what I'd like, but I would ask you consider some (hopefully) small improvements:
1. Digit grouping. Right now, if I put there 10 BC, preecs shows 223219.70 USD. While the tab title tells nicely the current BTC price (22,322 USD), I would also like to see something similar on the lower area/edit box too, i.e. numbers like 223,219.70; you already have this for sats, maybe applying the same logic everywhere is not something big.
2. This is less important, however: multiple dots are allowed in the edit box (0..1) and also multiple 0 before the dot are allowed (00.01 BTC)
Hey buddy Cheesy thank you for the kind words. The way I have it setup to show 2 decimal places and the formatting used for displaying the sats side and rounded prices unfortunately do not work together. Javascript won't spit out the formatted number without rounding it, thus losing the actual "cents" value. That is why I opted to keep it plain digit with decimal only. Also I rarely find myself adding anything to the BTC side over 1  Huh, maybe I need to start hanging out where you hang out on the forums here man LOL j/k Grin

I'm sure writing a custom function would solve it, but for now as far as built in commands go, there is nothing I've discovered that allows me to "easily" present the whole number like $22,338.65, it's either $22,389 or 22388.65.


Love this. Great job Zip.

I think you also did https://iemsg.com/, which is equally brilliant and useful.

Gratefully,
Steeley
Hey buddy  Cheesy glad you like it and thank you for the kind words. That is true I created it for myself to send payment info to ppl because I was not satisfied with the other options available. I don't advertise it because it is a premium domain that I intend on selling at some point. We'll worry about that bridge when we get to it though, eh. Thanks again man! Cheesy
sr. member
Activity: 1164
Merit: 268
Byzantine Generals' Problem solved,Prosperity Next
Love this. Great job Zip.

I think you also did https://iemsg.com/, which is equally brilliant and useful.

Gratefully,
Steeley
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
This is the preev replacement that seems to work closest to what I'd like, but I would ask you consider some (hopefully) small improvements:
1. Digit grouping. Right now, if I put there 10 BC, preecs shows 223219.70 USD. While the tab title tells nicely the current BTC price (22,322 USD), I would also like to see something similar on the lower area/edit box too, i.e. numbers like 223,219.70; you already have this for sats, maybe applying the same logic everywhere is not something big.
2. This is less important, however: multiple dots are allowed in the edit box (0..1) and also multiple 0 before the dot are allowed (00.01 BTC)
hero member
Activity: 864
Merit: 648
With the addition of the SATS conversion option I have also now added an automatic re-size for both inputs, so the full conversion numbers are visible regardless of length.

The re-sizing is a little wonky depending on the number length, but it is working pretty well for the most part! Cool
hero member
Activity: 864
Merit: 648
Nice update.

I'm going to use this app more regularly and will update my sales thread with it over the weekend.

Thanks ZipReg
You're very welcome buddy! Cheesy Thank you for the kind words!
legendary
Activity: 2436
Merit: 1362
Nice update.

I'm going to use this app more regularly and will update my sales thread with it over the weekend.

Thanks ZipReg
hero member
Activity: 864
Merit: 648
Alright guys, another update I've been working on for the PREECS app is now live!  Cool

You can now toggle between standard BTC decimal conversion -and- SATS conversion. Simply click the BTC button to toggle between them  Cheesy



hero member
Activity: 864
Merit: 648
Hey buddy  Cheesy Thank you, Sir! Yes, it is also available for the right price, if interested.  Wink

I was absolutely referring to the .com and please excuse my ignorance! Very happy to learn that there is more than one preev site Cheesy

It never occurred to me to check the .net Smiley good on you my friend, the more the merrier! Smiley

Great question, It's not like it doesn't pertain to this section, we use the conversion tools here, but I get where you're coming from. I guess I'm just trying to avoid the mainstream, for now. Have edited OP topic to state .COM  Cheesy

everything is ok.
A discussion was opened about the preev com site being offline, I see that many people are used to that page.
I accidentally saw that .net was free, so I registered it, now I need to make it functional  Cheesy

Right on buddy Cheesy please feel free to use the PREECS key-less API for weighted price backup source, if you wish.

I kind of feel like a dick now for not posting it in main as it is clearly a needed utility outside of this section as well. Sad
legendary
Activity: 3472
Merit: 3507
Crypto Swap Exchange
Hey buddy  Cheesy Thank you, Sir! Yes, it is also available for the right price, if interested.  Wink

I was absolutely referring to the .com and please excuse my ignorance! Very happy to learn that there is more than one preev site Cheesy

It never occurred to me to check the .net Smiley good on you my friend, the more the merrier! Smiley

Great question, It's not like it doesn't pertain to this section, we use the conversion tools here, but I get where you're coming from. I guess I'm just trying to avoid the mainstream, for now. Have edited OP topic to state .COM  Cheesy

everything is ok.
A discussion was opened about the preev com site being offline, I see that many people are used to that page.
I accidentally saw that .net was free, so I registered it, now I need to make it functional  Cheesy
hero member
Activity: 864
Merit: 648
Your domain is very short, and easy to enter in the address bar  Cheesy
If I may ask, why did you open an ANN thread in the collectibles section?

Man preev is still down... I should offer those guys free DNS hosting eh? The more the merrier as they say, hey preev guys if you see this, reach out! Cheesy

preev com or net?  Roll Eyes

Hey buddy  Cheesy Thank you, Sir! Yes, it is also available for the right price, if interested.  Wink

I was absolutely referring to the .com and please excuse my ignorance! Very happy to learn that there is more than one preev site Cheesy

It never occurred to me to check the .net Smiley good on you my friend, the more the merrier! Smiley

Great question, It's not like it doesn't pertain to this section, we use the conversion tools here, but I get where you're coming from. I guess I'm just trying to avoid the mainstream, for now. Have edited OP topic to state .COM  Cheesy


legendary
Activity: 3472
Merit: 3507
Crypto Swap Exchange
Your domain is very short, and easy to enter in the address bar  Cheesy
If I may ask, why did you open an ANN thread in the collectibles section?

Man preev is still down... I should offer those guys free DNS hosting eh? The more the merrier as they say, hey preev guys if you see this, reach out! Cheesy

preev com or net?  Roll Eyes
hero member
Activity: 864
Merit: 648
Man preev is still down... I should offer those guys free DNS hosting eh? The more the merrier as they say, hey preev guys if you see this, reach out! Cheesy
hero member
Activity: 864
Merit: 648
Hey guys I just realized that I never made the automatic update version live, so if you've still had to refresh the app manually to see price updates, this is why.

The new version is now live and will automatically post price updates.  Cheesy
hero member
Activity: 864
Merit: 648
Hey preev is down again... guess what isn't down!!!!  Grin

very nice work, thanks!

You're welcome buddy  Cheesy thanks!
legendary
Activity: 2746
Merit: 1181
Hey preev is down again... guess what isn't down!!!!  Grin

very nice work, thanks!
hero member
Activity: 864
Merit: 648
Hey preev is down again... guess what isn't down!!!!  Grin
hero member
Activity: 864
Merit: 648
Hey guys! Smiley I have now added the ability to display a PRICETAG with cents calculated as well.

By using the ?cents= variable after the dollar amount specified, as shown below ($120.50)

https://preecs.coolstorage.org/pricetag/120?cents=50

  Cheesy

Pages:
Jump to: