Removed the "masterkey thing"

We will use proxies from RealWorld to GodWorld
This commit is contained in:
2018-12-08 11:11:08 +01:00
parent 137c6af75d
commit 6d24eb67b9
27 changed files with 423 additions and 374 deletions

View File

@ -30,7 +30,7 @@ import java.util.Collections;
import java.util.HashMap;
import java.util.SortedSet;
import java.util.TreeSet;
import opensesim.world.World;
import opensesim.world.RealWorld;
import opensesim.sesim.interfaces.Configurable;
import org.json.JSONObject;
@ -40,7 +40,7 @@ import org.json.JSONObject;
*/
public class Exchange implements Configurable{
private World world;
private RealWorld world;
private String name;
private String symbol;
@ -52,13 +52,13 @@ public class Exchange implements Configurable{
private final HashMap<AssetPair,TradingEnv> asset_pairs = new HashMap<>();
Exchange(World world, String symbol) {
Exchange(RealWorld world, String symbol) {
this.world = world;
this.symbol=symbol;
}
Exchange(World world, JSONObject cfg){
Exchange(RealWorld world, JSONObject cfg){
final int x;
}
@ -77,7 +77,7 @@ public class Exchange implements Configurable{
}
public Order createOrder(Account account, AssetPair pair, Order.Type type, double volume, double limit) {
Order o = new Order(world,account,pair,type,volume,limit);
// Order o = new Order(world,account,pair,type,volume,limit);
return null;
}