[2015-08-19] Challenge #228 [Intermediate] Use a Web Service to Find Bitcoin Prices
Modern web services are the core of the net. One website can leverage 1 or more other sites for rich data and mashups. Some notable examples include the Google maps API which has been layered with crime data, bus schedule apps, and more. Today's a bit of a departure from the typical challenge, there's no puzzle to solve but there is code to write. For this challenge, you'll be asked to implement a call to a simple RESTful web API for Bitcoin pricing. This API was chosen because it's freely available and doesn't require any signup or an API key. Furthermore, it's a simple GET request to get the data you need. Other APIs work in much the same way but often require API keys for use. The Bitcoin API we're using is documented here: http://bitcoincharts.com/about/markets-api/ Specifically we're interested in the /v1/trades.csv endpoint. Your native code API (e.g. the code you write and run locally) should take the following parameters:
The short name of the bitcoin market. Legitimate values are (choose one): bitfinex bitstamp btce itbit anxhk hitbtc kraken bitkonan bitbay rock cbx cotr vcx
The short name of the currency you wish to see the price for Bitcoin in. Legitimate values are (choose one): KRW NMC IDR RON ARS AUD BGN BRL BTC CAD CHF CLP CNY CZK DKK EUR GAU GBP HKD HUF ILS INR JPY LTC MXN NOK NZD PEN PLN RUB SAR SEK SGD SLL THB UAH USD XRP ZAR
The API call you make to the bitcoincharts.com site will yield a plain text response of the most recent trades, formatted as CSV with the following fields: UNIX timestamp, price in that currency, and amount of the trade. For example:
Your API should return the current value of Bitcoin according to that exchange in that currency. For example, your API might look like this (in F# notation to show types and args):
val getCurrentBitcoinPrice : exchange:string -> currency:string -> float
Which basically says take two string args to describe the exchange by name and the currency I want the price in and return the latest price as a floating point value. In the above example my code would return 349.25. Part of today's challenge is in understanding the API documentation, such as the format of the URL and what endpoint to contact.
Many thanks to adrian17 for finding this API for this challenge - it doesn't require any signup to use.
After its skyrocket increase, hitting $20,000/BTC in the late months of 2017, this cryptocurrency responded to the excitement of investors with a disappointing fall in the first months of the new year. Bitcoin has yet been able to recover 50% of its peak as the Crypto market is still fluctuating. Bitcoin value has fallen below $ 7,000, recorded on 2nd April. The whole market is sunk in red. Kyle Salmani, the founder of crypto-currency fund Multicoin Capital, which manages $50 million (41 million euros) of private cash, said: "This is a healthy correction after an exuberant 2017." However, Kyle Salman does not bet on Bitcoin's return. In another perspective, Jordan Hiscott, investment manager at the Ayondo Markets online platform, added: "certainly the halcyon days of performance gains from 2017 seem long gone." According to Coinmarketcap, Bitcoin makes up only 40% of trading volume in the Crypto Market Exchanges while the number was up to 80% just a few months ago. The keyword “Bitcoin” also has a low weekly number of Google search. Bitcoin market will continue to fluctuate based on investor sentiment "I wouldn't be surprised to see prices fall to $5,000 from here or go back above $10,000," said Craig Erlam, an analyst online currency trading platform Oanda. The majority of Bitcoin holders still keep their faith and are hoping for a dramatic change in Cryptocurrency market
BITCOIN mining is banned due to its great demand for electricity
Mining Bitcoin and other cryptocurrencies demands a huge amount of electricity, which is greater than the energy needed for the whole system of electric vehicle in 2015. Morgan Stanley’ note stated that Bitcoin mining could use more electricity in 2018 than the entire Argentina. Based on the calculation, electricity needed to mine Bitcoin could be more than is used by the whole system of electric vehicle by 2025. It also said that power for bitcoin mining has already been estimated to use more than 159 countries in 2017. SlashGear claimed that cryptocurrency-related activities can be seen in Plattsburgh, New York (USA), a small town with low-cost electricity. In order to take advantage of the low-cost electricity, mining cryptocurrenies blooms in this area, soon becoming a threat to the city. Cryptocurrency mining uses a huge amount of electricity to operate the system days and nights. It poses a threat to the crypto environment. In Plattsburgh, it also does harm to the consumption and electricity price. Plattsburgh, whose residents are a quick jaunt from the Canadian border, has put an 18-month moratorium on cryptocurrency mining to preserve natural resources, the health of its residents, and the “character and direction” of the city.
According to research firm Blockchain.info, transactions plunged from seven-day average of almost 400,000 in mid-December to about 200,000 this week. Earlier this year, when bitcoin price fell by more than 60 percent from its recent peak, a lesser noticed bitcoin also plummeted: the number of daily transactions. Even when Bitcoin price had a 50 percent return since Feb.5, the number of daily transactions has not recovered. This left investors wondering if the cryptocurrencies is declining in popularity. Since it peaked in December, the average number of daily exchanges has decreased by half and touched its low in two year last month, even when bitcoin recovered to $10,000. Transactions data may be bad news for Bitcoin Bulls, according to Charles Morris - chief investment officer at Newscape Capital Group, London and also a cryptocurrencies investor. “We had a hype cycle and now it’s getting cold”, Morris said. “It is possible that we are entering a bear market”. However, with the above information, we can still expect a growth in others altcoin.
It’s been a hazy start to the year of 2018 for bitcoin, but here comes the sun. April 17 marks the end of tax season in the United States, which started in January 29. Investors who profited from bitcoin’s massive rally in December are having to come up with the money to pay Uncle Sam now, which could explain a percentage of the selling pressure in the bitcoin price in March. Coincheck may be on the block in the near future. Not only is it for sale but the potential buyer, the Japanese third largest online brokerage Monex Group, is the parent company of US-based TradeStation (with massive data and charting capabilities) and is publicly traded. In general, the forces for bitcoin are stronger than the forces against it. There are many unpredictable things related to cryptocurrency. For instance, major bitcoin markets around the world including the United States are awaiting a regulatory framework to take shape to take the uncertainty out of the equation, among other reasons. It could be the catalyst the cryptocurrency markets need to bring them over the top.
According to the analysis before the ICO, VCX is highly likely to develop. Current VCX price is $1.05 - This is not a big number due to the fluctuation in digital currency market, especially Bitcoin over the last few months. However, with the upcoming strategies, we believe that after the Lending program, VCX price will increase quickly with higher benefit compared to the initial rate. Let’s head for the Lending program! Thank you for your trust in VCX. In case of any support, please contact us at [email protected] Sincerely thank you!
[US - Maryland][H] Full gaming PC for local pick-up, Razer mice, Das mech. keyboard via PayPal
For sale is a full PC, 2 Razer DeathAdder mice, and a Das Professional Model S Silent. PC specs:
Intel i2500k with CM 212 EVO
2 x 4GB Corsair Vengeance DDR3 1600
Samsung 830 64GB SSD
EVGA GTX670 FTW 2GB
Corsair HX620 PSU
Fractal Design Arc Midi case with stock fans
http://imgur.com/iNmST1L http://imgur.com/VcxGS2u All parts have been in use less than 2 years and were never overclocked (I mounted the EVO as the stock cooler fan died). Note that in the pictures the GTX670 is not installed, as I just got a fresh one from an EVGA RMA, meaning it was tested by them to work and will be installed if I sell this. This is local pick-up only unless you convince me there's a reliable and affordable way to ship a PC. Comes without any OS. Asking price: $600. If you would rather install your own RAM or SSD, we can negotiate. Accessories: One Razer Deathadder 3.5G, one Razer DeathAdder Black. Both are pretty worn down on top, but still work well. However, the Black is experiencing the typical Razer scroll-wheel problem - this should be fixable with tape; the cable weave is a little tattered but has been taped. Asking $15 for each + shipping, PayPal or Bitcoin. http://imgur.com/RPTWqZ7 http://imgur.com/L3JqQ72 Das Professional Model S Silent, used for less than a year. Slight scuffing on the gloss surface but all keys work fine, has been cleaned thoroughly. Asking $90 + shipping, PayPal or Bitcoin. http://imgur.com/paizsT9
Check Bitcoin (BTC) address 39qg4yfs1qvVirkPgVcxC5NC4bhdXqzwdd balance and its transactions Bitcoincharts is the world's leading provider for financial and technical data related to the Bitcoin network. It provides news, markets, price charts and more. A fast and easy way to analyze Technical analysis gauges display real-time ratings for the selected timeframes. The summary for VICINITY CENTRES is based on the most popular technical indicators — Moving Averages, Oscillators and Pivots. Even if this is a (B) wave rally, the share price could re-test the previous high of $3.6 or retrace 90% of (A) Bitcoincharts provides real-time USD price data of the Vircurex exchange including charts, orderbook and more.
Richard Heart and Ozzy the BS filter talk Bitcoin, ICO's, North Korea
Free Bitcoin HachwaClaims - Earn Free Bitcoin - Claim Free Bitcoin 2020 Mining Guru 01. ... News on analysis, price prediction, & Partnership with Vitalik Buterin Ethereum 3,397 watching. Live now ... Vcxcoin vcx coin ico scam review is not a legitimate offering in my opinion. I would stay very clear away from this offer and move onto more legitimate ICOS that have real value and foundation ... 2017 saw a big rise in Bitcoin, with the cryptocurrency becoming the talk of the town, but recently it has taken a bit of a dip. TheStreet contributor David Yoe Williams shared his thoughts on why ... Bitcoin Surged Again, XRP Primed, Bitcoin Simpsons & Bitcoin Halving Price - Duration: 41:07. The Modern Investor Recommended for you. New; 41:07. Bitcoin, like any other financial asset right now, is dropping in price as investors de-risk amidst growing concerns over a coming economic recession fueled by a possible pandemic if the ...