Adding volume:market cap ratio column to coinmarketcap.com

in cryptocurrency •  7 years ago  (edited)

UPDATE: You can skip steps 2 through 4 below once you've installed the tampermonkey extension. I uploaded my script to greasyfork, a popular website that hosts user scripts. You can visit the link below and install my user script with a single click.

https://greasyfork.org/en/scripts/31095-coin-market-cap-volume-to-market-cap-column

Hi all,

I have created a script that adds a custom column to http://coinmarketcap.com. It adds a column after the twenty-four hour volume column entitled "% Volume Ratio." This is the ratio of twenty-four hour volume to market cap, or (volume / market cap) * 100.

Below are the steps for enabling this script in your Chrome web browser.

  1. Download the tampermonkey extension from the chrome web store. This extension allows you to install custom user scripts that run on certain webpages. The extension is located at: http://bit.ly/1iL5YRd.

  2. Click on the tampermonkey icon it the upper right hand corner of your Chrome browser, then click on Create a new script.
    createnewscript.png

  3. Delete the boilerplate code that was created for you new script.

  4. Head on over to my github, copy the code from there, and paste it into your script and click the save icon. https://github.com/deelawn/coinmarketcapratio/blob/master/ratio.user.js

  5. Visit http://coinmarketcap.com to see the new column that has been added
    coinmarketcapwithscript.png

Let me know if you have any trouble setting it up and I will help you troubleshoot. Also feel free to leave some comments requesting additional functionality. For programmers, feel free to submit a pull request to my repository if you make any improvements.

Thanks for reading,
deelawn

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Interesting additional feature to coinmarketcap. I'm a little hesitating to install it though. I wish I have a time to review the code.

There isn't much to it really; it's pretty straight forward, no obfuscations or anything misleading. Let me know if you have a question about the functionality of a certain line. I'd be happy to go over it with you.

I don't see anything malicious in it :)

What are the benefits of this to people in your opinion? Why would someone want to do this? I know the answer but including it in your post would make the post itself and your good work more useful. Good to see you here on Steem, buddy.

Thanks eeks, good point. It's beneficial to see this ratio rather than having to compute it yourself for each currency/asset you're looking at. It's useful because a consistently high ratio indicates high liquidity. A sudden increase in the ratio could indicate a short term change in liquidity associated with a pump or dump.

Hey Deelawn, excellent work. Installed it. We need more realistic and useful metrics like this on coinmarketcap and used in crypto. Have you found any consistent relationships between 24 hour % change and volume ratio % change? Also, do you have any scripts I can run to include metrics like % available supply on market vs. total supply and other useful tools like that??

Congratulations @deelawn! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes received

Click on any badge to view your own Board of Honnor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Congratulations @deelawn! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You made your First Comment
You got a First Reply

Click on any badge to view your own Board of Honnor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Now this is quality content! Without this I wouldn't know that 20% of Litecoin's total marketcap is being traded daily. Obviously EOS is going crazy right now at 88% total volume being traded in one day. Bitshares and Antshares also have high volume ratios as well. Is there a way you can add a way method to the script so it sorts according to this ratio when clicking on the % Volume Ratio at the top?

Trust me, I've tried. I'm not sure why it isn't working. I added the sortable class just as the other columns have but it still doesn't sort. Javascript isn't my strongest language. You should find a javascript ninja and have them figure it out. Then they can submit a pull request to me on github and everyone can benefit :)

Good one deelawn. Could you tell me how to add % Change (7d)

Hey Deelawn, excellent work. Installed it. We need more realistic and useful metrics like this on coinmarketcap and used in crypto. Have you found any consistent relationships between 24 hour % change and volume ratio % change? Also, do you have any scripts I can run to include metrics like % available supply on market vs. total supply and other useful tools like that??