Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Basic Calculator

Options
  • 02-01-2017 11:43am
    #1
    Registered Users Posts: 1,686 ✭✭✭


    Hi All,

    Happy 2017, I hope everyone is having a good time.
    I am a software developer and I like giving back to the community. I started investing recently and I developed a simple calculator API that might be able to help out some beginners to calculate the break even share price using Degiro.

    This might be a useless tool for some but potentially a useful tool for others.
    MOD: Feel free to delete if this is not allowed or move if I am posting in the wrong section.

    This API currently only works for US shares.
    It requires 3 input from the end-user: Share Price, Share Count and Type
    It will return the break even values to the end users.

    Full API link example:
    https://investment-calculator-api.appspot.com/_ah/api/calculator/v1/degiro?share_price=107.750&share_count=10&type=US

    Replace:
    investment-calculator-api.appspot.com/_ah/api/calculator/v1/degiro?share_price={price}&share_count={count}&type=US

    Expected Results:
    {
    "break_even_share_price_change": 0.108,
    "break_even_share_price_percentage_change": 0.1,
    "total_fees": 1.08,
    "portfolio_value": 1077.5,
    "type": "US",
    "share_price": 107.75,
    "portfolio_value_after_fees": 1076.42,
    "share_count": "10",
    "break_even_share_price": 107.858,
    "kind": "calculator#calculatorItem",
    "etag": "\"K2NXo111zMaHxkNJ8ETkW3bYbPc/poGMX2hpguWLiu8hwsUwOSe1G2o\""
    }

    I am also able to provide the source code.

    Regards
    RS


Comments

  • Registered Users Posts: 1 frangonve


    Thanks for your help!
    Please can you provide the source code? I'm very interested.
    Cheers

    Francisco


Advertisement