Coin ROI
Make a calculation how much money visitor would make if he/she has invested in particular cryptocurrency on a particular day and kept it there until today.
If you invested $1000 in COIN on 08/15/2024, you could have made $3,000.01 or 500% ROI.
Required shortcode attributes:
- coin_id => ID of coin to fetch right data from API
- cta_url => link for ‘Buy Now’ CTA
Optional shortcode attributes:
- investment => value for investment input field; default: 1000
- cta_text => CTA button text; default: Buy Now
- cta_target => should CTA open in new tab/window (_blank) or same tab/window (_self); default: _self
- cta_rel => add link rel attribute in case needed; default: empty
- sub_text => Text that goes bellow calculator, as info or description; default: If you invested %s in %s on %s, you could have made %s or %s ROI.
- %s is important as well as order as they appear. it represent variables that are passed to string
- first %s represent investment amount
- second %s is Coin in which is invested
- third %s is date on which is invested
- fourth %s is ROI in USD
- fifth %s is ROI in %
