Trader creator using JSON

This commit is contained in:
2018-12-12 19:58:10 +01:00
parent 4011aa4846
commit 9008eed00b
6 changed files with 31 additions and 12 deletions

View File

@ -594,7 +594,10 @@ public class SeSimApplication extends javax.swing.JFrame {
GodWorld world = new GodWorld(Globals.getWorld());
JSONObject cfg = new JSONObject("{"
+ "strategy: opensesim.trader.SimpleTrader"
+ "}");
world.createTrader(cfg);