[Cryptofolio] Automatically updating price ticker for cryptocurrency
utopian-io·@netuoso·
0.000 HBD[Cryptofolio] Automatically updating price ticker for cryptocurrency
# [Cryptofolio] Automatically updating price ticker for cryptocurrency  --- ### What is Cryptofolio Cryptofolio is an automatically updating price ticker for the top 100 cryptocurrencies as listed on CoinMarketCap.com. The repository provides users with a OneClick Deploy To Heroku button that makes it easy to get up and running as quickly as possible. ### What is CoinMarketCap CoinMarketCap is one of the most up-to-date places for prices for cryptocurrency pairs across several exchanges. By checking this price, users are able to determine market wide trends in cryptocurrency trading. ### Example app - https://cryptofolio-test.herokuapp.com ### Cryptocurrency Price Ticker - Queries CoinMarketCap for list of coins - Creates `Coin` records with names of coins and symbol - Creates `RecordedPrice` records with coin price data - Rank - Price USD - Price BTC - Market Cap - Volume 24 hour - Percent change 1 hour - Percent change 24 hours - Percent change 7 days - Time last updated - Uses [suckerpunch](https://github.com/brandonhilkert/sucker_punch) to update price info every 60 seconds ### Configuration (optional) - Change `refresh_ticker_seconds` under `config/settings.yml` to alter how often to update ### One Click Deploy - Click the "Deploy To Heroku" found at this repo - https://github.com/netuoso/cryptofolio - Give your app a name and click deploy - Done ### Development Info The important parts to familiarize yourself with when adding to this project are listed below: #### app/controllers/coins_controller.rb This controller handles the logic for the routing and loading the necessary views for the user. #### app/workers/fetch_price_worker.rb This is the worker that schedules the necessary method found inside the `RecordedPrice` model to run. #### app/models/recorded_price.rb The RecordPrice model stores the actual information for the coins returned from CoinMarketCap. These are the models that are used to pull the information necessary to display the price ticker to the user. ### Contributing - Fork the repo - Make a PR - Create issue - Spelling fixes - Get people involved in crypto ### What is Heroku Heroku is a container-based cloud Platform as a Service (PaaS). Developers use Heroku to deploy, manage, and scale modern apps. Our platform is elegant, flexible, and easy to use, offering developers the simplest path to getting their apps to market. [Source](https://www.heroku.com/about) ### Links - [Project Github Repo](https://github.com/netuoso/cryptofolio) - [Heroku About](https://heroku.com/about) - [CoinMarketCap](https://coinmarketcap.com) - [SuckerPunch Gem](https://github.com/brandonhilkert/sucker_punch) - [Example Cryptofolio App](https://cryptofolio-test.herokuapp.com) <br /><hr/><em>Open Source Contribution posted via <a href="https://utopian.io/utopian-io/@netuoso/cryptofolio-automatically-updating-price-ticker-for-cryptocurrency">Utopian.io</a></em><hr/>
👍 zahidsun, tristan.macinnes, coininstant, steemcenterwiki, rexusmo, cristian07, honusurf, kenistyles, livingfree, lexiconical, teamsteem, mrs.agsexplorer, pnc, natra, hitmeasap, siavach, berkah, bitcoiner, greenstar, lauralemons, lamech-m, msp-mods, ubg, jerrybanfield, marcusxman, cryptoninja, bcrafts, netuoso, elear, duekie, crystalblue, raybilson, yandot, j3dy, utopian-io, reactivator, aarkay, blockstrides, siikoz, bigboysdream, ondetours, calinconst, tomtom87, nicnicy, amlehtnewo, urirexroth, illuminated, drepo15, showtime, failshub, nuad01, urs, seyico2011, condra, amreshchandra, finesse203, gyzimo, voltsrage, arsenal49, ews, kishan, gyanibilli, shawnfishbit, curiositybot, nickskywalker, funfacts, ragnartheking, dorthmaen, heelzkinu, belgarath, jimjam1210, liberta, mohsan0073, itchykitten, ravenrillay, stayoutoftherz, heypapalegend, reborn99, realcodysimon, spikykevin, freetissues, mmagreat, jim-borasso-band, spurious-claims, morkrock, arunavabiswas, travelingdiva, danielsaori, erikkun28, transhuman, done, kyawsantun, crypto2day, hausbau, eosint, mikegun, followjrb, nakedtrader, maxbullion, cloh76, biglipsmama, jiujitsu, madcool, skindogue, openbull, jonasthomas, eaposztrof, nirado, boxmining, ervin-lemark, cryptojake, pickled, mamata, abenike, coingyan, animapaddy, hellmerlin, satfit, kralizec, scorpionking, ianfreeman, benniebanana, merosalah, adnan522, jgr33nwood, better-life-tips, steemdrivingman, kotturinn, frankydoodle, zuhrareza, abdulrehman, thedarksideshow, kenhudoy, opinizeunltd, benjy87, thehulk, earningbot, mitchiesfoodrace, darnscotty, da-primate, odyprabowo, phuresh, zaiyn, vizualsamuri, brains1ck, fernwehninja, dexter-k, hillstech, nasgu, themanualbot, philip.willemse, znaffe, mrslauren, tony10, sumant, epikcoin, derkon, upvoted, oregonpop, matt-a, semasping, ronnybat, framelalife, jasonmiller2134, wishmaiden, trendings.online, ketikasharma, thelifestyler, gellany, simplygorgeous, tim-rumford, fiveboringgames, grey580, prashant, mrright, kozak, steemcollator, abso, scottsantens, tastytrade, princessmewmew, zentat, youngfuego, onlyoneman, bcc, salimberry, gohba.handcrafts, saini11, senor, supermeatboy, onza, tonimarco, maochitse, evesick, conexus, bjjworldtraveler, steemfeed, joulia, rouketas, treasuregnome, geezee887, iliketoast, prosirius, agoric.systems, samest, rest100, neoint, ontheblock, the50, steemawards, thesteemawards, thesteemitawards, texas-steemem, steemlancer, cryptosafely, free2play, steemitawards, proglobyte, proglobyte-m1, steembriefing, tingaling, steemint, kurtbeil, booster, evayann, mimino16, stock84, hsynterkr,