Has anyone attempted a 401k calculator in LiveCode?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
karmacomposer
Posts: 361
Joined: Wed Apr 27, 2011 2:12 pm

Has anyone attempted a 401k calculator in LiveCode?

Post by karmacomposer » Tue Sep 02, 2014 6:36 pm

As the title suggests, has anyone coded a 401K calculator with dollar cost averaging in LiveCode?

Mike

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Has anyone attempted a 401k calculator in LiveCode?

Post by Mark » Thu Sep 04, 2014 11:53 am

Mike,

Maybe you should explain what the typically American 401K calculator is.

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: Has anyone attempted a 401k calculator in LiveCode?

Post by Mikey » Thu Sep 04, 2014 2:11 pm

Mike,

What are you thinking - you enter the data, or you suck it out of your provider, or what?

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10333
Joined: Wed May 06, 2009 2:28 pm

Re: Has anyone attempted a 401k calculator in LiveCode?

Post by dunbarx » Thu Sep 04, 2014 2:30 pm

Hi.

401K plans are all different, no? Depends on the company, whatever matching might or might not be present, and all based on user contributions as well. The stack would be straightforward, and I think you should write one. Leave the variables accessible so they can be filled in by the user. Write back if you get stuck with coding issues...

Craig Newman

karmacomposer
Posts: 361
Joined: Wed Apr 27, 2011 2:12 pm

Re: Has anyone attempted a 401k calculator in LiveCode?

Post by karmacomposer » Fri Sep 05, 2014 2:33 pm

The client wants:

if someone put "X" amount of money in their 401K, every two weeks, bi-weekly, can you tell me what balance they would have after a period of years. This would need to include a "dollar cost average", what I mean, is when the stock market goes down, they are buying more shares.

Something like this:

http://www.bankrate.com/calculators/ret ... lator.aspx

Using this plan:

tsp.gov

Is it possible with LiveCode? There are excel spread sheets that come close - I wonder how hard it would be to convert a excel spreadsheet to a LiveCode app?

Mike

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: Has anyone attempted a 401k calculator in LiveCode?

Post by Mikey » Fri Sep 05, 2014 3:45 pm

Of course, this is straightforward enough that you CAN do it in a spreadsheet, although it will be easier to do in LC. You just have to write it.

Post Reply