is it possible to add external jars?
5 replies
ekal ilek
7 years ago #250508
Hi there,
I am implementing my own indicator and I would like to use the external talib java jar. I implemented the indicator and it gives no error when compiling it. However, when I go to “AlgoWizard” and “Run a quick backtest” it gives me the following error: “NoClassDefFoundError”.
So, at this point, I was wondering if it’s possible to import external jars. Is it possible? how is it possible to do that?
Thanks!
0
eastpeace
7 years ago #250512
I would like to see that SQ could support this!
But how to convert the external indicators to MT4/TS/MC’s?
0
ekal ilek
7 years ago #250515
Ok so correct me if I’m wrong but it¡s not possible nowadays, right?
0
Tomas Matejka
7 years ago #250516
Hello,
currently the only way is to add a new code snippets like shown in the tutorials here https://strategyquant.com/codebase
Have you checked that?
0
ekal ilek
6 years ago #250724
Hi, tomas262:
I checked that. The thing is that I am not interested in implementing my own indicator. What I want to do is use an external jar library where there are already implemented a bunch o indicators.
As far as I have been able to discover, it seems it is not possible to use any external jar.
Thanks
0
Mark Fric
6 years ago #250748
unfortunately it is not that simple. The mode we use for computing indicators doesn’t allow for simple calling libraries like talib.
Our indicator snippets are called on every bar update, while talib uses model that calls one function that computes values on whole data, it is a different approach.
We ‘d have to add a special support for that, and I don’t think this is our priority at the moment.
Mark
StrategyQuant architect
0
Viewing 5 replies - 1 through 5 (of 5 total)