luckyguy2807
Full Member
Offline
Activity: 266
Merit: 100
Crypto Enthusiast
|
|
February 14, 2014, 09:06:51 PM |
|
This is the code <?php $coin_market_io_ticker = json_decode(file_get_contents(' https://coinmarket.io/ticker/USDEBTC'));$coinmarketcap = file_get_contents(' http://coinmarketcap.com/');$found = preg_match('/usde.*?tr/s', $coinmarketcap, $usde_block); $lines = explode("\n",$usde_block[0]); $USDe['coinmarketio_volume24'] = trim($coin_market_io_ticker->volume24); $USDe['coinmarketio_last_BTC'] = trim($coin_market_io_ticker->last); $USDe['market_cap'] = trim(preg_replace('/<.*?>/', '', $lines[3])); $USDe['usd_equiv'] = trim(preg_replace('/<.*?>/', '', $lines[4])); $USDe['num_coins'] = trim(preg_replace('/<.*?>/', '', $lines[5])); $USDe['volume_in_usd'] = trim(preg_replace('/<.*?>/', '', $lines[6])); //echo "<pre> USDE:"; print_r($USDe); echo '</pre><hr>'; echo json_encode($USDe);
|
|
|
|
sobaka007
Member
Offline
Activity: 97
Merit: 10
|
|
February 14, 2014, 09:35:59 PM |
|
This is the code ....
I believe it's only a part, so I can't see whole picture. But I think you guys could handle it with-out me (don't want to pretend to be an important reviewer) The only thing I would suggest is to consider a simplest caching of data, so we don't query coinmarket.io each time user opens a page. It would be more efficient and may prevent performance issues. The data could be cached in memcache or database (table with a single row), and is being updated e.g. each 10 minutes. the idea is like (event: user opens a page with live stats): - 1. get live stats from cache
- 2. if stored value isn't outdated go to step 4
- 3. query coinmarket.io for a new data and update cache
- 4. return live stats to client
|
DOGE:DEdiZUuusszWekeXuRA1gZyATW6PZvRCqx 42:4PkjxwwpTpjZhBAMo45128bEg1p9bdtc5j VTC:VmLEvQataPQWGvCcWjeCDZaQuH8o1C5pQ6 USDe:GLngpzhYfrMHoEePPvZHTiwUGYqdu78HpE
|
|
|
luckyguy2807
Full Member
Offline
Activity: 266
Merit: 100
Crypto Enthusiast
|
|
February 14, 2014, 09:39:50 PM |
|
You're not talking my language, I'm trying to find some ways to make it real. Can we discuss more about this tomorrow? You know you're way in coding?
|
|
|
|
halinyo
Legendary
Offline
Activity: 1106
Merit: 1000
The future is bright with DigiByte.
|
|
February 14, 2014, 09:49:14 PM |
|
Sorry guys, Today I'm a little busy, valentine Days and stuff like that.
I received a code for implementing a Live ticker, I will check it out tomorrow. Halinyo, I can help you with the giveaway.
1. Create a topic on usd-e.com/letstalk with your giveaway 2. Create a topic on altcoingiveaway.com with some details, like prizes, and task, but you need to redirect the people from that forum to usd-e.com/letstalk forum. 3. What kind of giveaway you want to make?
I did many Twitter giveaways, The conditions was that people retweet some messages, and after that They will post they're Twitter Account and wallet address. After I checked them out, I've sent them coins.
If you need more details I will gladly help you
Thank you. My hope is that I can do this very soon, at the latest on coming Wednesday. Best.
|
|
|
|
placebo
Legendary
Offline
Activity: 1120
Merit: 1000
|
|
February 14, 2014, 10:03:13 PM |
|
What is going on here....
0.00000082 665725.5297 0.54589493 0.00000086 982.0141 0.00084453 0.00000087 5000 0.00435 0.00000088 26518.6772 0.02333644 0.00000090 76905.2778 0.06921475 0.00000092 22668.7858 0.02085528 0.00000094 19583.2396 0.01840825 0.00000095 190553.9667 0.18102627 0.00000097 181752.121 0.17629956 0.00000100 208057.7201 0.20805772
|
|
|
|
halinyo
Legendary
Offline
Activity: 1106
Merit: 1000
The future is bright with DigiByte.
|
|
February 14, 2014, 10:15:08 PM |
|
What is going on here....
0.00000082 665725.5297 0.54589493 0.00000086 982.0141 0.00084453 0.00000087 5000 0.00435 0.00000088 26518.6772 0.02333644 0.00000090 76905.2778 0.06921475 0.00000092 22668.7858 0.02085528 0.00000094 19583.2396 0.01840825 0.00000095 190553.9667 0.18102627 0.00000097 181752.121 0.17629956 0.00000100 208057.7201 0.20805772
What happened ? You mean the price going down ? Someone already halved it though. To be honest, if you check the buy walls and sell walls... The amounts are huge on buy wall for cheap. And you can see small amounts on sell wall. Here I can say, people are looking the opportunity to buy USDe while it is cheap, because they do know it is worth much more than that.
|
|
|
|
placebo
Legendary
Offline
Activity: 1120
Merit: 1000
|
|
February 14, 2014, 10:28:39 PM |
|
What is going on here....
0.00000082 665725.5297 0.54589493 0.00000086 982.0141 0.00084453 0.00000087 5000 0.00435 0.00000088 26518.6772 0.02333644 0.00000090 76905.2778 0.06921475 0.00000092 22668.7858 0.02085528 0.00000094 19583.2396 0.01840825 0.00000095 190553.9667 0.18102627 0.00000097 181752.121 0.17629956 0.00000100 208057.7201 0.20805772
What happened ? You mean the price going down ? Someone already halved it though. To be honest, if you check the buy walls and sell walls... The amounts are huge on buy wall for cheap. And you can see small amounts on sell wall. Here I can say, people are looking the opportunity to buy USDe while it is cheap, because they do know it is worth much more than that. They are indeed really cheap. Easy 50% to take, maybe 100% (i'm talking short term here), as longer term it can maybe hit 200, 300 again.
|
|
|
|
halinyo
Legendary
Offline
Activity: 1106
Merit: 1000
The future is bright with DigiByte.
|
|
February 14, 2014, 10:33:38 PM |
|
What is going on here....
0.00000082 665725.5297 0.54589493 0.00000086 982.0141 0.00084453 0.00000087 5000 0.00435 0.00000088 26518.6772 0.02333644 0.00000090 76905.2778 0.06921475 0.00000092 22668.7858 0.02085528 0.00000094 19583.2396 0.01840825 0.00000095 190553.9667 0.18102627 0.00000097 181752.121 0.17629956 0.00000100 208057.7201 0.20805772
What happened ? You mean the price going down ? Someone already halved it though. To be honest, if you check the buy walls and sell walls... The amounts are huge on buy wall for cheap. And you can see small amounts on sell wall. Here I can say, people are looking the opportunity to buy USDe while it is cheap, because they do know it is worth much more than that. They are indeed really cheap. Easy 50% to take, maybe 100% (i'm talking short term here), as longer term it can maybe hit 200, 300 again. I am waiting my BTC coming from somewhere. If it arrives (hopefully, not sure if it will though) and those sell walls stay like that, I will clean them all up to a threshold.
|
|
|
|
mecus
Member
Offline
Activity: 112
Merit: 10
|
|
February 14, 2014, 11:30:31 PM |
|
USDe +28.75% on coinmarketcap.com
|
|
|
|
halinyo
Legendary
Offline
Activity: 1106
Merit: 1000
The future is bright with DigiByte.
|
|
February 14, 2014, 11:33:56 PM |
|
USDe +28.75% on coinmarketcap.com
Yes, it is!!!! +42.29%
|
|
|
|
TenaciousC
|
|
February 14, 2014, 11:40:43 PM |
|
USDe +28.75% on coinmarketcap.com
Yes, it is!!!! +42.29% Nope, it's 42.29% ;-) This is going the good direction, We'll be back at 500 in just a couple of days
|
|
|
|
mecus
Member
Offline
Activity: 112
Merit: 10
|
|
February 14, 2014, 11:44:18 PM |
|
USDe +28.75% on coinmarketcap.com
Yes, it is!!!! +42.29% +42.79% ATM Go USDe!!!
|
|
|
|
halinyo
Legendary
Offline
Activity: 1106
Merit: 1000
The future is bright with DigiByte.
|
|
February 14, 2014, 11:45:22 PM |
|
USDe +28.75% on coinmarketcap.com
Yes, it is!!!! +42.29% Nope, it's 42.29% ;-) This is going the good direction, We'll be back at 500 in just a couple of days Already updated Well, yes... It is going up now. 500 is a little difficult in a few days.. But will be some reasonable rise.
|
|
|
|
snittolo
Newbie
Offline
Activity: 24
Merit: 0
|
|
February 14, 2014, 11:45:42 PM |
|
USDe +28.75% on coinmarketcap.com
Yes, it is!!!! +42.29% +42.79% ATM Go USDe!!! Some of the buys I was doing Market history (up to 30 trades) Type Timestamp Amount Price Total N/A Sat Feb 15 00:17:26 67050.54113917 USDE 0.00000097 0.06503902 BTC N/A Sat Feb 15 00:16:09 190268.1357219 USDE 0.00000095 0.18075473 BTC N/A Sat Feb 15 00:15:49 525.61908462 USDE 0.00000094 0.00049408 BTC N/A Sat Feb 15 00:15:49 14978.58938276 USDE 0.00000094 0.01407987 BTC N/A Sat Feb 15 00:15:49 595.04593136 USDE 0.00000094 0.00055934 BTC N/A Sat Feb 15 00:15:49 3454.6103 USDE 0.00000094 0.00324733 BTC N/A Sat Feb 15 00:15:20 22634.7825913 USDE 0.00000092 0.02082400 BTC N/A Sat Feb 15 00:15:20 17751.81116833 USDE 0.00000092 0.01633167 BTC N/A Sat Feb 15 00:14:52 76789.91986111 USDE 0.00000090 0.06911093 BTC N/A Sat Feb 15 00:14:45 0.00002307 USDE 0.00000088 0.00000000 BTC N/A Sat Feb 15 00:14:24 25711.43577156 USDE 0.00000088 0.02262606 BTC N/A Sat Feb 15 00:14:24 767.46341263 USDE 0.00000088 0.00067537 BTC N/A Sat Feb 15 00:14:10 4992.5 USDE 0.00000087 0.00434348 BTC N/A Sat Feb 15 00:14:01 980.54104897 USDE 0.00000086 0.00084327 BTC N/A Sat Feb 15 00:12:47 34345.8955202 USDE 0.00000085 0.02919401 BTC N/A Sat Feb 15 00:12:12 150828.11620089 USDE 0.00000082 0.12367906 BTC
|
|
|
|
halinyo
Legendary
Offline
Activity: 1106
Merit: 1000
The future is bright with DigiByte.
|
|
February 14, 2014, 11:49:07 PM |
|
USDe +28.75% on coinmarketcap.com
Yes, it is!!!! +42.29% +42.79% ATM Go USDe!!! Some of the buys I was doing Market history (up to 30 trades) Type Timestamp Amount Price Total N/A Sat Feb 15 00:17:26 67050.54113917 USDE 0.00000097 0.06503902 BTC N/A Sat Feb 15 00:16:09 190268.1357219 USDE 0.00000095 0.18075473 BTC N/A Sat Feb 15 00:15:49 525.61908462 USDE 0.00000094 0.00049408 BTC N/A Sat Feb 15 00:15:49 14978.58938276 USDE 0.00000094 0.01407987 BTC N/A Sat Feb 15 00:15:49 595.04593136 USDE 0.00000094 0.00055934 BTC N/A Sat Feb 15 00:15:49 3454.6103 USDE 0.00000094 0.00324733 BTC N/A Sat Feb 15 00:15:20 22634.7825913 USDE 0.00000092 0.02082400 BTC N/A Sat Feb 15 00:15:20 17751.81116833 USDE 0.00000092 0.01633167 BTC N/A Sat Feb 15 00:14:52 76789.91986111 USDE 0.00000090 0.06911093 BTC N/A Sat Feb 15 00:14:45 0.00002307 USDE 0.00000088 0.00000000 BTC N/A Sat Feb 15 00:14:24 25711.43577156 USDE 0.00000088 0.02262606 BTC N/A Sat Feb 15 00:14:24 767.46341263 USDE 0.00000088 0.00067537 BTC N/A Sat Feb 15 00:14:10 4992.5 USDE 0.00000087 0.00434348 BTC N/A Sat Feb 15 00:14:01 980.54104897 USDE 0.00000086 0.00084327 BTC N/A Sat Feb 15 00:12:47 34345.8955202 USDE 0.00000085 0.02919401 BTC N/A Sat Feb 15 00:12:12 150828.11620089 USDE 0.00000082 0.12367906 BTC Wowww, welcome to the Club Buy and Hold, then you will succeed. (Never understood those buying expensive and selling cheap!)
|
|
|
|
travwill
|
|
February 15, 2014, 12:05:37 AM |
|
2 cents for my thoughts...ok
USDE users, remember, were here for the long haul. It is great that coin is again rising but it may also drop down again as well. That is the way things, that is the way of the forc.... er, sorry wrong train of thought there.
Anyway, enjoy the ride but don't get to concerned about the coin rising and falling so much. Keep mining and keep supporting USDE.
Yeah, supporting here. Picking up another .5BTC to raise to about 3MM in USDe.
|
|
|
|
halinyo
Legendary
Offline
Activity: 1106
Merit: 1000
The future is bright with DigiByte.
|
|
February 15, 2014, 12:18:05 AM |
|
2 cents for my thoughts...ok
USDE users, remember, were here for the long haul. It is great that coin is again rising but it may also drop down again as well. That is the way things, that is the way of the forc.... er, sorry wrong train of thought there.
Anyway, enjoy the ride but don't get to concerned about the coin rising and falling so much. Keep mining and keep supporting USDE.
You are right. Always supporting USDe. Hala USDe!!!
|
|
|
|
jacquette
|
|
February 15, 2014, 02:13:44 AM Last edit: February 15, 2014, 02:24:28 AM by jacquette |
|
testing out this Real Time straw poll.. this nice tool will help give the community a voice. the only downside about this is, is that theres no registration.. http://strawpoll.me/1159787go vote! i like to see how this thing workout.
|
|
|
|
jacquette
|
|
February 15, 2014, 02:26:19 AM |
|
testing out this Real Time straw poll.. this nice tool will help give the community a voice. the only downside about this is, is that theres no registration.. http://strawpoll.me/1159787go vote! i like to see how this thing workout. i think this is a great tool for contest and such.
|
|
|
|
halinyo
Legendary
Offline
Activity: 1106
Merit: 1000
The future is bright with DigiByte.
|
|
February 15, 2014, 03:41:54 AM |
|
testing out this Real Time straw poll.. this nice tool will help give the community a voice. the only downside about this is, is that theres no registration.. http://strawpoll.me/1159787go vote! i like to see how this thing workout. i think this is a great tool for contest and such. Looks great Thanks!
|
|
|
|
|