Now woth candle sticks

This commit is contained in:
7u83
2017-01-22 07:03:16 +01:00
parent ba557179c7
commit a5ebd72c76
10 changed files with 319 additions and 230 deletions

View File

@ -46,7 +46,7 @@ public class RandomTrader extends AutoTrader {
sesim.Exchange.Account a = se.getAccount(account_id);
long rc = this.doTrade();
return rc / 600;
return rc ;
}
@ -66,7 +66,7 @@ public class RandomTrader extends AutoTrader {
public long timerTask() {
sesim.Exchange.Account a = se.getAccount(account_id);
long rc = this.doTrade();
return rc / 28;
return rc / 80;
// return this.event();
}

View File

@ -36,13 +36,13 @@ import sesim.Exchange;
public class RandomTraderConfig extends AutoTraderConfig {
public float[] sell_volume = {100, 100};
public float[] sell_limit = {-3, 3};
public int[] sell_order_wait = {500, 1500};
public float[] sell_limit = {-1.5f, 1.5f};
public int[] sell_order_wait = {1000, 5000};
public int[] wait_after_sell = {10, 30};
public float[] buy_volume = {100, 100};
public float[] buy_limit = {-1, 3};
public int[] buy_order_wait = {500, 1500};
public float[] buy_limit = {-1.0f, 1.5f};
public int[] buy_order_wait = {1000, 5000};
public int[] wait_after_buy = {10, 30};
@Override