http3 version that i use is 4.9.2(it in pom)
java version - 8
binance-connector-java - 1.2
public String orderCreate(String currency, double price){
parameters.clear();
parameters.put("symbol",currency);
parameters.put("side", "BUY");
parameters.put("type", "LIMIT");
//parameters.put("timeInForce", "GTC");
//parameters.put("quantity", 0.01);
parameters.put("price", new BigDecimal(price));
String result = client.createTrade().testNewOrder(parameters);
//String result = client.createTrade().newOrder(parameters);
System.out.println(result);
return result;
}
This error i think only in POST methods like newOrder or testNewOrder
GET work - ok
Maybe someone has java code - that can create orders in binance ?
Please post it here - need urgent.