Skip to content
Numerical Method , home
Menu

Forum Programming Java

can not install AlgoQuant-1.1.0

  1. mlvtseParticipant 2015-09-20 at 10:58 am

    Hi,

    I’m on Dr. Li’s course at UST. Able to download the .zip file near the bottom of http://numericalmethod.com/algoquant/ However, I could not find the .exe to install algoquant, any suggestion please. The question is what do I do straight after I downloaded algoquant-1.1.0.zip?

    Thanks,

    Vincent Tse

  2. RyuParticipant 2015-09-20 at 12:24 pm

    There is no .exe installer. It comes with source code. All you just need to do is to open the project in Netbeans. See the setup guild for help: http://numericalmethod.com/up/algoquant/setup/

  3. mlvtseParticipant 2015-09-20 at 1:25 pm

    I see. Thank you.

  4. mlvtseParticipant 2015-09-23 at 3:03 am

    after uncomment line 31: did clean and build again, I get this at the end?

    ———————————————————————— Reactor Summary:

    algoquant ………………………………….. SUCCESS [4.878s] algoquant-maven-plugin ………………………. SUCCESS [28.506s] algoquant-core ……………………………… FAILURE [33:02.063s] ———————————————————————— BUILD FAILURE ———————————————————————— Total time: 33:35.796s Finished at: Wed Sep 23 10:35:20 CST 2015 Final Memory: 47M/775M ———————————————————————— Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.9:copy-dependencies (copy-dependencies) on project algoquant-core: Execution copy-dependencies of goal org.apache.maven.plugins:maven-dependency-plugin:2.9:copy-dependencies failed: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.9 or one of its dependencies could not be resolved: Could not transfer artifact org.apache.maven.doxia:doxia-decoration-model:jar:1.4 from/to central (http://repo.maven.apache.org/maven2): GET request of: org/apache/maven/doxia/doxia-decoration-model/1.4/doxia-decoration-model-1.4.jar from central failed: Read timed out -> [Help 1]

    To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging.

    For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

    After correcting the problems, you can resume the build with the command mvn -rf :algoquant-core

  5. Ken YiuParticipant 2015-09-23 at 5:33 am

    It looks like that the error was due to unstable Internet connection. Could you please try building the project again?

    Please let me know if the problem persists.

  6. mlvtseParticipant 2015-09-24 at 8:52 am

    YES ran it again, and it built, thanks. However it was ran without Tests. If I build it again with tests, can’t seems to download certain things from Yahoo Finance again.

    Is this normal?

    For the yahoo link you suggested, I am able to connect and download a ‘quotes.csv’ file.

    Results :

    Tests in error: YahooEODCsvZipFileWriterTest.test_0010:51 ? Creation unable to download Yahoo!… YahooEODWebDownloaderTest.test_0010:49 ? Creation unable to download Yahoo! da… YahooEODWebDownloaderTest.test_0020:67 ? Creation unable to download Yahoo! da… YahooEODWebDownloaderTest.test_getCache_0010:84 ? Creation unable to download …

    Tests run: 531, Failures: 0, Errors: 4, Skipped: 0

    ———————————————————————— Reactor Summary:

    algoquant ………………………………….. SUCCESS [1.245s] algoquant-maven-plugin ………………………. SUCCESS [45.960s] algoquant-core ……………………………… FAILURE [2:20.520s] ———————————————————————— BUILD FAILURE ———————————————————————— Total time: 3:07.942s Finished at: Thu Sep 24 16:38:08 CST 2015 Final Memory: 54M/714M ———————————————————————— Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on project algoquant-core: There are test failures.

    Please refer to C:\Users\Vincent\Desktop\algoquant-1.1.0\core\target\surefire-reports for the individual test results. -> [Help 1]

    To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging.

    For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

    After correcting the problems, you can resume the build with the command mvn -rf :algoquant-core

  7. Ken YiuParticipant 2015-09-24 at 9:55 am

    It’s normal to see some tests failing when Yahoo’s service is down.

    If you go to Yahoo Finance website, e.g., http://finance.yahoo.com/q/hp?s=0001.HK+Historical+Prices

    You will find that you cannot download the prices to a spreadsheet. So, don’t worry, you may try it again later. But this doesn’t stop you from coding with AlgoQuant, your installation of AlgoQuant is good to use now.