jeremyis78 / JBookTrader

A Java ATS for market-depth-based trading strategies
BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

Not 1 arg thrown, i have no idea wat that meana #12

Open Scarraluba opened 1 year ago

Scarraluba commented 1 year ago
    if (args.length != 1) {
            throw new RuntimeException("Exactly one argument must be passed, specifying " + APP_NAME + " home directory.");
        }
jeremyis78 commented 3 weeks ago

JBookTrader uses as a "home directory," to write files like reports (e.g. <user-specified-home-dir>/reports/EventReport.htm) among other things. Use whatever directory you want that's writable; see run/JBookTraderJar.sh:line 28 for an example usage of the application that passes the working directory for this argument.