Page 1 of 1

The end of Java Applets?

Posted: February 24th, 2018, 11:41 pm
by Collector
So looks like the area of java applets are over, less and less browsers support them I think? Some of my java applet option calculators where running for about 20 years, until very recently without any maintenance, that is rather robust I must say, but looked horrible old fashioned in the end. When I built them I expected them to max last about 2 years.

so what is the new tools to make online option calculators now?  

Java script was not good back then and not now?

google sheets?

Can python be used online? like a java applet or so?

Re: The end of Java Applets?

Posted: February 25th, 2018, 10:00 am
by tagoma
Depending on the exact requirements of your project, you can maybe have a look at:
-  python web frameworks such as django (advanced web application) and Flask (lighter web applications)
- plotly's dash which is based on Flask, React, D3JS, etc... (but watch out licensing).  See this volatility surface explorer example.

Re: The end of Java Applets?

Posted: February 25th, 2018, 10:41 am
by outrun
I would go for JavaScript since it runs in your browser and not at a server, which makes is more timeless (where did the server go?). It even has gpu options.

But don't use JavaScript framework if you don't need them, they are extremely short-lived. I'm a huge fan of react but a option calculator won't need that, and then it becomes a potential needless counterparty in the deal that might default at some point. :-)

Re: The end of Java Applets?

Posted: February 25th, 2018, 12:01 pm
by outrun
..an other option is to write formula's in a formal language like openmath or mathml, and then have scripts that convert them to *any* programming language automatically?

Re: The end of Java Applets?

Posted: February 25th, 2018, 2:28 pm
by tagoma
But don't use JavaScript framework if you don't need them, they are extremely short-lived.
I hear you know a lot about web apps
Always funny!

Re: The end of Java Applets?

Posted: February 25th, 2018, 4:19 pm
by Collector
I would go for JavaScript since it runs in your browser and not at a server, which makes is more timeless (where did the server go?). It even has gpu options.

But don't use JavaScript framework if you don't need them, they are extremely short-lived. I'm a huge fan of react but a option calculator won't need that, and then it becomes a potential needless counterparty in the deal that might default at some point. :-)
any experience/views on the Javascript Obfuscator  (for prop models) ?

Re: The end of Java Applets?

Posted: February 25th, 2018, 8:28 pm
by outrun
But don't use JavaScript framework if you don't need them, they are extremely short-lived.
I hear you know a lot about web apps
Always funny!
Hahaha, so funny!

Re: The end of Java Applets?

Posted: February 25th, 2018, 9:50 pm
by outrun
I would go for JavaScript since it runs in your browser and not at a server, which makes is more timeless (where did the server go?). It even has gpu options.

But don't use JavaScript framework if you don't need them, they are extremely short-lived. I'm a huge fan of react but a option calculator won't need that, and then it becomes a potential needless counterparty in the deal that might default at some point. :-)
any experience/views on the Javascript Obfuscator  (for prop models) ?
An obfuscator won't prevent anyone copying usable code, no? If you want to keep thing private then you'd have to keep it on the server: send parameter values from the browser to the server and get prices & greeks back from the server. On the server Flask  (python on a webserver) would be good like tagoma said,.. or node.js (javascript on the server), .. or php. 
But I'd think you'd have more (indirect) success if you would release a open source codebase?

Re: The end of Java Applets?

Posted: February 26th, 2018, 9:34 am
by Cuchulainn
I would go for JavaScript since it runs in your browser and not at a server, which makes is more timeless (where did the server go?). It even has gpu options.

But don't use JavaScript framework if you don't need them, they are extremely short-lived. I'm a huge fan of react but a option calculator won't need that, and then it becomes a potential needless counterparty in the deal that might default at some point. :-)
any experience/views on the Javascript Obfuscator  (for prop models) ?
What's the rationale?

Re: The end of Java Applets?

Posted: February 26th, 2018, 12:20 pm
by Collector
I would go for JavaScript since it runs in your browser and not at a server, which makes is more timeless (where did the server go?). It even has gpu options.

But don't use JavaScript framework if you don't need them, they are extremely short-lived. I'm a huge fan of react but a option calculator won't need that, and then it becomes a potential needless counterparty in the deal that might default at some point. :-)
any experience/views on the Javascript Obfuscator  (for prop models) ?
What's the rationale?
for not having open source you mean?  I would think quite some arguments for and against...