Title: Online spreadsheet with altcoins live data Post by: advanced on December 12, 2013, 12:04:06 PM Hello crypters,
waiting for an official API of http://coinmarketcap.com, I created a google spreadsheet to track the price of alternative cryptocurrencies. It scrapes the HTML every minute and it parses it, making sure that the coins are always ordered the same way. http://www.lize.it/up/altcoin_screenshot.png You can see the source on github and follow the instruction to use it in your project ;) https://github.com/adv0r/altcoin-google-spreadsheet (https://github.com/adv0r/altcoin-google-spreadsheet) TIPS are welcome! - BTC 1NgDPjxNWxTUK9eUExEmAGj4mtiMLGFvYr - LTC LhgAgfFCAo4J6pvg3iyG4eQF5syiEZcXMZ - NMC N79FWuuHCcgNe2YPkenkdQrZXsksFxADuf - NVC 4Gprnc172MpPy5hENjdMxBoY6qaHbRMX7G - TRC 1DnvtbUEcUGsshAjfqhDf4YTUkHEgxeUci - PPC PFRbFG4WmQPs12A7wGvQwtSXbhsnvZteoT - FTC 6vdoqHQohgsGXjzvU2JfArg4U1nGB2MZ53 - XPM AXFEykfvr8MJ6n7PdSoR94psQXtqvRaMkM - BQC bMkJLYZsAMN2Si5D8RgQwiwHEbw4sGdMC5 - MEC MDbrBWar6ANtiEbhRdVqWyii2gGLAumVjR - SXC S4fntfCLr1hWQZcXnYx9g4ZBZrp8H3zPfF - DVC 15YXWsAWNu4mf4Yc6BDZPXTp9PLrUB2dRW Title: Re: Online spreadsheet with altcoins live data Post by: Cygnify on December 12, 2013, 08:39:33 PM You sir have just made my life so much easier, hoping I can plug it easily into the coins I already have that automatically work out value, value increase %, % of holdings, etc.
Will be fully automated now if this does what I think it can, not home at the moment. Awesome, cheers! Will be giving you a nice tip when I get it sussed. :) Title: Re: Online spreadsheet with altcoins live data Post by: MisO69 on December 12, 2013, 09:28:13 PM I tried to get this going. When I get to the part about copying and pasting the code.gs into a new script. I get an error on saving. Syntax Error line 63.
Title: Re: Online spreadsheet with altcoins live data Post by: FrictionlessCoin on December 12, 2013, 09:51:04 PM reserved
Title: Re: Online spreadsheet with altcoins live data Post by: id10tothe9 on December 13, 2013, 07:58:37 AM I tried to get this going. When I get to the part about copying and pasting the code.gs into a new script. I get an error on saving. Syntax Error line 63. same with me, it appears there are too many parentheses, not sure what to do with the last two.. Title: Re: Online spreadsheet with altcoins live data Post by: id10tothe9 on December 13, 2013, 09:23:20 AM and why when I use =ImportHtml("http://coinmarketcap.com/?"& year(now()) & month(now()) & day(now()) & hour(now()) ,"table",1) in my gdrive sheet, after a while it stops working? :'(
Title: Re: Online spreadsheet with altcoins live data Post by: advanced on December 13, 2013, 09:48:48 AM You sir have just made my life so much easier, hoping I can plug it easily into the coins I already have that automatically work out value, value increase %, % of holdings, etc. Will be fully automated now if this does what I think it can, not home at the moment. Awesome, cheers! Will be giving you a nice tip when I get it sussed. :) Thank you cygnify ;) Just let me know if I can help! Title: Re: Online spreadsheet with altcoins live data Post by: advanced on December 13, 2013, 09:49:49 AM I tried to get this going. When I get to the part about copying and pasting the code.gs into a new script. I get an error on saving. Syntax Error line 63. Hi MisO69, thank you for reporting the bug, I'll look into it and get back! Title: Re: Online spreadsheet with altcoins live data Post by: advanced on December 13, 2013, 09:50:09 AM reserved Not sure what does that mean ??? Title: Re: Online spreadsheet with altcoins live data Post by: advanced on December 13, 2013, 09:54:08 AM and why when I use =ImportHtml("http://coinmarketcap.com/?"& year(now()) & month(now()) & day(now()) & hour(now()) ,"table",1) in my gdrive sheet, after a while it stops working? :'( I'm not sure why, I think it has something to do with how google apps manages multiple triggers. Lets try to refresh those data every 5 minutes instead of every hour and see how that change. Code: =ImportHtml("http://coinmarketcap.com/?"& year(now()) & month(now()) & day(now()) & hour(now()) & minute(now())*5,"table",1 Title: Re: Online spreadsheet with altcoins live data Post by: advanced on December 13, 2013, 10:00:33 AM I fixed the bug at line 63... Sorry, I think it was due to a copypaste issue.
https://github.com/adv0r/altcoin-google-spreadsheet/commit/02a136df291cc6569cc75d133566bfbb80d822eb (https://github.com/adv0r/altcoin-google-spreadsheet/commit/02a136df291cc6569cc75d133566bfbb80d822eb) Thank you for letting me notice Title: Re: Online spreadsheet with altcoins live data Post by: id10tothe9 on December 13, 2013, 10:29:28 AM that's awesome stuff, I never used scripts before but I'm starting to like it :D
how would you extract the value of a cell? I can tell him to =parseBtc("some cell") and =getLineOf("some cell")), but like when I get the line of a coin, how do i attach it to "D" so that I can tell him eg. =parseBtc(D3) to get the ltc value? Title: Re: Online spreadsheet with altcoins live data Post by: advanced on December 13, 2013, 10:36:51 AM that's awesome stuff, I never used scripts before but I'm starting to like it :D how would you extract the value of a cell? I can tell him to =parseBtc("some cell") and =getLineOf("some cell")), but like when I get the line of a coin, how do i attach it to "D" so that I can tell him eg. =parseBtc(D3) to get the ltc value? read up on the function INDIRECT 8) Title: Re: Online spreadsheet with altcoins live data Post by: id10tothe9 on December 13, 2013, 11:07:43 AM hehe still trying but still not workin, can't put the function getLineOf(A3) into a "string" ::) ;D
Title: Re: Online spreadsheet with altcoins live data Post by: Dr.What on December 13, 2013, 11:18:00 AM RESERVEDEDEDED
Title: Re: Online spreadsheet with altcoins live data Post by: advanced on December 13, 2013, 11:24:06 AM RESERVEDEDEDED heheh I'm pretty new to the altcoin section and I'm not sure what RESERVED means. Title: Re: Online spreadsheet with altcoins live data Post by: id10tothe9 on December 13, 2013, 11:37:05 AM that's awesome stuff, I never used scripts before but I'm starting to like it :D how would you extract the value of a cell? I can tell him to =parseBtc("some cell") and =getLineOf("some cell")), but like when I get the line of a coin, how do i attach it to "D" so that I can tell him eg. =parseBtc(D3) to get the ltc value? read up on the function INDIRECT 8) =parseBtc(INDIRECT(concatenate("D",getLineOf(B3)))) is the best I can do but still no success :-\ Title: Re: Online spreadsheet with altcoins live data Post by: btcrich on December 13, 2013, 11:48:53 AM Nice job. Very clever! :)
Title: Re: Online spreadsheet with altcoins live data Post by: Dr.What on December 13, 2013, 12:02:43 PM RESERVEDEDEDED heheh I'm pretty new to the altcoin section and I'm not sure what RESERVED means. This is web 2.0. Why create context rich altcoin information when you can make a spreadsheet? Title: Re: Online spreadsheet with altcoins live data Post by: advanced on December 13, 2013, 12:32:42 PM Step by step guide please. ??? Seems simple enough, but it is not running for some reason. please read the github help ;) Title: Re: Online spreadsheet with altcoins live data Post by: advanced on December 13, 2013, 12:34:05 PM that's awesome stuff, I never used scripts before but I'm starting to like it :D how would you extract the value of a cell? I can tell him to =parseBtc("some cell") and =getLineOf("some cell")), but like when I get the line of a coin, how do i attach it to "D" so that I can tell him eg. =parseBtc(D3) to get the ltc value? read up on the function INDIRECT 8) =parseBtc(INDIRECT(concatenate("D",getLineOf(B3)))) is the best I can do but still no success :-\ I'm not sure what you are tring to accomplish. Create a new spreadsheet and share it with me so I can help you hands on when I have time Title: Re: Online spreadsheet with altcoins live data Post by: id10tothe9 on December 13, 2013, 03:42:10 PM that's awesome stuff, I never used scripts before but I'm starting to like it :D how would you extract the value of a cell? I can tell him to =parseBtc("some cell") and =getLineOf("some cell")), but like when I get the line of a coin, how do i attach it to "D" so that I can tell him eg. =parseBtc(D3) to get the ltc value? read up on the function INDIRECT 8) =parseBtc(INDIRECT(concatenate("D",getLineOf(B3)))) is the best I can do but still no success :-\ I'm not sure what you are tring to accomplish. Create a new spreadsheet and share it with me so I can help you hands on when I have time the INDIRECT command was not forwarding its return as a string somehow for the parseBtc command to process it, but I found a way around it thanks ;) anyway, the importHTML keeps falling out so I need to activate the command every time manually. don't know if it's just a google servers issue.. Title: Re: Online spreadsheet with altcoins live data Post by: tex83rb on December 20, 2013, 03:09:19 PM great job! however i'm unable to import in excel or even add my own coin quantity to a copy of the spreadsheet on google docs to keep them almost instantly updated .. since if i add the quantities i noted the spreadsheet stops updating. how to do?
Title: Re: Online spreadsheet with altcoins live data Post by: suzukii on July 07, 2014, 05:34:55 PM This is web 2.0. Why create context rich altcoin information when you can make a spreadsheet? Ok. That sounds excellent. How do I import just the constant updating price of Litecoin into one cell for my Excel 2010 spreadsheet? Steps if possible please. I just wish to show my wife how this stuff could work. Success & ease of implementation equals a BTC donation worth the price of a Starbucks Venti Cinnamon Dolce Crème Frappuccino. ;D Thanks in advance. Title: Re: Online spreadsheet with altcoins live data Post by: inf1ux on April 24, 2017, 04:32:54 PM When I go to the demo, nothing works. Can someone resurrect this, or provide suggestions for a replacement?
Title: Re: Online spreadsheet with altcoins live data Post by: Redrose on April 24, 2017, 04:50:52 PM When I go to the demo, nothing works. Can someone resurrect this, or provide suggestions for a replacement? I will take a look at this. This is definitely something that is from my interest too. This learnt me that there is a Coinmarketcap API. And this is something thta excites me ! Title: Re: Online spreadsheet with altcoins live data Post by: Snail2 on April 24, 2017, 08:27:06 PM By replacing the now() function for today() function the CoinmarketCapHTML tab is working, but the script also need to be fixed.
Title: Re: Online spreadsheet with altcoins live data Post by: gcxc on April 24, 2017, 09:10:26 PM Hello folks. Here's an Excel version I put together using COINMARKETCAP data for those that dislike/don't use Google:
https://securisync.intermedia.net/us2/s/q06fxlAc7oDUEE9kU9D3eL001180dd Tips are welcome too, if you care to share :O Eth: 0x0568eb8c2b00ee1f2460dc7df30923cc09244ee7 BTC: 1APDCAHmQjSvtcMdhVaCiwzRNWTkiVcAUz LTC: LPAimjN1z2iqCwLZ2Cxz1G6gUKygyvSNJz Title: Re: Online spreadsheet with altcoins live data Post by: lifeiscrypto on May 19, 2017, 06:59:26 AM Was anyone able to fix the google spreadsheet?
Title: Re: Online spreadsheet with altcoins live data Post by: nwtrades on May 21, 2017, 02:55:53 AM I'd also be interested in seeing an update to the Google spreadsheet. I was only able to get as far as having CoinmarketCapHTML and CoinmarketCAPTemporized sheets working.
Title: Re: Online spreadsheet with altcoins live data Post by: The Flexican on May 21, 2017, 07:05:06 PM Check out https://cointracking.info (https://cointracking.info)
Does the job wonderfull for me! |