Author

Topic: [ANN][PREECS] CoolStorage.org real time conversion app like PREEV.COM but COOL! (Read 697 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

hero member
Activity: 864
Merit: 648
Hey guys Smiley I have added a new pricetag feature to the PREECS app!

It allows you to set a price in USD that will be converted to BTC and is displayed as an image.

Enter the dollar amount, here we enter $125.00 for example

https://preecs.coolstorage.org/pricetag/125

and here is the result when placed inside an image tag.

  Cheesy

It should auto update the price conversion any time the page is refreshed. I hope you find this new PREECS feature useful! Smiley

Does it do the cents also or just the dollars?

Either way.. well done. A handy tool Cheesy

Thanks buddy Smiley The current version supports only full dollar amounts, no decimals, but I have an idea on how to incorporate cents and will work on that next.  Cheesy

legendary
Activity: 3206
Merit: 3596
Hey guys Smiley I have added a new pricetag feature to the PREECS app!

It allows you to set a price in USD that will be converted to BTC and is displayed as an image.

Enter the dollar amount, here we enter $125.00 for example

https://preecs.coolstorage.org/pricetag/125

and here is the result when placed inside an image tag.

  Cheesy

It should auto update the price conversion any time the page is refreshed. I hope you find this new PREECS feature useful! Smiley

Does it do the cents also or just the dollars?

Either way.. well done. A handy tool Cheesy
hero member
Activity: 864
Merit: 648
Hey guys Smiley I have added a new pricetag feature to the PREECS app!

It allows you to set a price in USD that will be converted to BTC and is displayed as an image.

Enter the dollar amount, here we enter $125.00 for example

https://preecs.coolstorage.org/pricetag/125

and here is the result when placed inside an image tag.

 Cheesy

It should auto update the price conversion any time the page is refreshed. I hope you find this new PREECS feature useful! Smiley

hero member
Activity: 864
Merit: 648
Wow that's cool, good job being genius 👏
Thanks buddy Smiley LOL yeah such a genius that I showed up here in late 2017 Grin
copper member
Activity: 1227
Merit: 250
Wow that's cool, good job being genius 👏
hero member
Activity: 864
Merit: 648
Nice to have another conversion site!! Cheesy Cheesy

Thank you, Sir!  Cheesy

Yes, and in my favorite font! (she's chubby, but looks fun)  Grin



I've made the first official PREECS update guys!

Previously only the title and weighted price would be updated automatically and you would have to refresh the page to see the individual updated prices from coinbase, bitstamp, and kraken.

Now every price is updated automatically.
legendary
Activity: 3206
Merit: 3596
Nice to have another conversion site!! Cheesy Cheesy
hero member
Activity: 864
Merit: 648
That is awesome of you to make it.  Thanks
You're very welcome buddy Smiley and thank you for all you do!
full member
Activity: 1298
Merit: 176
Krogothmanhattan alt account
 That is awesome of you to make it.  Thanks
hero member
Activity: 864
Merit: 648
Greetings Everyone! I hope you're all doing well! Smiley

You may have noticed, as have I, that PREEV was down for a while this week and that's not too cool.
I liked using preev to get real time conversions because it's a weighted / averaged price.

But since it went down and stayed down for a bit, I put together my own conversion app.

It's called PREECS and it's pronounced just like it looks, but you have to add a
HEAVY LISP at the end, almost to the point of making spit fly out of both corners of your mouth.

If you have that almost happening, you know you've pronounced it correctly!  Grin

CoolStorage.org Presents...
PREECS!!




It only supports BTCTC and is updated automatically every minute with a weighted
price from coinbase, bitstamp, and kraken, for all your BTCTC/USD conversion needs!

https://preecs.coolstorage.org



I also have a simple key-less API setup to spit out the current weighted BTCTC
price. 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?btcusd



To enhance the key-less API I have setup a feature to spit out the weights used for the weighted BTCTC
price. These 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



I have added a new PRICETAG feature to the preecs app!  Cheesy
Set the dollar amount you wish to display in BTC ($100 shown)
and use the url below to embed the btc price you set into your posts.

https://preecs.coolstorage.org/pricetag/100

Then put the url into an IMG tag like so:



To generate a PRICETAG containing cents, use the ?cents= variable ($10.50 shown)

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






Remember the name - PREECS!! (wipes face)

I hope everyone here in the collectibles community finds this app useful. Any questions let me know.  Cool


Jump to: