matteodanelli / MMM-cryptocurrency

A MagicMirror module for crypto currencies value.
MIT License
96 stars 42 forks source link

Change4h #90

Closed massi1990 closed 3 years ago

massi1990 commented 3 years ago

hello,

I like add change in 4h, can you confirm this command ?

if (this.config.headers.indexOf('change4h') > -1) { tableHeaderValues.push(this.translate('CHANGE') + ' (4h)')

matteodanelli commented 3 years ago

What's your goal? I didn't get it.

massi1990 commented 3 years ago

I would like to have the change of 4 hours instead of 1 hour

matteodanelli commented 3 years ago

Unfortunately, coinmarketcap doesn't provide directly that value, so you cannot simply update the header and compute the value. It's not easily feasible at the moment.