🔧coin-tracker

Keep track of ECR20 tokens and check if you are in profit in ETH or USD.

/coin-tracker

Options: buy, sell, edit, remove, coins

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

  1. name-of-coin (required)- Name of the ECR20 coin

  2. price-of-coin-in-usd (required) - Price of the ECR20 in USD format

  3. quantity-of-coin (required) - Quantity of coins bought

  4. 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

/coin-tracker buy name-of-coin:bananaprice-of-coin-in-usd:80.20 quantity-of-coin:55price-of-eth-at-txn:2253

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

  1. name-of-coin (required)- Name of the ECR20 coin

  2. price-of-coin-in-usd (required) - Price of the ECR20 in USD format

  3. 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

/coin-tracker sell name-of-coin:looksprice-of-coin-in-usd:1.40price-of-eth-at-txn:3105

edit

Edit a stored ECR20 token based on the name-of-coin. Check `buy` for similar use.

Parameters

  1. name-of-coin (required)- Name of the ECR20 coin

  2. price-of-coin-in-usd (required) - Price of the ECR20 in USD format

  3. quantity-of-coin (required) - Quantity of coins bought

  4. 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

/coin-tracker edit name-of-coin: apecoin price-of-coin-in-usd: 5.92 quantity-of-coin: 110price-of-eth-at-txn:1344

remove

Remove a stored ECR20 token based on the name-of-coin.

Parameters

  1. name-of-coin (required)- Name of the ECR20 coin

Example

/coin-tracker remove name-of-coin:kiwicoin

coins

Show all the ECR20 coins being tracked by the user.

Parameters

None

Example

/coin-tracker coins

Last updated