🔧coin-tracker
Keep track of ECR20 tokens and check if you are in profit in ETH or USD.
/coin-tracker
/coin-tracker
Options: buy, sell, edit, remove, coins
Options: buy, sell, edit, remove, coins
buy
buy
This option stores and simulates buying an ECR20 token per user. Keep track of its USD price, quantity and optional, the price of ETH, at the moment of transaction.
Parameters
Parameters
name-of-coin (required)
- Name of the ECR20 coin
price-of-coin-in-usd (required)
- Price of the ECR20 in USD format
quantity-of-coin (required)
- Quantity of coins bought
price-of-eth-at-txn (optional)
- Price of Ethereum at the moment of buying. If this option is not set, the current price of Ethereum will be used.
Example
Example
/coin-tracker buy name-of-coin:
banana
price-of-coin-in-usd:
80.20
quantity-of-coin:
55
price-of-eth-at-txn:
2253
sell
sell
This option will simulate selling the coins saved in the system for the user. This will not remove them from storage. The commands assumes you will be selling all of them.
Parameters
Parameters
name-of-coin (required)
- Name of the ECR20 coin
price-of-coin-in-usd (required)
- Price of the ECR20 in USD format
price-of-eth-at-txn (optional)
- Price of Ethereum at the moment of buying. If this option is not set, the current price of Ethereum will be used.
Example
Example
/coin-tracker sell name-of-coin:
looks
price-of-coin-in-usd:
1.40
price-of-eth-at-txn:
3105
edit
edit
Edit a stored ECR20 token based on the name-of-coin. Check `buy` for similar use.
Parameters
Parameters
name-of-coin (required)
- Name of the ECR20 coin
price-of-coin-in-usd (required)
- Price of the ECR20 in USD format
quantity-of-coin (required)
- Quantity of coins bought
price-of-eth-at-txn (optional)
- Price of Ethereum at the moment of buying. If this option is not set, the current price of Ethereum will be used.
Example
Example
/coin-tracker edit name-of-coin:
apecoin
price-of-coin-in-usd:
5.92
quantity-of-coin:
110
price-of-eth-at-txn:
1344
remove
remove
Remove a stored ECR20 token based on the name-of-coin.
Parameters
Parameters
name-of-coin (required)
- Name of the ECR20 coin
Example
Example
/coin-tracker remove name-of-coin:
kiwicoin
coins
coins
Show all the ECR20 coins being tracked by the user.
Parameters
Parameters
None
Example
Example
/coin-tracker coins
Last updated