create account

CoinTools Update: Adding News Feed, Average Series in Historical Graphs by justyy

View this thread on: hive.blogpeakd.comecency.com
· @justyy · (edited)
$72.17
CoinTools Update: Adding News Feed, Average Series in Historical Graphs
## Introduction
[CoinTools](https://helloacm.com/cointools-update-adding-news-feed-average-series-in-historical-graphs/) is a handy gadget to Chrome browser that you can launch easily to view the information of cryptocurrency.

https://chrome.google.com/webstore/detail/coin-tools/fmglcggbdcbkpkfapngjobfeakehpcgj

## Previous Contributions
- [v0.0.11](https://helloacm.com/cointool-update-arbitrary-historical-date-period-amount-conversion-to-local-currency-preserve-historical-graphs/): CoinTool Update: Arbitrary Historical Date Period + Amount Conversion to Local Currency + Preserve Historical Graphs
- [v0.0.9](https://helloacm.com/cointools-update-v0-0-9-specify-amount-reverse-cryptocurrency-calculation/): CoinTools Update: v0.0.9, Specify Amount + Reverse Cryptocurrency Calculation
- [v0.0.8](https://helloacm.com/cointools-update-v0-0-8-add-coinbase-api-customized-history-data/): CoinTools Update: v0.0.8: Add Coinbase API + Customized History Data
- [v0.0.7](https://helloacm.com/cointools-historical-conversion-between-any-two-cryptocurrency/): CoinTools: Historical Conversion between Any Two Cryptocurrency
- [v0.0.6](https://helloacm.com/cointools-update-show-full-cryptocurrency-details-by-click-or-startup-add-language-handlers/): CoinTools Update: Show Full Cryptocurrency Details by Click or Startup, Add Language Handlers
- [v0.0.5](https://helloacm.com/cointools-update-cryptocurrency-converter-calculator-support-coin-symbols-and-add-more-localization/): CoinTools v0.0.5: Update: Cryptocurrency Converter Calculator, Support Coin Symbols and Add More Localization
- [v0.0.4](https://helloacm.com/cointools-v0-0-4-conversion-between-two-fiat-or-fiat-coin-24-hour-total-market-cap-chart/): CoinTools v0.0.4: Conversion Between Two Fiat or Fiat-Coin + 24 Hour Cap Chart
- [v0.0.3](https://helloacm.com/cointools-v0-0-3-adding-total-market-cap-usd-chart-localization-and-stock-price-emoji/): CoinTools v0.0.3: Adding Total Market Cap USD Chart, Localization and Stock Price Emoji
- [v0.0.2](https://helloacm.com/cointool-v0-0-2-cryptocurrency-conversion-ui-localization/): Cryptocurrency Conversion + UI Localization
- [v0.0.1](https://helloacm.com/cointool-v0-0-2-cryptocurrency-conversion-ui-localization/): Introduction to CoinTools! A Cryptocurrency Chrome Extension

## Technology Stacks
Javascript that runs in Chrome.

## Github
https://github.com/DoctorLai/CoinTools

## Chrome Webstore
It is available online at Chrome Webstore:
https://chrome.google.com/webstore/detail/coin-tools/fmglcggbdcbkpkfapngjobfeakehpcgj

## v0.0.12 Feature
[This commit](https://github.com/DoctorLai/CoinTools/commit/a19581ccaaedc176a2a0917c5a60ccf5764e0bec) contains:

- Adding News Feed
- Adding Average Line Series (and remove incorrect legend)
- UI Translations
- Auto Load Last History Graph

## Screenshots
News Feed:
![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1521330132/gyedkmdvdzi81upitkbg.png)

`Average = (High + Low) / 2`
![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1521330186/vlpwfnjwc1portcgp6eq.png)

## News Feed API and Javascript
```
// get news and articles
const getFeed = (dom) => {
    let api = "https://min-api.cryptocompare.com/data/news/?lang=EN";
    logit(get_text("calling", "calling") + " " + api);
    $.ajax({
        type: "GET",
        url: api,
        success: function(result) {
            let s = '<ol>';
            let len = result.length;
            for (let i = 0; i < len; ++ i) {
                s += "<li>";
                s += ": <a target=_blank href='" + result[i]['url'] + "'>"; 
                s += result[i]['title'];
                s += "<BR/><img style='height:100px' src='" + result[i]['imageurl'];
                s += "' /></a>";
                s += "<i>" + timestampToString(result[i]['published_on']) + "</i>";
                s += "<blockquote>";
                s += result[i]['body'];
                s += "</blockquote>";
                s += "</li>";
            }
            s += "</ol>";
            dom.html(s);
        },
        error: function(request, status, error) {
            logit(get_text('response', 'Response') + ': ' + request.responseText);
            logit(get_text('error', 'Error') + ': ' + error );
            logit(get_text('status', 'Status') + ': ' + status);
        },
        complete: function(data) {
            logit(get_text("api_finished", "API Finished") + ": " + api);
        }             
    }); 
}
```
## Roadmap of CoinTools
Any good suggestions, please shout at @justyy.

## License
[MIT](https://github.com/DoctorLai/CoinTools/blob/master/LICENSE)

## Contribution Welcome
Github: https://github.com/DoctorLai/CoinTools/

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request.

## Chrome Webstore
Install the [CoinTools](https://chrome.google.com/webstore/detail/coin-tools/fmglcggbdcbkpkfapngjobfeakehpcgj) Now!

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@justyy/cointools-update-adding-news-feed-average-series-in-historical-graphs">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 38 others
πŸ‘Ž  
properties (23)
authorjustyy
permlinkcointools-update-adding-news-feed-average-series-in-historical-graphs
categoryutopian-io
json_metadata"{"community":"utopian","app":"utopian/1.0.0","format":"markdown","repository":{"id":121162429,"name":"CoinTools","full_name":"DoctorLai/CoinTools","html_url":"https://github.com/DoctorLai/CoinTools","fork":false,"owner":{"login":"DoctorLai"}},"pullRequests":[],"platform":"github","type":"development","tags":["utopian-io","steemstem","cryptocurrency","programming","steemapps"],"users":["justyy.","justyy"],"links":["https://helloacm.com/cointools-update-adding-news-feed-average-series-in-historical-graphs/","https://helloacm.com/cointool-update-arbitrary-historical-date-period-amount-conversion-to-local-currency-preserve-historical-graphs/","https://helloacm.com/cointools-update-v0-0-9-specify-amount-reverse-cryptocurrency-calculation/","https://helloacm.com/cointools-update-v0-0-8-add-coinbase-api-customized-history-data/","https://helloacm.com/cointools-historical-conversion-between-any-two-cryptocurrency/","https://helloacm.com/cointools-update-show-full-cryptocurrency-details-by-click-or-startup-add-language-handlers/","https://helloacm.com/cointools-update-cryptocurrency-converter-calculator-support-coin-symbols-and-add-more-localization/","https://helloacm.com/cointools-v0-0-4-conversion-between-two-fiat-or-fiat-coin-24-hour-total-market-cap-chart/","https://helloacm.com/cointools-v0-0-3-adding-total-market-cap-usd-chart-localization-and-stock-price-emoji/","https://helloacm.com/cointool-v0-0-2-cryptocurrency-conversion-ui-localization/","https://github.com/DoctorLai/CoinTools/commit/a19581ccaaedc176a2a0917c5a60ccf5764e0bec","https://res.cloudinary.com/hpiynhbhq/image/upload/v1521330132/gyedkmdvdzi81upitkbg.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1521330186/vlpwfnjwc1portcgp6eq.png","https://github.com/DoctorLai/CoinTools/blob/master/LICENSE","https://chrome.google.com/webstore/detail/coin-tools/fmglcggbdcbkpkfapngjobfeakehpcgj"],"image":["https://res.cloudinary.com/hpiynhbhq/image/upload/v1521330132/gyedkmdvdzi81upitkbg.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1521330186/vlpwfnjwc1portcgp6eq.png"],"moderator":{"account":"ms10398","time":"2018-03-18T11:08:40.959Z","reviewed":true,"pending":false,"flagged":false},"questions":[{"question":"Is the project description formal?","answers":[{"value":"Yes it’s straight to the point","selected":true,"score":10},{"value":"Need more description ","selected":false,"score":5},{"value":"Not too descriptive","selected":false,"score":0}],"selected":0},{"question":"Is the language / grammar correct?","answers":[{"value":"Yes","selected":true,"score":20},{"value":"A few mistakes","selected":false,"score":10},{"value":"It's pretty bad","selected":false,"score":0}],"selected":0},{"question":"Was the template followed?","answers":[{"value":"Yes","selected":true,"score":10},{"value":"Partially","selected":false,"score":5},{"value":"No","selected":false,"score":0}],"selected":0},{"question":"How do you rate the amount of work?","answers":[{"value":"Very High","selected":true,"score":20},{"value":"High","selected":false,"score":16},{"value":"Medium","selected":false,"score":12},{"value":"Low","selected":false,"score":7},{"value":"Very Low","selected":false,"score":3}],"selected":0},{"question":"How do you rate the impact on the Project?","answers":[{"value":"Very High","selected":true,"score":20},{"value":"High","selected":false,"score":16},{"value":"Medium","selected":false,"score":12},{"value":"Low","selected":false,"score":7},{"value":"Very Low","selected":false,"score":3}],"selected":0}],"score":100}"
created2018-03-17 23:46:57
last_update2018-03-18 11:08:39
depth0
children2
last_payout2018-03-24 23:46:57
cashout_time1969-12-31 23:59:59
total_payout_value52.462 HBD
curator_payout_value19.703 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5,249
author_reputation280,616,224,641,976
root_title"CoinTools Update: Adding News Feed, Average Series in Historical Graphs"
beneficiaries
0.
accountutopian.pay
weight2,500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id45,041,171
net_rshares26,277,173,944,944
author_curate_reward""
vote details (103)
@ms10398 ·
Thank you for the contribution. It has been approved.

You can contact us on [Discord](https://discord.gg/uTyJkNm).

**[[utopian-moderator]](https://utopian.io/moderators)**
properties (22)
authorms10398
permlinkre-justyy-cointools-update-adding-news-feed-average-series-in-historical-graphs-20180318t110846792z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-03-18 11:08:45
last_update2018-03-18 11:08:45
depth1
children0
last_payout2018-03-25 11:08:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length173
author_reputation27,572,487,973,390
root_title"CoinTools Update: Adding News Feed, Average Series in Historical Graphs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id45,119,447
net_rshares0
@utopian-io ·
### Hey @justyy I am @utopian-io. I have just upvoted you!
#### Achievements
- WOW WOW WOW People loved what you did here. GREAT JOB!
- Seems like you contribute quite often. AMAZING!
#### Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. <a href="https://discord.gg/zTrEMqB">Participate on Discord</a>. Lets GROW TOGETHER!
- <a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for my Witness With SteemConnect</a>
- <a href="https://v2.steemconnect.com/sign/account-witness-proxy?proxy=utopian-io&approve=1">Proxy vote to Utopian Witness with SteemConnect</a>
- Or vote/proxy on <a href="https://steemit.com/~witnesses">Steemit Witnesses</a>

[![mooncryption-utopian-witness-gif](https://steemitimages.com/DQmYPUuQRptAqNBCQRwQjKWAqWU3zJkL3RXVUtEKVury8up/mooncryption-s-utopian-io-witness-gif.gif)](https://steemit.com/~witnesses)

**Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x**
properties (22)
authorutopian-io
permlinkre-justyy-cointools-update-adding-news-feed-average-series-in-historical-graphs-20180318t121251713z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-03-18 12:12:51
last_update2018-03-18 12:12:51
depth1
children0
last_payout2018-03-25 12:12:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,061
author_reputation152,955,367,999,756
root_title"CoinTools Update: Adding News Feed, Average Series in Historical Graphs"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id45,128,078
net_rshares0