How do I switch ledgers?

In order to open a different ledger, you need to start TradeTrax with a different URL. The path component in the URL is used as the path to the ledger. If the ledger in question does not yet exist, it will automatically be created. To change the URL, TradeTrax binds to, you need to specify the app.address property when starting the application, e.g. from the commandline via:

java -Dapp.address=http://localhost:9090/new_ledger tradetrax.jar

Note: this way you may also change the port, tradetrax is listening on as well as make the ledger nework accessible (not recommended since TradeTrax does not provide access control).