cm-innovations

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:

in 1 month $3000.00 or 500% ROI.
in 3 months $3000.00 or 500% ROI.
in 6 months $3000.00 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
  • investment_date => date of investment (YYYY-MM-DD); default: back 6months from today 
  • 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
  • show_one_month => to show ROI after 1 month from investment; default: yes
  • show_three_month => to show ROI after 3 months from investment; default: yes
  • show_six_month => to show ROI after 6 months from investment; default: yes