For Programmers: Free Programming Magazines  


Home > Archive > APL > March 2008 > Financial Maths Library for APL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Financial Maths Library for APL
aleph0

2008-03-08, 6:58 pm

Do we have an APL Library of functions somewhere for performaing the
standard financial equations ?

Such as e.g. :

MACD
Acc/Dist
MFI
RSI
Slow Stochastics
Fast Stochastics
Bollinger Bands
Parabolic SAR

etc.
etc.

TIA
AAsk

2008-03-08, 6:58 pm

This might be a start: http://www.icaen.uiowa.edu/~dbricker/APL_software.html
AAsk

2008-03-08, 6:58 pm

.... one more...
http://www.nyrond.org/university/he...apl96/obnsk.htm
aleph0

2008-03-09, 8:19 am

Thanks for the links .. very interesting, and complex !
I found a good source at Wikipedia (of course) as well as StockCharts.

e.g.
MACD
http://stockcharts.com/school/doku....g_average_conve

EMA
http://stockcharts.com/school/doku..../> ing_averages


I obviously know how the calculate EMAs, WMAs etc. etc. , but just
want to ensure that the definitions I will use will be the same as
those used widely by the financial community !

Thx all the same !
jk

2008-03-09, 8:19 am

Yes, those are the "simple" straightforward MA's.

Now, suppose the following.
In a pension scheme they have a rule for increasing allowances of retirees by
either the indices of prices on the one hand or the indices of wages on the
other. It is further stipulated that the highest of either at any moment (1st of
January, or in practice every 1st October of each year in order to be able to
have it effected in January) is applied, one an another in any 10-yearly period
as from each individual retiree's maturity date in the scheme.
Here, it's really flourishing-time for APL, because of the geometric MA's.

(Since e.g. every quarter of a year participants may get retired, you need to
keep track of two times four different indices per year. Plus you have to take
in account the numerous temporary provisions to avoid hardness caused by
changing the rules.
Why do they make the rules so complicated? Pensionfund Boards don't care about
complexity, they only assess and decide what they think is justice for the
participants - and it can even be more complicated,. The actuary & the
(APL-)programmer do the "work" after).


"aleph0" <apl68000@tiscali.co.uk> wrote in message
news:321895fa-364e-4eff-8769-1bb1f360f1a2@h25g2000hsf.googlegroups.com...
> Thanks for the links .. very interesting, and complex !
> I found a good source at Wikipedia (of course) as well as StockCharts.
>
> e.g.
> MACD
> http://stockcharts.com/school/doku....g_average_conve
>
> EMA
> http://stockcharts.com/school/doku..../> ing_averages
>
>
> I obviously know how the calculate EMAs, WMAs etc. etc. , but just
> want to ensure that the definitions I will use will be the same as
> those used widely by the financial community !
>
> Thx all the same !




jk

2008-03-09, 7:03 pm


"jk" <*axy*@planet.nl (remove the asterisks)> wrote in message news:...
> Yes, those are the "simple" straightforward MA's.
>
> Now, suppose the following.
> In a pension scheme they have a rule for increasing allowances of retirees by
> either the indices of prices on the one hand or the indices of wages on the
> other. It is further stipulated that the highest of either at any moment (1st
> of
> January, or in practice every 1st October of each year in order to be able to
> have it effected in January) is applied, one an another in any 10-yearly
> period
> as from each individual retiree's maturity date in the scheme.
> Here, it's really flourishing-time for APL, because of the geometric MA's.
>
> (Since e.g. every quarter of a year participants may get retired, you need to
> keep track of two times four different indices per year. Plus you have to take
> in account the numerous temporary provisions to avoid hardness caused by
> changing the rules.
> Why do they make the rules so complicated? Pensionfund Boards don't care about
> complexity, they only assess and decide what they think is justice for the
> participants - and it can even be more complicated,. The actuary & the
> (APL-)programmer do the "work" after).
>


in other words: the actuary is cleaning the legal sophistry mess and the
(APL-)programmer is cleaning that of the actuary. Then it's been dropped on a
desk nothing can be pushed off.


>
> "aleph0" <apl68000@tiscali.co.uk> wrote in message
> news:321895fa-364e-4eff-8769-1bb1f360f1a2@h25g2000hsf.googlegroups.com...
>
>
>




jk

2008-03-12, 7:58 am


"jk" <*axy*@planet.nl (remove the asterisks)> wrote in message
news:47d3f845$0$25487$ba620dc5@text.nova.planet.nl...[color=darkred]
>
> "jk" <*axy*@planet.nl (remove the asterisks)> wrote in message news:...

and harvest-day at the same time.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com