CoinTracking
This plugin retrieves your crypto investment info from CoinTracking. CoinTracking tracks your crypto balances on dozens of exchanges and wallets, using API and CSV imports. To use this plugin, you'll need an API key. (The data shown above is fictitious)
Instructions
In a meter, use the GetData("datatype","entry") function in a section variable referencing the plugin measure. "datatype" is one of the types listed below, "entry" is the number in the sorted list of coins. CoinTracking limits their API calls, and the GetGains() and GetBalance() functions require separate requests. Set their use (UseGetGains etc) only for the data you need. Set "entry" to 0 if you're getting data using the GetBalance() function.
[msCoin] Measure=Plugin Plugin=CoinTracking Key=[yourkey] Secret=[yoursecret] CoinDecimals=1 ChangeDecimals=1 FiatDecimals=0 UseGetGains=1 [mCoin0] Meter=String MeterStyle=styleRightText Text=[&msCoin:GetData("datatype","entry")]
Plugin measure settings | |
Key |
Your API key from CoinTracking |
Secret |
Your API secret from CoinTracking |
CoinDecimals |
Decimal places for coin balances |
UseGetGains |
set to 1 for data requiring it (below) | UseGetBalance |
set to 1 for data requiring it (below) |
FiatDecimals |
Decimal places for values reported in fiat currencies |
ChangeDecimals |
Decimal places for gain/loss percentage |
SortBy |
Balances are sorted by this value: "change_percent" or "current_value" |
SkipSymbols |
Don't show data for this coin(s), comma-separated |
CorrectCoin |
Manually enter cost values for this coin. May be needed if you made many purchases while the coin value changed rapidly (the reported cost is off) |
CorrectCostPerUnit |
Manually-entered cost per unit for the CorrectCoin |
CorrectCost |
Manually-entered cost for the CorrectCoin |
MinVal |
Don't show data if coin value is below this limit |
Test |
Test mode: the plugin creates random data rather than connect to CoinTracking (0 or 1) |
GetData() datatypes Green data require UseGetGains=1, blue data require UseGetBalance=1 |
|
amount |
The coin amount you hold |
coin |
The coin's symbol (BTC etc) |
cost_per_unit |
Estimated price paid per one coin |
current_price |
The current price of the coin |
change_percent |
The current gain or loss on this investment (%) |
cost |
What you paid for your investment |
current_value |
What your investment is worth currently |
unrealized |
The profit / loss of active crypto investments |
realized |
The profit or loss of closed investments |
value_fiat |
Portfolio value in your CoinTracking currency |
value_btc |
Portfolio value in BTC |
profit_fiat |
Portfolio profit in your CoinTracking currency |
profit_btc |
Portfolio profit in BTC |
Sample skins (included)
A simple test skin, works with official Rainmeter
This skin is laid out using table macros,
it requires the Macro mod build of Rainmeter
(The data shown above is fictitious)
Download
Change log:
1.20.5.23 |
First release |
1.21.4.1 |
Added portfolio value / profit in native currency and BTC |
Note: the simple test skin works with standard Rainmeter. The advanced skin with the data laid out in a table (i.e. using <ROW> and <COL> requires this modded version of Rainmeter which can handle the table macros.
Download CoinTracking_plugin_demo_skins_1.21.4.1.rmskin (638K)