JDBC Driver

AWatt

Member
Joined
Jun 10, 2020
Posts
5
Likes
1
Hello,
I am using postgresql for some custom studies.
I have put the postgresql jar file in the Motivewave folder C:\Program Files (x86)\MotiveWave\lib.
I had to change the security permissions for the folder as it was read only.
The studies communicate with the postgresql server without any problems but I think there must be a better and safer way to do this.

Please advise.
 
Are you running the Pro version (or whatever version supports adding custom studies/strategies)?

If so, have you tried placing the PostgreSQL jar(s) in the C:\Users\<login>\MotiveWave Extensions directory? Custom strategy code is placed there (usually in the "dev" subdirectory). I've also generally just dropped 3rd party jars in the MotiveWave lib folder as you've done but as you've mentioned, it's probably not the best/suggested way :).
 
I am using the Ultimate version.
I have been running the postgresql jar from C:\Program Files (x86)\MotiveWave\lib for some time but recently I had some problems with incorrect contract dates and was thinking it could be related.
I believe I initially tried C:\Users\<login>\MotiveWave Extensions directory but it did not work.
I will try it again - it should work.
 
The jar file correct location is in the path C:\Program Files (x86)\MotiveWave\lib. The MotiveWave Extensions directory is for custom studies only. I don't believe incorrect contract dates look has anything to do with the jar location.

cheers
 
Top