diff --git a/apps/coin_info/README.md b/apps/coin_info/README.md index 6dc929084..ed968cdeb 100644 --- a/apps/coin_info/README.md +++ b/apps/coin_info/README.md @@ -30,4 +30,13 @@ Martin Zwigl - token-names on CoinStats are different to Binance; they also have to be uploaded via Interface - You also need a CoinStats API access key which is good for a fair amount of calls - I tried with gridy for the axis, but for this data - it is just not readable... -- Let me know when you have good suggestions for improvement. \ No newline at end of file +- Let me know when you have good suggestions for improvement. +- "..." button shows current details for current token +- Swipe L-R changes token you supplied via interface +- Not much guard-rails in the app -> you should have at least one token (each) present +- Also the API token + +### Settings + +- Choose which of the uploaded tokens to display in clock_info +- Choose update-time for clock_info HTTP requests to Binance \ No newline at end of file diff --git a/apps/coin_info/app.js b/apps/coin_info/app.js index 02d44aae1..e569970bc 100644 --- a/apps/coin_info/app.js +++ b/apps/coin_info/app.js @@ -55,7 +55,8 @@ var layout = new Layout({ {type:"h", valign:-1, c: [ {type:"txt", id:"tknName", font:"6x8:2", label:"", halign:-1, fillx:1}, - {type:"btn", label:"...", halign:1, cb: d=>showDetails()} + {type:"btn", label:"...", halign:1, cb: d=>showDetails()}, + {type:"btn", label:"L/H", halign:1, cb: d=>showDetails()} ] }, {type:"txt", id:"loadMsg", font:"6x8", label:"", fillx:1 }, @@ -146,6 +147,7 @@ function showDetails() { const msg = ` Price: ${priceFmt} M-Cap: ${mCapFmt} + 1h:${tokenInfo.priceChange1h} 1d:${tokenInfo.priceChange1d} 1w:${tokenInfo.priceChange1w} `; E.showAlert(msg, title).then(function() { // print("Ok pressed"); diff --git a/apps/coin_info/metadata.json b/apps/coin_info/metadata.json index c86c56584..77748183d 100644 --- a/apps/coin_info/metadata.json +++ b/apps/coin_info/metadata.json @@ -1,7 +1,7 @@ { "id": "coin_info", "name": "Crypto-Coins Info", "shortName":"Coins Info", - "version": "0.06.66", + "version": "0.06.67", "description": "Crypto-Coins Infos with the help of the Binance API", "icon": "app.png", "tags": "clkinfo",